[Bug 811434] New: embedded terminal could not be loaded in gedit
https://bugzilla.novell.com/show_bug.cgi?id=811434 https://bugzilla.novell.com/show_bug.cgi?id=811434#c0 Summary: embedded terminal could not be loaded in gedit Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: x86-64 OS/Version: openSUSE 12.2 Status: NEW Severity: Normal Priority: P5 - None Component: GNOME AssignedTo: bnc-team-gnome@forge.provo.novell.com ReportedBy: hendrikkunert@freenet.de QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0 The embedded terminal from package 'gedit-plugins' could not be loaded in gedit. Reproducible: Always Steps to Reproduce: 1. install package 'gedit-plugins' 2. open gedit 3. go to 'edit/preferences/plugins' 4. click on 'embedded terminal' Actual Results: Error Message: Embedded Terminal could not be loaded. Expected Results: should load the Embedded Terminal It seems that there is a deprecated version of the plugin in the repo. In Linux Mint with Cinnamon (should also be GTK3) the Embedded Terminal is working. output from console: File "/usr/lib64/gedit/plugins/terminal.py", line 23, in <module> from gi.repository import GObject, GLib, Gio, Pango, Gdk, Gtk, Gedit, Vte File "/usr/lib64/python2.7/site-packages/gi/importer.py", line 76, in load_module dynamic_module._load() File "/usr/lib64/python2.7/site-packages/gi/module.py", line 242, in _load version) File "/usr/lib64/python2.7/site-packages/gi/module.py", line 97, in __init__ repository.require(namespace, version) gi.RepositoryError: Requiring namespace 'Gtk' version '2.0', but '3.0' is already loaded (gedit:2771): libpeas-WARNING **: Error loading plugin 'terminal' -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=811434 https://bugzilla.novell.com/show_bug.cgi?id=811434#c1 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |dimstar@opensuse.org InfoProvider| |hendrikkunert@freenet.de --- Comment #1 from Dominique Leuenberger <dimstar@opensuse.org> 2013-03-27 19:02:56 UTC --- Hendrik, Thank you very much for the bug report. gedit-plugins / terminal does not specify which version of Gtk it shall load, so in general from gi.repository import Gtk should aim for the highest available one. Now, considering that in your case it is trying to import Gtk2, I can only assume that you do not have the right library / typelib installed. Can you please confirm if you have the package typelib-1_0-Gtk-3_0 installed? if not: does installing this package resolve your issue? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=811434 https://bugzilla.novell.com/show_bug.cgi?id=811434#c2 Hendrik Kunert <hendrikkunert@freenet.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|hendrikkunert@freenet.de | --- Comment #2 from Hendrik Kunert <hendrikkunert@freenet.de> 2013-03-28 15:47:59 UTC --- (In reply to comment #1)
Hendrik,
Thank you very much for the bug report.
gedit-plugins / terminal does not specify which version of Gtk it shall load, so in general from gi.repository import Gtk should aim for the highest available one.
Now, considering that in your case it is trying to import Gtk2, I can only assume that you do not have the right library / typelib installed.
Can you please confirm if you have the package typelib-1_0-Gtk-3_0 installed?
if not: does installing this package resolve your issue?
The package typelib-1_0-Gtk-3_0 is installed. Also you should know that the system is a fresh install only with the plugins for gedit additionally installed by me. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=811434 https://bugzilla.novell.com/show_bug.cgi?id=811434#c3 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |hendrikkunert@freenet.de --- Comment #3 from Dominique Leuenberger <dimstar@opensuse.org> 2013-03-29 20:32:21 UTC --- Thanks for the update.. with the help of Bjorn, we likely could reproduce the issue to the exact. DO you have typelib-1_0-Vte-2_90 installed? If not, it is likely to fix it. Background: gedit 'only' specifies that it wants Vte, Gtk (and some others, unrelated), but not which version. Now, Vte 0.0 requires Gtk 2 (typelib-1_0-Gtk-2_0), Vte 2.90 is the Gtk3 variant. Gedit itself is a Gtk3 app, so the lib is obviously in memory. If the terminal plugin now load Vte, and happens to 'only' find version 0.0 (which, in Rpm terms did satisfy the dependencies based on the plugin code), a 2nd Gtk version should be loaded, resulting in the issue. If you install typelib-1_0-Vte-2_90 in plus, it will take precedece over 0.0 (highest version is preferred, unless the code specifies exactly what it wants). If this is indeed all right, I'll work with upstream to fix the code to require the right Vte version in first place. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=811434 https://bugzilla.novell.com/show_bug.cgi?id=811434#c4 Hendrik Kunert <hendrikkunert@freenet.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|hendrikkunert@freenet.de | --- Comment #4 from Hendrik Kunert <hendrikkunert@freenet.de> 2013-04-02 15:18:41 UTC --- Installing typelib-1_0-Vte-2_90 fixed the problem. Thanks for your help. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=811434 https://bugzilla.novell.com/show_bug.cgi?id=811434#c5 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED See Also| |https://bugzilla.gnome.org/ | |show_bug.cgi?id=697230 AssignedTo|bnc-team-gnome@forge.provo. |dimstar@opensuse.org |novell.com | --- Comment #5 from Dominique Leuenberger <dimstar@opensuse.org> 2013-04-04 17:11:36 UTC --- Wrote and submitted patch to upstream https://bugzilla.gnome.org/show_bug.cgi?id=697230 Test packages are checked in to my branch and I'll start on a maintenance update shortly. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=811434 https://bugzilla.novell.com/show_bug.cgi?id=811434#c Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- OS/Version|openSUSE 12.2 |openSUSE 12.3 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=811434 https://bugzilla.novell.com/show_bug.cgi?id=811434#c Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|embedded terminal could not |[SR#162644] embedded |be loaded in gedit |terminal could not be | |loaded in gedit -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=811434 https://bugzilla.novell.com/show_bug.cgi?id=811434#c6 Benjamin Brunner <bbrunner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #6 from Benjamin Brunner <bbrunner@suse.com> 2013-04-15 09:27:56 CEST --- Update released. Resolved fixed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=811434 https://bugzilla.novell.com/show_bug.cgi?id=811434#c7 --- Comment #7 from Swamp Workflow Management <swamp@suse.de> 2013-04-15 08:06:21 UTC --- openSUSE-RU-2013:0683-1: An update that has one recommended fix can now be installed. Category: recommended (moderate) Bug References: 811434 CVE References: Sources used: openSUSE 12.3 (src): gedit-plugins-3.6.1-2.4.1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com