Chris Mohler wrote:

> On Mon, Nov 10, 2008 at 12:17 PM, Andreas Matthias
> <[EMAIL PROTECTED]> wrote:
>> Chris Mohler wrote:
>> 
>>> On Mon, Nov 10, 2008 at 5:52 AM, Andreas Matthias
>>> <[EMAIL PROTECTED]> wrote:
>>>> I'm trying to write a python script that opens the xsane dialog.
>>>> But the example script below does not work. Any idea what's wrong?
>>> 
>>> I don't find xsane in the pdb.  Have you looked in Help->Procedure Browser?
>> 
>> Yes, I have. It's there. And it's coming from
>> /usr/lib/gimp/2.0/plug-ins/xsane which is a link to /usr/bin/xsane.
>> 
>> Running my script doesn't produce any error (warning) messages. It
>> just stops after displaying "start foobar()".
> 
> If I try calling "pdb.xsane()" or "pdb.xsane(0)" fron the python-fu
> console, I get: "extension 'xsane' aborted before sending its
> extension_ack message"

Here (gimp-2.4.2, xsane-0.996) the console just stalls. No error message,
no prompt, not responding to button clicks.

Maybe xsane is not meant to be called through the pdb?

Ciao
Andreas

_______________________________________________
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

Reply via email to