abakan-zz / ablog

ABlog for blogging with Sphinx
ablog.readthedocs.org
Other
122 stars 35 forks source link

ImportError: cannot import name dummy_reporter #97

Open fraoustin opened 6 years ago

fraoustin commented 6 years ago

when run ablog, i have

fraoustin@debian:~/ablog$ ablog build Traceback (most recent call last): File "/usr/local/bin/ablog", line 7, in from ablog.commands import ablog_main File "/usr/local/lib/python2.7/dist-packages/ablog/init.py", line 5, in from .blog import Blog, CONFIG File "/usr/local/lib/python2.7/dist-packages/ablog/blog.py", line 21, in from sphinx.environment import dummy_reporter ImportError: cannot import name dummy_reporter

ablog version 0.8.4 sphinx 1.7.0

nabobalis commented 6 years ago

There is currently several issues with Ablog and the lastest release of Sphinx. Hopefully I will get a new release soon.

emacsway commented 6 years ago

:+1:

fraoustin commented 6 years ago

ok it's work with sphinx version 1.5.2, In your setup.py it's necessary to identify this version install_requires=['Werkzeug', 'Sphinx==1.5.2', 'alabaster', 'invoke', 'python-dateutil'] thank you

nabobalis commented 6 years ago

A new version of Ablog (v0.9.0) is out at this repo.

This issue should be fixed now but we made it explicitly support Sphinx>=1.6.