ImportError: No module named gtk, can not import gettext
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bzr-gedit |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I have python gtk installed, and all other gedit plugins work, that I have tried.
I get this error on plugin activation:
Traceback (most recent call last):
File "/home/
import dialogs
File "/home/
from widgets import OptionsBox, TreeChanges
File "/home/
from bzrlib.plugins.gtk import gettext
ImportError: No module named gtk
** (gedit:21632): WARNING **: Cannot load plugin 'bzr' since file '/home/
** (gedit:21632): WARNING **: Error activating plugin 'Bazaar'
I changed from "from gtk import gettext" to "import gettext" which allowed me to load the plugin.
Then I get this:
/home/konsumer/
toolbuton.
sys:1: Warning: instance of invalid non-instantiatable type `(null)'
sys:1: Warning: g_signal_
sys:1: GtkWarning: gtk_menu_detach: assertion `GTK_IS_MENU (menu)' failed
sys:1: Warning: instance with invalid (NULL) class pointer
I try to create a workspace, doesn't work:
Traceback (most recent call last):
File "/home/
x = BzrCommands(
File "/home/
self.
File "/home/
dlgnwp = dialogs.
File "/home/
gtk.
NameError: global name '_' is not defined
Changed in bzr-gedit: | |
status: | New → Confirmed |
I have exactly the same problem