[Gimp-developer] problem with standalone perl script



Hi,
I have a standalone perl script which used to work fine with older
versions of gimp, but now for some reason with 2.8 at least, when I
call "exit main;" the on_run callback is never triggered.

I decided to test it another way, by making it a plugin, but when i
run gimp -b '(myplugin RUN-NONINTERACTIVE)' -b '(gimp-quit 0)', i see
the following:

"Cannot call 'main::gimp_procedural_db_dump' at this time..."

I suspect its something to do with the socket connection to gimp
server. gimp_procedural_db_dump() is the first command called.

Testing in standalone mode, I see gimp is being run: /usr/bin/gimp-2.8
--no-splash --console-messages -i -b (extension-perl-server 1 3 5)
(gimp-quit 0)
and:

/usr/lib64/gimp/2.0/plug-ins/script-fu -gimp 6 4 -run 0

but doing an strace on the script-fu, it is hanging on:

select(1024, [6], NULL, NULL, NULL

fd 6 is pipe:[1004351], which is the same as fd 7 for the gimp server.

doing an strace on the gimp server shows it is basically doing nothing.


O/S is fedora 17.


Any ideas ?

Regards,
Salsaman.



http://lives.sourceforge.net
https://www.ohloh.net/accounts/salsaman


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