[Bug 1159636] Re: python2.7 failed to import webbrowser: NameError in register_X_browsers(): global name 'Chrome' is not defined

Jean-Baptiste Lallement jean-baptiste at ubuntu.com
Mon Mar 25 09:58:15 UTC 2013


Assigning to python2.7 where webbrowser.py belongs to.

** Summary changed:

- ubuntuone-syncdaemon crashed with NameError in register_X_browsers(): global name 'Chrome' is not defined
+ python2.7 failed to import webbrowser: NameError in register_X_browsers(): global name 'Chrome' is not defined

** Package changed: ubuntuone-client (Ubuntu) => python2.7 (Ubuntu)

** Changed in: python2.7 (Ubuntu)
   Importance: Medium => High

** Description changed:

  It seems that the Ubuntu One client will not start
+ 
+ 
+ TEST CASE:
+ 1. From the command line run the command:
+ $ python2.7 -c "import webbrowser"
+ 
+ ACTUAL RESULT:
+ $ python2.7 -c 'import webbrowser'
+ Traceback (most recent call last):
+   File "<string>", line 1, in <module>
+   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: Crash
  DistroRelease: Ubuntu 13.04
  Package: ubuntuone-client 4.1.92-0ubuntu1
  ProcVersionSignature: Ubuntu 3.8.0-14.24-generic 3.8.4
  Uname: Linux 3.8.0-14-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.9.2-0ubuntu2
  Architecture: amd64
  Date: Mon Mar 25 07:00:34 2013
  ExecutablePath: /usr/lib/ubuntuone-client/ubuntuone-syncdaemon
  InstallationDate: Installed on 2012-10-28 (147 days ago)
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
  InterpreterPath: /usr/bin/python2.7
  MarkForUpload: True
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/lib/ubuntuone-client/ubuntuone-syncdaemon
  ProcEnviron:
-  SHELL=/bin/bash
-  XDG_RUNTIME_DIR=<set>
-  PATH=(custom, no user)
-  LANG=en_US.UTF-8
+  SHELL=/bin/bash
+  XDG_RUNTIME_DIR=<set>
+  PATH=(custom, no user)
+  LANG=en_US.UTF-8
  PythonArgs: ['/usr/lib/ubuntuone-client/ubuntuone-syncdaemon']
  SourcePackage: ubuntuone-client
  Title: ubuntuone-syncdaemon crashed with NameError in register_X_browsers(): global name 'Chrome' is not defined
  UbuntuOneSyncdaemonExceptionsLog:
-  
+ 
  UpgradeStatus: Upgraded to raring on 2013-02-18 (34 days ago)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
  mtime.conffile..etc.xdg.autostart.ubuntuone.launch.desktop: 2012-11-03T09:16:45.667113

** Tags added: rls-r-incoming

** Bug watch added: Debian Bug tracker #703872
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=703872

** Also affects: python2.7 (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=703872
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python2.7 in Ubuntu.
https://bugs.launchpad.net/bugs/1159636

Title:
  python2.7 failed to import webbrowser: NameError in
  register_X_browsers(): global name 'Chrome' is not defined

Status in “python2.7” package in Ubuntu:
  Confirmed
Status in “python2.7” package in Debian:
  Unknown

Bug description:
  It seems that the Ubuntu One client will not start

  
  TEST CASE:
  1. From the command line run the command:
  $ python2.7 -c "import webbrowser"

  ACTUAL RESULT:
  $ python2.7 -c 'import webbrowser'
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    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: Crash
  DistroRelease: Ubuntu 13.04
  Package: ubuntuone-client 4.1.92-0ubuntu1
  ProcVersionSignature: Ubuntu 3.8.0-14.24-generic 3.8.4
  Uname: Linux 3.8.0-14-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.9.2-0ubuntu2
  Architecture: amd64
  Date: Mon Mar 25 07:00:34 2013
  ExecutablePath: /usr/lib/ubuntuone-client/ubuntuone-syncdaemon
  InstallationDate: Installed on 2012-10-28 (147 days ago)
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
  InterpreterPath: /usr/bin/python2.7
  MarkForUpload: True
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/lib/ubuntuone-client/ubuntuone-syncdaemon
  ProcEnviron:
   SHELL=/bin/bash
   XDG_RUNTIME_DIR=<set>
   PATH=(custom, no user)
   LANG=en_US.UTF-8
  PythonArgs: ['/usr/lib/ubuntuone-client/ubuntuone-syncdaemon']
  SourcePackage: ubuntuone-client
  Title: ubuntuone-syncdaemon crashed with NameError in register_X_browsers(): global name 'Chrome' is not defined
  UbuntuOneSyncdaemonExceptionsLog:

  UpgradeStatus: Upgraded to raring on 2013-02-18 (34 days ago)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
  mtime.conffile..etc.xdg.autostart.ubuntuone.launch.desktop: 2012-11-03T09:16:45.667113

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/1159636/+subscriptions




More information about the foundations-bugs mailing list