[Reportbug-maint] Bug#703872: python-reportbug:NameError: global name 'Chrome' is not defined

shirish शिरीष shirishag75 at gmail.com
Mon Mar 25 07:29:46 UTC 2013

Package: python-reportbug
Version: 6.4.4

Dear maintainer,
      Reportbug gives the following whenever I try to use it and this
has started recently :-

$ reportbug --configure
Traceback (most recent call last):
  File "/usr/bin/reportbug", line 38, in <module>
    from reportbug import utils
  File "/usr/lib/pymodules/python2.7/reportbug/utils.py", line 42, in <module>
    from urlutils import open_url
  File "/usr/lib/pymodules/python2.7/reportbug/urlutils.py", line 33,
in <module>
    import webbrowser
  File "/usr/lib/python2.7/webbrowser.py", line 513, in <module>
  File "/usr/lib/python2.7/webbrowser.py", line 497, in register_X_browsers
    register(browser, None, Chrome(browser))
NameError: global name 'Chrome' is not defined

I purged and reinstalled reportbug so that there may be nothing which
would influence it (maybe some configuration file or something.)

I also removed the .reportbugrc which I had hand-crafted sometime
back and had seemed to work :-

$ cat .reportbugrc
# reportbug preferences file
# character encoding: UTF-8
# Version of reportbug this preferences file was written by
reportbug_version "6.4.3"
# default operating mode: one of: novice, standard, advanced, expert
mode standard
# default user interface
ui text

editor "/usr/bin/leafpad"

# offline setting - comment out to be online
# name and email setting (if non-default)
# realname "shirish"
#email "shirishag75 at gmail.com"
# Disable fallback mode by commenting out the following:
#header "X-Debbugs-CC: shirishag75 at gmail.com"
#smtphost reportbug.debian.org
# You can add other settings after this line.  See
# /etc/reportbug.conf for a full listing of options.

I have deliberately turned off smtphost as I don't want to send any
accidental bug-reports and use the webmail to send bug-reports

Looking forward to answers or what I may have done wrong.
          Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
065C 6D79 A68C E7EA 52B3  8D70 950D 53FB 729A 8B17

More information about the Reportbug-maint mailing list