abakan-zz / ablog

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

sphing/environment AttributeError: 'dict' object has not attribute 'env' #91

Open yarko opened 7 years ago

yarko commented 7 years ago

This is from the repository, with latest sphinx-doc, installed in a venv. I'm logging here just to record it.

I'm on Ubuntu 16.04, using python 3.6.2rc1;

The first problem I had was #78 so I resurrected to commit referenced in that issue (with the minor change of moving from docutils.parsers.rst import directives before the needed modification for handling the make_admonition import appropriately.

The venv:

-e git+git@github.com:abakan/ablog.git@7fb9fcb1bc9651ef5daffbb76a7ed11f3bbe6cd3#egg=ablog
alabaster==0.7.10
Babel==2.4.0
certifi==2017.4.17
chardet==3.0.4
docutils==0.13.1
idna==2.5
imagesize==0.7.1
invoke==0.19.0
Jinja2==2.9.6
MarkupSafe==1.0
Pygments==2.2.0
python-dateutil==2.6.0
pytz==2017.2
requests==2.18.1
six==1.10.0
snowballstemmer==1.2.1
Sphinx==1.6.2
sphinxcontrib-websupport==1.0.1
urllib3==1.21.1
Werkzeug==0.12.2

After an ablog start, the attached log is result from ablog build.

sphinx-err-d0oujhot.log.txt

nabobalis commented 7 years ago

See #89 for a hack around for this problem.

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.