[Gimp-user] gimpfu calling xsane

2008-11-09 Thread Andreas Matthias
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? Ciao Andreas #! /usr/bin/env python from gimpfu import * def foobar(*args): print "start foobar()" pdb.xsane() print "end foobar()" register( "run

Re: [Gimp-user] gimpfu calling xsane

2008-11-09 Thread Andreas Matthias
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 t

Re: [Gimp-user] gimpfu calling xsane

2008-11-09 Thread Andreas Matthias
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'

Re: [Gimp-user] gimpfu calling xsane

2008-11-10 Thread Andreas Matthias
David Gowers wrote: > What happens if you type > > xsane (run_mode = 0) Oh yes, that works. At least it shows the xsane dialog but it does not return anything apart from an execution error. I originally intended to control xsane with a script, but it seems that the xsane plug-in is not ready fo