Hi ,
I am getting following error while trying to execute stax exec file from 
python script. Here is the debugger output. Can any please help me to 
get rid of this.


(Pdb) command="EXECUTE FILE /usr/local/staf/getfiles ARGS {'machName': 
'local','commandname':'hostname'}"

(Pdb) p host
'local'
(Pdb) p service
'STAX'
(Pdb)
(Pdb) result = self.handle.submit( host,service,command )
(Pdb) pp result.__dict__
{'rc': 7,
  'result': "You may have no more than 0 argument(s).  You specified 1 
argument(s).  The first excess argument is, 
'local','commandname':'hostname'}.",
  'resultContext': You may have no more than 0 argument(s).  You 
specified 1 argument(s).  The first excess argument is, 
'local','commandname':'hostname'}.,
  'resultObj': "You may have no more than 0 argument(s).  You specified 
1 argument(s).  The first excess argument is, 
'local','commandname':'hostname'}."}


Thanks.



------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to