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

idella5 avataridella5 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 (1)

  1. idella5

    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
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.