Issues

Issue #919 resolved

build failure wiith python3;'str' object has no attribute '__dict__'

idella5
created an issue

Attempting to build package dev-python/cvxopt.

archtester sphinx # USE=doc emerge =dev-python/cvxopt-1.1.5 yields


make -j5 -C /mnt/gen2/TmpDir/portage/dev-python/cvxopt-1.1.5/work/cvxopt-1.1.5/doc -B html make: Entering directory `/mnt/gen2/TmpDir/portage/dev-python/cvxopt-1.1.5/work/cvxopt-1.1.5/doc' mkdir -p build/html build/doctrees sphinx-build -b html -d build/doctrees source build/html Running Sphinx v1.1.3 loading pickled environment... done building [html]: targets for 13 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... [ 7%] blas
Exception occurred: File "/usr/lib64/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 /mnt/gen2/TmpDir/portage/dev-python/cvxopt-1.1.5/temp/sphinx-err-57u_b5.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!

(Gentoo has only added python3 support to the sphinx ebuild in the last month)

Comments (3)

  1. idella5 reporter

    cancel that. It's partly a gentoo thing, partly the package dev-python/cvxopt-1.1.5. I contained a build folder in the source carrying python2 content that confused python3 building it. Also needed to add latex to sphinx.

  2. Log in to comment