Activity log for bug #240328

Date Who What changed Old value New value Message
2008-06-16 08:25:42 Andrea Corbellini bug added bug
2008-06-16 11:10:34 Andrea Corbellini description With the latest release of bzr-gedit (0.5) the plugin can't be loaded because of an ImportError: Traceback (most recent call last): File "/home/andrea/.gnome2/gedit/plugins/bzr/__init__.py", line 40, in <module> import widgets File "/home/andrea/.gnome2/gedit/plugins/bzr/widgets.py", line 8, in <module> from bzrlib.plugins.gtk import _i18n ImportError: cannot import name _i18n In fact _i18n doesn't exist in bzr (1.6b2). Instead there's gettext so this problem can be fixed in this way: -from bzrlib.plugins.gtk import _i18n +from bzrlib.plugins.gtk import gettext as _i18n With the latest release of bzr-gedit (0.5) the plugin can't be loaded because of an ImportError: Traceback (most recent call last): File "/home/andrea/.gnome2/gedit/plugins/bzr/__init__.py", line 40, in <module> import widgets File "/home/andrea/.gnome2/gedit/plugins/bzr/widgets.py", line 8, in <module> from bzrlib.plugins.gtk import _i18n ImportError: cannot import name _i18n In fact _i18n doesn't exist in bzr (1.6b2). Instead there's gettext so this problem can be fixed in this way: -from bzrlib.plugins.gtk import _i18n +from bzrlib.plugins.gtk import gettext +_i18n = gettext.gettext
2008-06-20 00:58:28 Thanos Lefteris bzr-gedit: status New Confirmed
2008-06-20 00:58:28 Thanos Lefteris bzr-gedit: assignee javierder
2008-06-20 20:28:43 Javier Derderyan bzr-gedit: status Confirmed Fix Committed
2008-06-20 20:28:43 Javier Derderyan bzr-gedit: importance Undecided Medium
2008-07-15 03:05:41 Javier Derderyan bzr-gedit: status Fix Committed Fix Released