[Reportbug-maint] Bug#774875: reportbug fails to start because missing add_metaclass

Moshe Yudkowsky moshe at pobox.com
Thu Jan 8 15:18:28 UTC 2015

Package: reportbug
Version: 6.6.3

Reportbug itself fails to start:

: reportbug
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'

Current setup:

reportbug                    6.6.3
3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt2-1 (2014-12-08) x86_64 GNU/Linux
python-debian                0.1.25
python3-debian               0.1.25
python2.7                    2.7.9-1
python3                    3.4.2-2 amd64
python3.4                  3.4.2-4 amd64

Also installed: pythons 2.4, 2.5, 2.6

Is there a conflict between the deb822.py supplied by python-debian and 
the version needed by 2.7?
Moshe Yudkowsky * moshe at pobox.com * www.pobox.com/~moshe
  "Today my head is my own.  To-night, when it is yours, you may do
   with it as you please."  - Montrose, 20 May 1650

More information about the Reportbug-maint mailing list