Comments (6)
Thank you. Switching to Python 3 on RTD fixed the issue.
from zopetoolkit.
Running Sphinx v1.7.9
loading translations [en]... done
Traceback (most recent call last):
File "/home/docs/checkouts/readthedocs.org/user_builds/zopetoolkit/envs/latest/local/lib/python2.7/site-packages/sphinx/cmdline.py", line 303, in main
args.warningiserror, args.tags, args.verbosity, args.jobs)
File "/home/docs/checkouts/readthedocs.org/user_builds/zopetoolkit/envs/latest/local/lib/python2.7/site-packages/sphinx/application.py", line 191, in __init__
self.setup_extension(extension)
File "/home/docs/checkouts/readthedocs.org/user_builds/zopetoolkit/envs/latest/local/lib/python2.7/site-packages/sphinx/application.py", line 411, in setup_extension
self.registry.load_extension(self, extname)
File "/home/docs/checkouts/readthedocs.org/user_builds/zopetoolkit/envs/latest/local/lib/python2.7/site-packages/sphinx/registry.py", line 318, in load_extension
raise ExtensionError(__('Could not import extension %s') % extname, err)
ExtensionError: Could not import extension ztksphinx (exception: cannot import name Directive)
Extension error:
Could not import extension ztksphinx (exception: cannot import name Directive)
from zopetoolkit.
This is line 2 of zopetoolkit/docs/ztksphinx.py:
from docutils.parsers.rst import Directive
And since line 1 is from docutils import nodes
and it didn't fail, we have to assume docutils is installed in the virtualenv.
The readthedocs log shows a pip install docutils==0.13.1
, and https://sourceforge.net/p/docutils/code/HEAD/tree/tags/docutils-0.13.1/docutils/parsers/rst/__init__.py shows that Directive
is defined in that module in that version, so I'm stumped.
from zopetoolkit.
Locally I was able to create the documentation by reproducing the steps done by RTD. That's strange.
from zopetoolkit.
@tseaver Could you please add me (icemac
) as developer to https://readthedocs.org/projects/zopetoolkit/ to further investigate the problem?
from zopetoolkit.
@icemac Done.
from zopetoolkit.
Related Issues (12)
- Travis CI failing HOT 1
- Use buildout inside tox and Travis-CI HOT 3
- Drop buildout from ZTK packages HOT 5
- PyPy3 compatibility HOT 1
- Fix test failures on Python 3.7 HOT 1
- build for Python 3.8 is broken HOT 12
- Tests fail for Python 3.8, pypy and pypy3 HOT 4
- Update zope.interface to 5.1
- 'package-docs' bulidout part fails on Windows HOT 1
- tox is broken: couldn't open ...buildout.cfg HOT 3
- Python 3.6 compatibility HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zopetoolkit.