GNOME Bugzilla – Bug 363516
Gimp python cannot be used if pygtk not installed against python - take two
Last modified: 2008-01-15 14:09:29 UTC
Please describe the problem: This one is similar to bug #332622. python plugin cannot find pygtk if not install in site packages. It appears after the latest dev in pygimp plugin (2.3.11 or 2.3.12). Steps to reproduce: See bug #332622 Actual results: A trace back for each python scripts included in distribution Traceback (most recent call last):
+ Trace 77224
from gimpfu import *
import gimp
(gimp-2.3:6749): LibGimpBase-WARNING **: gimp-2.3: wire_read(): error Expected results: No traceback. Python plugin available. Does this happen every time? Yes (Linux/x86 and Solaris/Sparc) Other information:
Created attachment 75041 [details] [review] replace init_pygobject() by pygimp_init_pygobject() in pygimp modules
Thanks for noticing and the fix. 2006-10-20 Manish Singh <yosh@gimp.org> * plug-ins/pygimp/gimpmodule.c * plug-ins/pygimp/procbrowser.c: use pygimp_init_pygobject here too. Report and patch from Eric Lamarque (fixes bug #363516).