error starting webbrowser.GenericBrowser in python2.4
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar GTK+ Frontends |
Fix Released
|
Medium
|
Sabin Iacob |
Bug Description
bzr visualize command fails on suse 10.1. It doesn't display any window but instead shows the below message and exits
$ bzr visualize
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/usr/lib/
return run_bzr(argv)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/home/
pp = start_viz_
File "/home/
from viz import BranchWindow
File "/home/
from branchwin import BranchWindow
File "/home/
from bzrlib.
File "/home/
from bzrlib.
File "/home/
webbrowser.
File "/usr/lib/
self.name, self.args = cmd.split(None, 1)
ValueError: need more than 1 value to unpack
bzr 1.5 on python 2.4.2 (linux2)
arguments: ['/usr/bin/bzr', 'visualize']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
difftools /home/user/
extmerge /home/user/
gtk /home/user/
launchpad /usr/lib/
mysql /home/user/
*** Bazaar has encountered an internal error.
Please report a bug at https:/
including this traceback, and a description of what you
were doing when the error occurred.
$
The output of bzr --version is included above. Contents of ~/.bzr.log as follows:
this is a debug log for diagnosing/
you can delete or truncate this file, or include sections in
bug reports to https:/
0.150 encoding stdout as sys.stdout encoding 'UTF-8'
0.151 bzr arguments: [u'visualize']
0.151 looking for plugins in /home/user/
0.212 importmbox not available unless bzrtools is installed
0.253 looking for plugins in /usr/lib/
0.253 Plugin name gtk already loaded
0.253 Plugin name __init__ already loaded
0.253 Plugin name __init__ already loaded
0.258 encoding stdout as sys.stdout encoding 'UTF-8'
0.633 WARNING: using slower ElementTree; consider installing cElementTree and make sure it's on your PYTHONPATH
0.673 Traceback (most recent call last):
File "/usr/lib/
return run_bzr(argv)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/home/
pp = start_viz_
File "/home/
from viz import BranchWindow
File "/home/
from branchwin import BranchWindow
File "/home/
from bzrlib.
File "/home/
from bzrlib.
File "/home/
webbrowser.
File "/usr/lib/
self.name, self.args = cmd.split(None, 1)
ValueError: need more than 1 value to unpack
0.675 return code 4
Additional details:
* If I run "bzr gcommit" it works ok - commit window shows up, I'm able to type in comments and it successfully commits
* bzr-gtk was installed using MySQL's standard bzr setup procedure. I also followed the same procedure on openSuse 10.3 and "bzr visualize" works without any problems here. Does bzr-gtk have some hidden dependencies that suse 10.1 doesn't meet but 10.3 does?
Changed in bzr-gtk: | |
status: | In Progress → Fix Committed |
Changed in bzr-gtk: | |
status: | Fix Committed → Fix Released |
This bug is in bzr-gtk.
I believe there was recently a change to how the web browser is started; I'm not sure if it would fix this problem.