NameError for Chrome on webbrowser module, if google-chrome is present

Bug #1160484 reported by Sidnei da Silva on 2013-03-26
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-defaults (Ubuntu)
Undecided
Unassigned

Bug Description

  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/launchpad/cmds.py", line 193, in run
    import webbrowser # this import should not be lazy
  File "/usr/lib/python2.7/webbrowser.py", line 505, in <module>
    register_X_browsers()
  File "/usr/lib/python2.7/webbrowser.py", line 489, in register_X_browsers
    register(browser, None, Chrome(browser))
NameError: global name 'Chrome' is not defined

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: python 2.7.3-13ubuntu1
ProcVersionSignature: Ubuntu 3.8.0-13.23-generic 3.8.3
Uname: Linux 3.8.0-13-generic x86_64
NonfreeKernelModules: wl nvidia
ApportVersion: 2.9.2-0ubuntu3
Architecture: amd64
Date: Tue Mar 26 13:56:33 2013
InstallationDate: Installed on 2012-09-04 (203 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120901)
MarkForUpload: True
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: python-defaults
UpgradeStatus: Upgraded to raring on 2012-12-26 (89 days ago)

Sidnei da Silva (sidnei) wrote :
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers