Issue #1080 resolved

Can't make documentation on Python 3.3

Anonymous created an issue
# Sphinx version: 1.1.3
# Python version: 3.3.0
# Docutils version: 0.10 release
# Jinja2 version: 2.6
Traceback (most recent call last):
  File "/Users/dsx/Documents/Projects/Tata/Ananke/lib/python3.3/site-packages/sphinx/", line 189, in main, filenames)
  File "/Users/dsx/Documents/Projects/Tata/Ananke/lib/python3.3/site-packages/sphinx/", line 204, in build
  File "/Users/dsx/Documents/Projects/Tata/Ananke/lib/python3.3/site-packages/sphinx/builders/", line 196, in build_update
    'out of date' % len(to_build))
  File "/Users/dsx/Documents/Projects/Tata/Ananke/lib/python3.3/site-packages/sphinx/builders/", line 252, in build
    self.write(docnames, list(updated_docnames), method)
  File "/Users/dsx/Documents/Projects/Tata/Ananke/lib/python3.3/site-packages/sphinx/builders/", line 291, in write
    doctree = self.env.get_and_resolve_doctree(docname, self)
  File "/Users/dsx/Documents/Projects/Tata/Ananke/lib/python3.3/site-packages/sphinx/", line 1230, in get_and_resolve_doctree
    doctree = self.get_doctree(docname)
  File "/Users/dsx/Documents/Projects/Tata/Ananke/lib/python3.3/site-packages/sphinx/", line 1215, in get_doctree
    doctree = pickle.load(f)
AttributeError: 'str' object has no attribute '__dict__'

Comments (3)

  1. Georg Brandl repo owner

    You'll have to do a clean build (e.g. "make clean html") when switching between Python versions used with Sphinx.

    This is a known issue and will be fixed in the next version.

  2. Log in to comment