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

[Condor-users] Minimal example in Python - Condor Web Services



Hi All,

Does anybody have a minimal example on how to use Python to call Condor web services:

I have used "wsdl2py -f condorSchedd.wsdl" to create appropriate stubs, which result in condorSchedd_services.py

If I try to use the module from Python with the staement " from condorSchedd_services import * " I get a long list of errors like:

File "condorSchedd_services_types.py", line 2627, in __init__
   ZSI.TC.String.__init__(self, **kw)
 File "/usr/lib/python2.4/site-packages/ZSI/TC.py", line 410, in __init__
   TypeCode.__init__(self, pname, **kw)
 File "/usr/lib/python2.4/site-packages/ZSI/TC.py", line 71, in __init__
   if type(pname) in _seqtypes:
RuntimeError: maximum recursion depth exceeded in cmp


Thanks in advance for you attention,

Best Regards,

Andrea