[Reportbug-maint] Bug#665362: reportbug: Crashes with python2.7

Fabian Greffrath fabian at greffrath.com
Fri Mar 23 13:28:31 UTC 2012

Package: reportbug
Version: 6.3.1
Severity: grave
Justification: renders package unusable


currently reportbug crashes on my system when using python2.7 with the attached
error messages. I got it back to working (and writing this bug report) by
manually changing the shebang line in /usr/bin/reportbug to

$ reportbug reportbug

** (process:3302): WARNING **: Trying to register gtype 'GMountMountFlags' as
enum when in fact it is of type 'GFlags'

** (process:3302): WARNING **: Trying to register gtype 'GDriveStartFlags' as
enum when in fact it is of type 'GFlags'

** (process:3302): WARNING **: Trying to register gtype 'GSocketMsgFlags' as
enum when in fact it is of type 'GFlags'
Gtk-Message: Failed to load module "pk-gtk-module"
Traceback (most recent call last):
  File "/usr/bin/reportbug", line 2199, in <module>
  File "/usr/bin/reportbug", line 1077, in main
    return iface.user_interface()
  File "/usr/bin/reportbug", line 1700, in user_interface
  File "/usr/lib/pymodules/python2.7/reportbug/ui/gtk2_ui.py", line 1498, in
    args, kwargs = op.sync_pre_operation (*args, **kwargs)
  File "/usr/lib/pymodules/python2.7/reportbug/ui/gtk2_ui.py", line 885, in
    http_proxy=http_proxy, archived=archived, source=source)
  File "/usr/lib/pymodules/python2.7/reportbug/debbugs.py", line 1205, in
    bugs = debianbts.get_bugs(pkg_filter, package)
  File "/usr/lib/pymodules/python2.7/debianbts.py", line 230, in get_bugs
    reply = server.get_bugs(*key_value)
  File "/usr/lib/pymodules/python2.7/SOAPpy/Client.py", line 470, in __call__
    return self.__r_call(*args, **kw)
  File "/usr/lib/pymodules/python2.7/SOAPpy/Client.py", line 492, in __r_call
    self.__hd, self.__ma)
  File "/usr/lib/pymodules/python2.7/SOAPpy/Client.py", line 395, in __call
    p, attrs = parseSOAPRPC(r, attrs = 1)
  File "/usr/lib/pymodules/python2.7/SOAPpy/Parser.py", line 1049, in
    t = _parseSOAP(xml_str, rules = rules)
  File "/usr/lib/pymodules/python2.7/SOAPpy/Parser.py", line 1016, in
    parser = xml.sax.make_parser()
  File "/usr/lib/python2.7/xml/sax/__init__.py", line 93, in make_parser
    raise SAXReaderNotAvailable("No parsers found", None)
xml.sax._exceptions.SAXReaderNotAvailable: No parsers found

-- Package-specific info:
** Environment settings:
DEBEMAIL="fabian+debian at greffrath.com"
DEBFULLNAME="Fabian Greffrath"

** /home/fabian/.reportbugrc:
reportbug_version "4.8"
mode advanced
ui gtk2
realname "Fabian Greffrath"
email "fabian at greffrath.com"
smtphost mail.greffrath.com:587
smtpuser fabian
smtppasswd <omitted>

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (901, 'testing'), (501, 'unstable'), (101, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-2-686-pae (SMP w/1 CPU core)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages reportbug depends on:
ii  apt     
ii  python            2.7.2-10
ii  python-reportbug  6.3.1

reportbug recommends no packages.

Versions of packages reportbug suggests:
ii  debconf-utils                            <none>
ii  debsums                                  <none>
ii  dlocate                                  <none>
ii  emacs22-bin-common | emacs23-bin-common  <none>
ii  file                                     5.10-1
ii  gnupg                                    1.4.12-4
ii  postfix | exim4 | mail-transport-agent   <none>
ii  python-gtk2                              2.24.0-3
ii  python-gtkspell                          <none>
ii  python-urwid                             <none>
ii  python-vte                               1:0.28.2-4
ii  xdg-utils                                1.1.0~rc1+git20111210-6

Versions of packages python-reportbug depends on:
ii  apt     
ii  python            2.7.2-10
ii  python-debian     0.1.21
ii  python-debianbts  1.10
ii  python-support    1.0.14

python-reportbug suggests no packages.

-- no debconf information

More information about the Reportbug-maint mailing list