Bug#783981: AttributeError: 'module' object has no attribute 'add_metaclass'
Gilles Mocellin
gilles.mocellin at nuagelibre.org
Fri May 1 19:43:43 UTC 2015
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
More information about the pkg-python-debian-maint
mailing list