On Monday 03 December 2007 06:19:21 am Jayesh Salvi wrote:
> I am trying to see what all methods gimpfu.pdb offers, by running dir()
> operation on it. But it crashes as follows:
> [EMAIL PROTECTED] plug-ins]$
> PYTHONPATH=$PYTHONPATH:/usr/lib64/gimp/2.0/python python
> Python 2.5 (r25:51908, Apr 10 2007, 10:27:40)
> [GCC 4.1.2 20070403 (Red Hat 4.1.2-8)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import gimpfu
> >>> dir(gimpfu.pdb)
> LibGimpBase-ERROR **: gimp_wire_write_msg: the wire protocol has not been
> [EMAIL PROTECTED] plug-ins]$ rpm -qf /usr/lib64/gimp/2.0/python
> Does anyone know if this is known error? Is someone fixing it? I won't be
> using dir() operation in final code, but can this abort happen in other
> situations as well?
Gimpfu module can only be imported from a python console which is run under
GIMP itself. Try that from the python console within GIMP.
Gimp-developer mailing list