[Pkg-bazaar-maint] Bug#532149: bzr-gtk: nautilus-bzr.py has error in import
Jose Ramon Alvarez Sanchez
jras at dia.uned.es
Sun Jun 7 01:33:14 UTC 2009
Package: bzr-gtk
Version: 0.95.0+bzr635-1
Tags: patch
Nautilus (version 2.26.2-3) gives the following error message at startup
(in file ~/.xsession-errors):
-----
> Traceback (most recent call last):
> File "/usr/lib/nautilus/extensions-2.0/python/nautilus-bzr.py", line
22, in <module>
> from bzrlib.plugins.gtk import _i18n, cmd_gannotate, start_viz_window
> ImportError: cannot import name cmd_gannotate
-----
The bzr plugin to visualize revisions inside nautilus does not work.
The error can be corrected simply by editing nautilus-bzr.py
(there is also other copy in /usr/share/pyshared/bzrlib/plugins/gtk/ )
to change import of cmd_gannotate and start_viz_window from
bzrlib.plugins.gtk.commands instead, as shown in the patch
file attached.
I tested it by editing a copy of nautilus-bzr.py placed in
~/.nautilus/python-extensions/ and then, after restarting nautilus,
the plugin works.
I thing this bug report must be forwarded upstream.
Best regards,
Jose R.
------------
bzr-gtk dependencies:
bzr 1.13.1-1
python 2.5.4-2
python-central 0.6.11
python-glade2 2.14.1-2
python-gtk2 2.14.1-2
python-notify 0.1.1-2+b1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bzr-gtk-nautilus.patch
Type: text/x-patch
Size: 458 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-bazaar-maint/attachments/20090607/da2b1b20/attachment.bin>
More information about the Pkg-bazaar-maint
mailing list