Re: Python 3.4 StandardError problem

Vladimir Prus <[email protected]>
Newsgroups gmane.text.docutils.user
Message-ID <[email protected]>
Hi Günter,

On 6/3/2015 3:31 PM, Guenter Milde wrote:
>> NameError: name 'StandardError' is not defined
>
> It looks like you are trying to use the Python 2 version with Python 3.
>
> The Py3 code has
>
>    class ApplicationError(Exception):
>
> on line 68 of docutils/__init__.py
>

Yep, you're right.

>> Is there anything I'm doing wrong, or shall I use earlier version of
>> Python, or is it possible to fix this problem?
>
> To use Docutils with Python 3, you need to install it:
>
> * unpack and call setup.py with a py3 version, or

This worked for me. Thanks for catching my mistake!

- Volodya



------------------------------------------------------------------------------
_______________________________________________
Docutils-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/docutils-users

Please use "Reply All" to reply to the list.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.