[Python-modules-team] Bug#697721: python-django-registration: FTBFS with python3-sphinx: AttributeError: 'str' object has no attribute '__dict__'

Jakub Wilk jwilk at debian.org
Wed Jan 9 18:29:50 UTC 2013


* Jakub Wilk <jwilk at debian.org>, 2013-01-08, 22:23:
>|   File "/usr/lib/python3/dist-packages/sphinx/environment.py", line 1215, in get_doctree
>|     doctree = pickle.load(f)
>| AttributeError: 'str' object has no attribute '__dict__'
>
>This happens because the source package includes doctree pickles (in 
>which parsed rST sources are cached) were generated by Python 2.X, 
>and cannot be loaded by Python 3.X.

I also reported this to Sphinx upstream:
https://bitbucket.org/birkenfeld/sphinx/issue/1070

I _could_ backport the Sphinx fix for wheezy if really needed, but I 
would prefer not to.

-- 
Jakub Wilk



More information about the Python-modules-team mailing list