[Slackbuilds-users] docutils slackbuild
MyRequiem
mrvladislavovich at gmail.com
Tue Jun 25 16:03:16 UTC 2019
Re: SlackBuilds-users 25.06.2019 <05c5973d-c43e-55d3-9f47-ac63aa8af990 at googlemail.com>
>since docutils and python3-docutils have been combined I am getting an error
>running a python3 program needing docutils
>the error is
>File "/usr/lib64/python3.7/site-packages/docutils/__init__.py", line 112, in
><module>
> class ApplicationError(StandardError):
>NameError: name 'StandardError' is not defined
>
>Apparently StandardError was dropped in python3. is there a workaround/fix
>for this to get it to work?.
>Thanks.
>Tim
>_______________________________________________
>SlackBuilds-users mailing list
>SlackBuilds-users at slackbuilds.org
>https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
>Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
>FAQ - https://slackbuilds.org/faq/
>
Hi, Christoph Willing fixed it. You need to change docutils.SlackBuild and
rebuild docutils
docutils.SlackBuild
---------------------------------------
python setup.py install --root=$PKG
2to3 --write --no-diffs docutils
python3 setup.py install --root=$PKG
---------------------------------------
https://lists.slackbuilds.org/pipermail/slackbuilds-users/2019-June/023016.html
https://lists.slackbuilds.org/pipermail/slackbuilds-users/2019-June/023017.html
More information about the SlackBuilds-users
mailing list