[Reportbug-maint] Bug#783966: AttributeError: 'module' object has no attribute 'add_metaclass'

Gilles Mocellin gilles.mocellin at nuagelibre.org
Fri May 1 17:35:19 UTC 2015

Package: reportbug
Version: 6.6.3
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>
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.
So, As I also had some problems with python2.7 (bug #783738).

-- Package-specific info:
** Environment settings:
DEBEMAIL="gilles.mocellin at nuagelibre.org"
DEBFULLNAME="Gilles Mocellin"

-- 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 reportbug depends on:
ii  apt     
ii  python            2.7.9-1
ii  python-reportbug  6.6.3
pn  python:any        <none>

reportbug recommends no packages.

Versions of packages reportbug suggests:
pn  claws-mail                      <none>
ii  debconf-utils                   1.5.56
ii  debsums                         2.1
pn  dlocate                         <none>
ii  emacs23-bin-common              23.4+1-4.1+b1
ii  emacs24-bin-common              24.4+1-5
ii  file                            1:5.22+15-2
ii  gnupg                           1.4.18-7
ii  postfix [mail-transport-agent]  2.11.3-1
ii  python-gtk2                     2.24.0-4
pn  python-gtkspell                 <none>
pn  python-urwid                    <none>
ii  python-vte                      1:0.28.2-5
ii  xdg-utils                       1.1.0~rc1+git20111210-7.4

Versions of packages python-reportbug depends on:
ii  apt     
ii  python-debian     0.1.27
ii  python-debianbts  1.12
pn  python:any        <none>

python-reportbug suggests no packages.

-- no debconf information

More information about the Reportbug-maint mailing list