Giter Site home page Giter Site logo

Comments (3)

frabcus avatar frabcus commented on September 28, 2024

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.

robinhouston avatar robinhouston commented on September 28, 2024

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/52

Reply to this email directly or view it on GitHub:
https://github.com/sebbacon/alaveteli/issues/52#issuecomment-1408120

from alaveteli.

frabcus avatar frabcus commented on September 28, 2024

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,
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/52

Reply to this email directly or view it on GitHub:
https://github.com/sebbacon/alaveteli/issues/52#issuecomment-1408120

Reply to this email directly or view it on GitHub:
https://github.com/sebbacon/alaveteli/issues/52#issuecomment-1408920

from alaveteli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.