Your message dated Fri, 11 Jan 2013 07:47:30 +0000
with message-id <e1ttzks-0005nl...@franck.debian.org>
and subject line Bug#697721: fixed in python-django-registration 0.8-2
has caused the Debian Bug report #697721,
regarding python-django-registration: FTBFS with python3-sphinx: 
AttributeError: 'str' object has no attribute '__dict__'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
697721: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=697721
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-django-registration
Version: 0.8-1
Severity: serious
Justification: fails to build from source

If python3-sphinx is installed, but python-sphinx is not, python-django-registration FTBFS:
| cd docs && /usr/bin/make html
| make[2]: Entering directory 
`/build/python-django-registration-105ATe/python-django-registration-0.8/docs'
| sphinx-build -b html -d _build/doctrees   . _build/html
| Running Sphinx v1.1.3
| loading pickled environment... done
| building [html]: targets for 11 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... [  9%] backend-api
| Making output directory...
|
| Exception occurred:
|   File "/usr/lib/python3/dist-packages/sphinx/cmdline.py", line 189, in main
|     app.build(force_all, filenames)
|   File "/usr/lib/python3/dist-packages/sphinx/application.py", line 204, in 
build
|     self.builder.build_update()
|   File "/usr/lib/python3/dist-packages/sphinx/builders/__init__.py", line 
196, in build_update
|     'out of date' % len(to_build))
|   File "/usr/lib/python3/dist-packages/sphinx/builders/__init__.py", line 
252, in build
|     self.write(docnames, list(updated_docnames), method)
|   File "/usr/lib/python3/dist-packages/sphinx/builders/__init__.py", line 
291, in write
|     doctree = self.env.get_and_resolve_doctree(docname, self)
|   File "/usr/lib/python3/dist-packages/sphinx/environment.py", line 1230, in 
get_and_resolve_doctree
|     doctree = self.get_doctree(docname)
|   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. Please ask upstream to exclude the doctrees/ subdirectory from their tarballs. Meanwhile please use the attached patch as a work-around.

--
Jakub Wilk
--- python-django-registration-0.8/debian/rules	2012-07-10 15:50:02.000000000 +0200
+++ python-django-registration-0.8/debian/rules	2013-01-08 22:04:03.000000000 +0100
@@ -6,11 +6,12 @@
 	dh $@ --with python2,sphinxdoc
 
 override_dh_auto_clean:
-	rm -rf docs/_build/html
+	rm -rf docs/_build/
 	dh_auto_clean
 
 override_dh_auto_build:
 	cd registration && /usr/bin/django-admin compilemessages
+	rm -rf docs/_build/doctrees/
 	cd docs && $(MAKE) html
 	dh_auto_build
 

--- End Message ---
--- Begin Message ---
Source: python-django-registration
Source-Version: 0.8-2

We believe that the bug you reported is fixed in the latest version of
python-django-registration, which is due to be installed in the Debian FTP 
archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 697...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Raphaël Hertzog <hert...@debian.org> (supplier of updated 
python-django-registration package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 10 Jan 2013 09:44:11 +0100
Source: python-django-registration
Binary: python-django-registration
Architecture: source all
Version: 0.8-2
Distribution: unstable
Urgency: low
Maintainer: Debian Python Modules Team 
<python-modules-t...@lists.alioth.debian.org>
Changed-By: Raphaël Hertzog <hert...@debian.org>
Description: 
 python-django-registration - User-registration application for Django
Closes: 697721
Changes: 
 python-django-registration (0.8-2) unstable; urgency=low
 .
   * Drop docs/_build entirely on clean so that we don't keep around
     docs/_build/doctrees which might not work with python3-sphinx.
     Closes: #697721
Checksums-Sha1: 
 eb2c8ae18bda9f92482ca427f083adf48373c1c4 2382 
python-django-registration_0.8-2.dsc
 4831e93ad01781c33968a9b9063968b46840d4dc 4967 
python-django-registration_0.8-2.debian.tar.gz
 cf74a5a1127051e25c1532929e7b6140e335e595 111882 
python-django-registration_0.8-2_all.deb
Checksums-Sha256: 
 f09c8b31d429d9641822a4b4260ac1f9121328090f01c773436669634d2d77d4 2382 
python-django-registration_0.8-2.dsc
 7afb935e1e4160de8046a532b09a5e07370ccd2cf189841b22728c25cf20eb40 4967 
python-django-registration_0.8-2.debian.tar.gz
 8b43f9b70ebe6fa259570538e3d3f33702102c2c83d2eada4a2b744789217dde 111882 
python-django-registration_0.8-2_all.deb
Files: 
 f42df587c1a725d3184333700e5b4d1c 2382 python optional 
python-django-registration_0.8-2.dsc
 f79fbcbd223d82c6c5bafc440aeb37f6 4967 python optional 
python-django-registration_0.8-2.debian.tar.gz
 1bb280fc6c29c7393047230f1b0633b4 111882 python optional 
python-django-registration_0.8-2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Signed by Raphael Hertzog

iQIcBAEBCAAGBQJQ78MfAAoJEOYZBF3yrHKajloP/3MSs8uIr9MYibnHyeJDe1D6
FNKCR+17HLALaM5iVZGLgQPMYrSXyNYG525S3ZiD7j1mm+cIOdrRc6HNiaVXcgTG
Tuvq27OERVlaw/EvPBRbTqi50ksrEr2kP4oy5qNI5I0SGijDkM8LunKcYj3TD7IQ
uWeks2ul8N8ByoA1yo18rrwux+/45VX06N3u6SA81nE3oBTQHjJVhHq0AYZbthLc
gVT9z+Lkl9I4plLOAEA9BDXEEorEsGs3luF4VBLrMbjbVh+L6aIoDWw8dqA6ulks
7NFQKtqaWDKemB9ZBH6J+W6vf84Zdq+vaG77sMgriZ9iGXyr9q/nTjCOxnZTV5tD
nHy9B4+plY7StWHWW2Ze+zc3MkmEI17QX1AStDU4umNgWRIGol5s3cjIFgzlBKdC
1kqBGxnQIWokbHUFYFcNfb8ZycuWYsHyzWS3XwVhukxveMrk7vzf1GTSAw85Mnxq
/byEu84pwO2LjSPoSGvOMSzXQcFbtnxKUuvU56QDxohAGaphIkjzIs1iOH+hYsW8
2vwWbYYTvAC1/BWkfBZHOqcQD5iye4lgaMb2vRZ77mjPp5VUGx4EMjKG0trBIbE0
yuMGIE9zG6TCcHrttc9JWV+GfA7uS1mUmOTuVJ+4XccbYYVaxA7prW+qLUG71cHd
/+tdlLKmyHjsiV9YU6G7
=6EFo
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to