From: Tim D. <tu...@tu...> - 2013-03-18 14:59:56
|
On 03/18/2013 04:30 AM, Guenter Milde wrote: <SNIP> > Thanks for the report. As already said, it is difficult to find the reason > without further info. I have some guesses, though: > > * A common problem (and a nightmare for parallel Py2x and Py3x development) > are the encoding issues. It may well be that Cygwin adds to them in a way > that cannot be tested otherwhere. This seems likely. See below. > > The biggest problem was encoding errors preventing sensible error messages > --- errors when reporting an error. I thought to have them solved but > maybe some resurfaces in your case. > > If you run one of the aborting commands from the command line and add the > --traceback command line option, do you get a traceback? There is no traceback output. All I see is the aforementioned "Aborted" message at the end of the run even though rst2* has done its job. This is starting to look more and more like a Python-on-Cygwin problem not a docutils problem. I think docutils may just have exposed the issue. > > If yes, this would be an immense help, if no, the actuall error message > would still be valuable info. > > * It may be that Cygwin uses a newer Python version than your alternatives. > There are several bugreports regarding Python beta versions that are not > handled yet because > > + we cannot reproduce them with the stable Python release (here on > Debian/testing). > + some seem to be rather Python bugs than Docutils bugs and we prefer to > concentrate our scare recourses on the problems with stable releases. > (patches that anticipate problems with upcoming changes are welcome, > of course). I have tested this on Python 2.7.3 on both Cygwin (failed) and FreeBSD 9-STABLE (successful). I cannot test on Python 3.2.3 because when I attempt to install docutils under Cygwin's Python 3 implementation, I see this: byte-compiling /usr/lib/python3.2/site-packages/docutils/writers/xetex/__init__.py to __init__.cpython-32.pyc File "/usr/lib/python3.2/site-packages/docutils/writers/xetex/__init__.py", line 117 self.literal_double_quote = u'"' # TODO: use \textquotedbl ^ SyntaxError: invalid syntax byte-compiling /usr/lib/python3.2/site-packages/docutils/writers/__init__.py to __init__.cpython-32.pyc byte-compiling /usr/lib/python3.2/site-packages/docutils/_compat.py to _compat.cpython-32.pyc byte-compiling /usr/lib/python3.2/site-packages/docutils/__init__.py to __init__.cpython-32.pyc File "/usr/lib/python3.2/site-packages/docutils/__init__.py", line 75 return u', '.join(self.args) ^ SyntaxError: invalid syntax > > Could your try whether using an older Python version solves the problem? > Could you try with Python 3? > > Thanks, > > Günter > > ----------------------------------------------------------------------- Tim Daneliuk |