Vladimir Prus
2015-06-02 06:48:20 UTC
Hi,
I'm trying to use docutils on Windows, with Python 3.4, and I get an error like this:
Traceback (most recent call last):
File "C:/Users/Vladimir/Local/docutils-0.12/tools/rst2html.py", line 17, in <module>
from docutils.core import publish_cmdline, default_description
File "C:\Users\Vladimir\Local\docutils-0.12\docutils\__init__.py", line 68, in <module>
class ApplicationError(StandardError):
NameError: name 'StandardError' is not defined
The command line is nothing interesting:
"C:\Python34\python" "C:/Users/Vladimir/Local/docutils-0.12/tools/rst2html.py" --link-stylesheet
--traceback --trim-footnote-reference-space --footnote-references=superscript --stylesheet=../../rst.css
unix-variants.rst ..\..\bin.v2\more\getting_started\msvc-12.0\debug\threading-multi\unix-variants.html
I have tried both 0.12 release and the latest snapshot as of today, whose RELEASE-NOTES.txt say:
:Date: $Date: 2015-03-15 17:16:30 +0000 (Sun, 15 Mar 2015) $
:Revision: $Revision: 7837 $
Is there anything I'm doing wrong, or shall I use earlier version of Python, or is it possible
to fix this problem?
Thanks in advance,
Volodya
I'm trying to use docutils on Windows, with Python 3.4, and I get an error like this:
Traceback (most recent call last):
File "C:/Users/Vladimir/Local/docutils-0.12/tools/rst2html.py", line 17, in <module>
from docutils.core import publish_cmdline, default_description
File "C:\Users\Vladimir\Local\docutils-0.12\docutils\__init__.py", line 68, in <module>
class ApplicationError(StandardError):
NameError: name 'StandardError' is not defined
The command line is nothing interesting:
"C:\Python34\python" "C:/Users/Vladimir/Local/docutils-0.12/tools/rst2html.py" --link-stylesheet
--traceback --trim-footnote-reference-space --footnote-references=superscript --stylesheet=../../rst.css
unix-variants.rst ..\..\bin.v2\more\getting_started\msvc-12.0\debug\threading-multi\unix-variants.html
I have tried both 0.12 release and the latest snapshot as of today, whose RELEASE-NOTES.txt say:
:Date: $Date: 2015-03-15 17:16:30 +0000 (Sun, 15 Mar 2015) $
:Revision: $Revision: 7837 $
Is there anything I'm doing wrong, or shall I use earlier version of Python, or is it possible
to fix this problem?
Thanks in advance,
Volodya