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

Sandro Tosi morph at debian.org
Mon Mar 25 07:57:05 UTC 2013


reassign 703872 python2.7
thanks

This is a bug in a  standard library module, reassigning.

On Mon, Mar 25, 2013 at 8:29 AM, shirish शिरीष <shirishag75 at gmail.com> wrote:
> 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>
>     register_X_browsers()
>   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
> editor "/usr/bin/leafpad"
>
> # offline setting - comment out to be online
> offline
> # name and email setting (if non-default)
> # realname "shirish"
> #email "shirishag75 at gmail.com"
> # Disable fallback mode by commenting out the following:
> #no-cc
> #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
> accordingly.
>
> Looking forward to answers or what I may have done wrong.
> --
>           Regards,
>           Shirish Agarwal  शिरीष अग्रवाल
>   My quotes in this email licensed under CC 3.0
> http://creativecommons.org/licenses/by-nc/3.0/
> http://flossexperiences.wordpress.com
> 065C 6D79 A68C E7EA 52B3  8D70 950D 53FB 729A 8B17
>



-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi



More information about the Reportbug-maint mailing list