Hello ,
I am trying to execute a form from a python script .
I instantiate a GFClient , then i use client.ARGUMENTS.append('myform.gfd') for
specifying the gfd file .
But I also want to specify other parameters: username, password, ui.
Adding those in the same way , with ARGUMENTS.append doesn't work.
client = GFClient.GFClient()
client.ARGUMENTS.append('--username')
client.ARGUMENTS.append('am')
client.ARGUMENTS.append('--password')
client.ARGUMENTS.append('paswd')
client.ARGUMENTS.append('/home/am/src/gfaf/gnue/prod.gfd')
client.run ()
gnue-forms: Parameter "am" specified, but no value supplied.
For help, type: gnue-forms --help
I don't understand how does the GFClient processes the arguments. Part
of them are probably handled in the parent class of GFClient ?
How can I execute a form from a python script, with the ability to
specify in code all the command lien arguments ?
--
Adrian Maier
_______________________________________________
Gnue mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnue