I think this is a problem with the python-sphinx package in arch (being Python 3;) which doesn't work (in my experience with some domains and extensions.
Arch provides a python2-sphinx package in the "community" repository. Install that, remove "python-sphinx" and create a symlink in your path linking sphinx-build to /usr/bin/sphinx-build2... Cheers, sam On Tue, Mar 27, 2012 at 02:38:36AM -0700, axil wrote: > On archlinux when trying to build html I get the following: > > -------------------------------------------------------------------------------------------------------- > make html > sphinx-build -b html -d _build/doctrees . _build/html > Running Sphinx v1.1.3 > loading pickled environment... done > building [html]: targets for 7 source files that are out of date > updating environment: 0 added, 0 changed, 0 removed > looking for now-outdated files... none found > preparing documents... done > writing output... [ 14%] > README > Exception occurred: > File "/usr/lib/python3.2/site-packages/sphinx/environment.py", line > 1215, in get_doctree > doctree = pickle.load(f) > AttributeError: 'str' object has no attribute '__dict__' > The full traceback has been saved in /tmp/sphinx-err-ev_62p.log, if > you want to report the issue to the developers. > Please also report this if it was a user error, so that a better error > message can be provided next time. > Either send bugs to the mailing list at <http://groups.google.com/ > group/sphinx-dev/>, > or report them in the tracker at <http://bitbucket.org/birkenfeld/ > sphinx/issues/>. Thanks! > make: *** [html] Error 1 > -------------------------------------------------------------------------------------------------------- > > And the output of the error log is: > > -------------------------------------------------------------------------------------------------------- > # Sphinx version: 1.1.3 > # Python version: 3.2.2 > # Docutils version: 0.8.1 release > # Jinja2 version: 2.6 > Traceback (most recent call last): > File "/usr/lib/python3.2/site-packages/sphinx/cmdline.py", line 189, > in main > app.build(force_all, filenames) > File "/usr/lib/python3.2/site-packages/sphinx/application.py", line > 204, in build > self.builder.build_update() > File "/usr/lib/python3.2/site-packages/sphinx/builders/__init__.py", > line 196, in build_update > 'out of date' % len(to_build)) > File "/usr/lib/python3.2/site-packages/sphinx/builders/__init__.py", > line 252, in build > self.write(docnames, list(updated_docnames), method) > File "/usr/lib/python3.2/site-packages/sphinx/builders/__init__.py", > line 291, in write > doctree = self.env.get_and_resolve_doctree(docname, self) > File "/usr/lib/python3.2/site-packages/sphinx/environment.py", line > 1230, in get_and_resolve_doctree > doctree = self.get_doctree(docname) > File "/usr/lib/python3.2/site-packages/sphinx/environment.py", line > 1215, in get_doctree > doctree = pickle.load(f) > AttributeError: 'str' object has no attribute '__dict__' > -------------------------------------------------------------------------------------------------------- > > Is this a packaging problem or an upstream one? > Thanks! > > -- > You received this message because you are subscribed to the Google Groups > "sphinx-dev" group. > To post to this group, send email to sphinx-dev@googlegroups.com. > To unsubscribe from this group, send email to > sphinx-dev+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/sphinx-dev?hl=en. > -- Sam Kleinman (tychoish): - ga...@tychoish.com - tychoish <http://tychoish.com/> "don't get it right, get it written" -- james thurber
pgpF6oC1espJz.pgp
Description: PGP signature