Message7833

Author dchrome
Recipients amak, dchrome, fwierzbicki
Date 2013-02-27.11:19:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1361963965.33.0.83459556956.issue2014@psf.upfronthosting.co.za>
In-reply-to
Content
Sorry for not being clear enough (late hours I guess).

I was using Sphinx (Python Doc Generator) with Jython 2.5.3 and everything worked for me. But when I switched to Jython 2.7b1 my doc builds started to fail.

The problem is that the same exception is raised with different error numbers.

Jython 2.5 raises the following exception:
OSError: [Errno 17] File exists: ...
This exception is caught by Sphinx and err.errno is checked. Errno 0 & 17 are ignored.

But Jython 2.7 raises:
OSError: [Errno 20047] Unknown error: 20047: ...
which causes Sphinx to reraise the exception and ultimately to fail.
History
Date User Action Args
2013-02-27 11:19:25dchromesetmessageid: <1361963965.33.0.83459556956.issue2014@psf.upfronthosting.co.za>
2013-02-27 11:19:25dchromesetrecipients: + dchrome, fwierzbicki, amak
2013-02-27 11:19:25dchromelinkissue2014 messages
2013-02-27 11:19:25dchromecreate