No bzr-gtk command runs (incl. olive) if seahorse isn't installed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar GTK+ Frontends |
Fix Released
|
High
|
Sabin Iacob | ||
bzr-gtk (Debian) |
Fix Released
|
Unknown
|
Bug Description
I don't have seahorse installed yet (I've been waiting for the GIO changes) and since 0.94.0 has been released, I can't run bzr viz, bzr gannotate, etc.
Attached is a patch which "works for me" (famous last words, so to speak) which catches the error shown below so that the bzr-gtk commands run for me.
Console output:
$ bzr gannotate configure.ac
bzr: ERROR: dbus.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 "/usr/lib/
from annotate.gannotate import GAnnotateWindow
File "/usr/lib/
from bzrlib.
File "/usr/lib/
from bzrlib.plugins.gtk import seahorse
File "/usr/lib/
crypto = dbus.Interface(
File "/usr/lib/
follow_
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
'su', (bus_name, flags)))
File "/usr/lib/
reply_message = self.send_
DBusException: org.freedesktop
bzr 1.4 on python 2.4.4 (linux2)
arguments: ['/usr/bin/bzr', 'gannotate', 'configure.ac']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
bisect /home/malept/
builddeb /usr/lib/
bzrtools /usr/lib/
dbus /usr/lib/
gnulog /home/malept/
gtk /usr/lib/
hg /home/malept/
launchpad /usr/lib/
rebase /usr/lib/
svn /usr/lib/
vimdiff /home/malept/
*** 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.
Changed in bzr-gtk: | |
importance: | Undecided → High |
status: | New → Triaged |
Changed in bzr-gtk: | |
assignee: | nobody → dasch |
Changed in bzr-gtk: | |
assignee: | dasch → iacobs |
status: | Triaged → Fix Committed |
Changed in bzr-gtk: | |
status: | Fix Committed → Fix Released |
Changed in bzr-gtk: | |
status: | Unknown → Confirmed |
Changed in bzr-gtk (Debian): | |
status: | Confirmed → Fix Released |
status triaged
importance high
The patch catches all DBusExceptions, not just those that indicate the samba.org/ ~jelmer/
seahorse service isn't there.
--
Jelmer Vernooij <email address hidden> - http://
Jabber: <email address hidden>