Re: [gedit-list] pythonconsole for GEdit-3



On 08/09/2010 05:28 AM, Ralf Ebert wrote:
addpath('PYTHONPATH', '/opt/gnome/lib/python2.6/site-packages/gtk-2.0')
Is this required / is the gtk-2.0 supposed to be there?

This is bug 621525 [1]

Having done that I get an 'Could not find any typelib for Gedit' error
from __init__.py:

from gi.repository import GObject, Gtk, Gedit, Peas, PeasUI

I see 'gedit-plugins-engine.c:143 (require_private_typelib) Namespace
'Gedit' loaded.' before that.

I can work around this by copying the gir&typelib to /opt/gnome (cp
gedit/gedit/Gedit-3.0.typelib /opt/gnome/lib/girepository-1.0; cp
gedit/gedit/Gedit-3.0.gir /opt/gnome/share/gir-1.0/), but was told this
should not be necessary...

There is a bug about that too, but I can't find it anymore

[1] https://bugzilla.gnome.org/show_bug.cgi?id=621525


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]