Comments (3)
I didn't do this originally, because I couldn't distinguish errors we
didn't care about from errors we did. And sometimes it does reveal
errors we do care about. Trade off up to you, of course!
Also, worth upgrading to the latest PDF conversion library, I think
it will reduce the number of errors. (My tests last time I did it,
about a year ago, showed it also improved quality of text
conversion)
On Mon, Jun 20, 2011 at 02:29:38AM -0700, robinhouston wrote:
The update-xapian-index job spits out a variety of error messages that seem to be related to the processing of attachments, specifically PDF files. There is nothing we can do about these, since we don’t control the PDF files, so there should at least be an option to suppress such messages when the thing is run from cron.
Reply to this email directly or view it on GitHub:
https://github.com/sebbacon/alaveteli/issues/52
from alaveteli.
Hi Francis,
Good to hear from you! I trust scraperwiki is leaping from height to greater height like a nimble stag.
I don't know if you've looked at the change I committed last night, but it attempts to distinguish errors (which are shown) from warnings (which are suppressed) by looking at the exit code of the process. If the exit code is 0, then everything the process printed to stderr is discarded; if it it's non-zero they are printed to our own stderr.
Or do you mean that information we care about is sometimes printed to stderr even if the process returns successfully? If that is what you mean, can you remember any examples?
Thanks for the tip about upgrading the PDF conversion library.
Cheers,
Robin
On 21 Jun 2011, at 06:36, [email protected] wrote:
I didn't do this originally, because I couldn't distinguish errors we
didn't care about from errors we did. And sometimes it does reveal
errors we do care about. Trade off up to you, of course!Also, worth upgrading to the latest PDF conversion library, I think
it will reduce the number of errors. (My tests last time I did it,
about a year ago, showed it also improved quality of text
conversion)On Mon, Jun 20, 2011 at 02:29:38AM -0700, robinhouston wrote:
The update-xapian-index job spits out a variety of error messages that seem to be related to the processing of attachments, specifically PDF files. There is nothing we can do about these, since we don’t control the PDF files, so there should at least be an option to suppress such messages when the thing is run from cron.
Reply to this email directly or view it on GitHub:
https://github.com/sebbacon/alaveteli/issues/52Reply to this email directly or view it on GitHub:
https://github.com/sebbacon/alaveteli/issues/52#issuecomment-1408120
from alaveteli.
Oh that's a good idea!
I don't think I ever tried doing that, so you're way ahead of me now.
Francis
On Tue, Jun 21, 2011 at 02:04:49AM -0700, robinhouston wrote:
Hi Francis,
Good to hear from you! I trust scraperwiki is leaping from height to greater height like a nimble stag.
I don't know if you've looked at the change I committed last night, but it attempts to distinguish errors (which are shown) from warnings (which are suppressed) by looking at the exit code of the process. If the exit code is 0, then everything the process printed to stderr is discarded; if it it's non-zero they are printed to our own stderr.
Or do you mean that information we care about is sometimes printed to stderr even if the process returns successfully? If that is what you mean, can you remember any examples?
Thanks for the tip about upgrading the PDF conversion library.
Cheers,
RobinOn 21 Jun 2011, at 06:36, [email protected] wrote:
I didn't do this originally, because I couldn't distinguish errors we
didn't care about from errors we did. And sometimes it does reveal
errors we do care about. Trade off up to you, of course!Also, worth upgrading to the latest PDF conversion library, I think
it will reduce the number of errors. (My tests last time I did it,
about a year ago, showed it also improved quality of text
conversion)On Mon, Jun 20, 2011 at 02:29:38AM -0700, robinhouston wrote:
The update-xapian-index job spits out a variety of error messages that seem to be related to the processing of attachments, specifically PDF files. There is nothing we can do about these, since we don’t control the PDF files, so there should at least be an option to suppress such messages when the thing is run from cron.
Reply to this email directly or view it on GitHub:
https://github.com/sebbacon/alaveteli/issues/52Reply to this email directly or view it on GitHub:
https://github.com/sebbacon/alaveteli/issues/52#issuecomment-1408120Reply to this email directly or view it on GitHub:
https://github.com/sebbacon/alaveteli/issues/52#issuecomment-1408920
from alaveteli.
Related Issues (20)
- Add option to projects to allow users to classify and extract at the same time
- Projects: Suggestions HOT 1
- Display attachment previews with extraction form for improved workflow when using projects
- [ERROR] Could not determine which URL to request: Stripe::Charge instance has invalid ID: nil HOT 1
- Attempting to add a profile photo sometimes causes users to be logged out HOT 1
- Batch dashboard arrow icon clipped HOT 2
- Hover over to help categorise batch requests from dashboard
- Enable users to customise which columns to publish when publishing a projects dataset
- Add admin pages for projects
- Add link to TICTeC Knowledge Hub in admin footer
- Improve the use previous comment button
- request#show: incompatible character encodings: ASCII-8BIT and UTF-8
- Update alaveteli.org with links to TICTeC CoP / Knowledge base
- Add citations guidance to `/help/pro`
- Ability to remove public bodies from search index
- Add generic `not_requestable` special tag
- Make the batch request pages display requests more like in the user dashboard view
- Memory leak viewing all events in admin timeline
- Allow more interactivity with requests
- Resend events on requests to not display associated admin user
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alaveteli.