Importing `webbrowser` module gives NameError in Python 2.7.4rc1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Python |
New
|
Unknown
|
|||
python2.7 (Debian) |
New
|
Unknown
|
|||
python2.7 (Ubuntu) |
Confirmed
|
Undecided
|
Anatoli Yakimovich |
Bug Description
http://
12:23 hrw@puchatek:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/
register_
File "/usr/lib/
register(
NameError: global name 'Chrome' is not defined
Real life usecase:
12:26 hrw@puchatek:
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/usr/lib/
return the_callable(*args, **kwargs)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
return self._operation
File "/usr/lib/
self.cleanups, self.func, *args, **kwargs)
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
fixes=fixes)
File "/usr/lib/
self.launchpad = lp_api.
File "/usr/lib/
obj = object.
File "/usr/lib/
obj = factory(self, scope, name)
File "/usr/lib/
module = __import_
File "/usr/lib/
from launchpadlib.
File "/usr/lib/
from launchpadlib.
File "/usr/lib/
import webbrowser
File "/usr/lib/
register_
File "/usr/lib/
register(
NameError: global name 'Chrome' is not defined
bzr 2.6.0dev3 on python 2.7.4rc1 (Linux-
Ubuntu-
arguments: ['/usr/bin/bzr', 'lp-propose-merge']
plugins: bash_completion
changelog_
fastimport[
launchpad[
news_
po_
stats[
encoding: 'utf-8', fsenc: 'UTF-8', lang: 'pl_PL.UTF-8'
*** Bazaar has encountered an internal error. This probably indicates a
bug in Bazaar. You can help us fix it by filing a bug report at
https:/
including this traceback and a description of the problem.
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: python2.7 2.7.4~rc1-2ubuntu1
ProcVersionSign
Uname: Linux 3.8.0-13-generic x86_64
ApportVersion: 2.9.2-0ubuntu2
Architecture: amd64
Date: Mon Mar 25 12:26:00 2013
MarkForUpload: True
ProcEnviron:
TERM=screen
SHELL=/bin/bash
PATH=(custom, no user)
LANG=pl_PL.UTF-8
LANGUAGE=pl:en
SourcePackage: python2.7
UpgradeStatus: No upgrade log present (probably fresh install)
no longer affects: | ubuntuone-client |
Changed in python2.7 (Debian): | |
status: | Unknown → New |
Changed in python: | |
status: | Unknown → New |
Changed in python2.7 (Ubuntu): | |
assignee: | nobody → Anatoli Yakimovich (akelav) |
It looks like the class definition of Chrome/Chromium in python3.3's Lib/webbrowser.py is missing.