Your message dated Sat, 16 May 2015 04:42:33 -0700
with message-id <20150516114233.GA16735@daphnis>
and subject line Re: Bug#783981: AttributeError: 'module' object has no
attribute 'add_metaclass'
has caused the Debian Bug report #783981,
regarding AttributeError: 'module' object has no attribute 'add_metaclass'
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 [email protected]
immediately.)
--
783981: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=783981
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-debian
Version: 0.1.27
Severity: important
Dear Maintainer,
Since I've upgraded to jessie, I cannot use querybts / reportbug.
I'v got a pythin backtrace :
~ reportbug
1
Traceback (most recent call last):
File "/usr/bin/reportbug", line 38, in <module>
from reportbug import utils
File "/usr/lib/python2.7/dist-packages/reportbug/utils.py", line 70, in
<module>
import debbugs
File "/usr/lib/python2.7/dist-packages/reportbug/debbugs.py", line 43, in
<module>
import checkversions
File "/usr/lib/python2.7/dist-packages/reportbug/checkversions.py", line 39,
in <module>
from debian.deb822 import Deb822
File "/usr/lib/python2.7/dist-packages/debian/deb822.py", line 1481, in
<module>
@six.add_metaclass(_ClassInitMeta)
AttributeError: 'module' object has no attribute 'add_metaclass'
It's working here on my sid PC with the same reportbug version. The same
python-debian version too.
But python-six is 1.8.0-1 in jessie but 1.9.0-3 in sid. Probably the cause here.
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.19.0-trunk-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages python-debian depends on:
ii python-chardet 2.3.0-1
ii python-six 1.9.0-3
pn python:any <none>
Versions of packages python-debian recommends:
ii python-apt 0.9.3.11
Versions of packages python-debian suggests:
ii gpgv 1.4.18-7
-- no debconf information
--- End Message ---
--- Begin Message ---
On Thu, May 14, 2015 at 12:03:29PM +0200, Gilles Mocellin wrote:
> Ah !
> I've just made a diff of strace calls whime launching reportbug...
> I have manually installed python modules in /usr/local (via pip), and there
> is a six module (1.6.0) : that's it.
>
> And no need to upgrade to the backported version of python-six, it works with
> 1.8.0-1.
>
> Bug can be closed, it was not a bug...
Thanks, glad you figured it out. I was quite surprised it didn't work
(since it works for me in a clean jessie chroot). :)
--
John Wright <[email protected]>
signature.asc
Description: Digital signature
--- End Message ---
--
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-python-debian-maint