can't use it

Bug #339525 reported by Julien Durillon
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
bzr-gedit
Invalid
Undecided
Unassigned

Bug Description

After installing it, when I try to enable it in the gedit's plugin window, the Bazaar line turns grey, and nothing else happen.

I launched gedit from the shell, and obtained this error when I check the Bazaar line in the plugin window :

/var/lib/python-support/python2.5/gtk-2.0/gobject/__init__.py:121: Warning: cannot register existing type `MenuToolAction'
  type_register(cls, namespace.get('__gtype_name__'))
Traceback (most recent call last):
  File "/home/judu/.gnome2/gedit/plugins/bzr/__init__.py", line 167, in <module>
    class MenuToolAction(gtk.Action):
  File "/var/lib/python-support/python2.5/gtk-2.0/gobject/__init__.py", line 67, in __init__
    cls._type_register(cls.__dict__)
  File "/var/lib/python-support/python2.5/gtk-2.0/gobject/__init__.py", line 121, in _type_register
    type_register(cls, namespace.get('__gtype_name__'))
RuntimeError: could not create new GType: MenuToolAction (subclass of GtkAction)

** (gedit:20925): WARNING **: Cannot load plugin 'bzr' since file '/home/judu/.gnome2/gedit/plugins' cannot be read.

** (gedit:20925): WARNING **: Error activating plugin 'Bazaar'

Revision history for this message
Julien Durillon (judu) wrote :
Revision history for this message
Julien Durillon (judu) wrote :

I resolved my issue :

I just missed the gedit-plugins package. After installing it, all works perfectly.

Revision history for this message
flexgrip (flexgrip) wrote :

This didn't fix my issue. It turns grey for me as well. I have bazaar installed fine and can use it. I just can't use the plugin. I already had gedit-plugins installed.

Any help would be appreciated.

Revision history for this message
Jon Elofson (jon-elofson) wrote :

The plugin is currently not working for me either. I have it installed, and I can enable it. When browsing in a bzr repository, I get the status at the bottom indicating I am in an active bzr directory. The top button is always maroon, however.

Olive branch works fine.

Also (this should maybe be a separate bug) when disabling the plugin, the left pane tab for bzr is not removed.

Here are some of the errors at the console. I have the class browser plugin installed, hence the ctags info.

jelofson@jelofson-desktop:~$ gedit
/home/jelofson/.gnome2/gedit/plugins/bzr/__init__.py:1858: GtkWarning: gtk_menu_attach_to_widget(): menu already attached to GtkImageMenuItem
  toolbuton.set_menu(menu.get_submenu())
added: None
parse None (CTagsParser)
/home/jelofson/.gnome2/gedit/plugins/bzr/__init__.py:1908: Warning: instance of invalid non-instantiatable type `(null)'
  manager.ensure_update()
/home/jelofson/.gnome2/gedit/plugins/bzr/__init__.py:1908: Warning: g_signal_handlers_disconnect_matched: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
  manager.ensure_update()
/home/jelofson/.gnome2/gedit/plugins/bzr/__init__.py:1908: GtkWarning: gtk_menu_detach: assertion `GTK_IS_MENU (menu)' failed
  manager.ensure_update()

Revision history for this message
Usman A (usmonster) wrote :

You may be missing one of the essential packages needed for the plugin to work.

Try this:

aptitude install bzr bzr-gtk bzrtools python-paramiko

Jelmer Vernooij (jelmer)
Changed in bzr-gedit:
status: New → Incomplete
Changed in bzr-gedit:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.