Changes between Initial Version and Version 1 of Ticket #3443
- Timestamp:
- Jul 23, 2008, 1:50:05 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #3443 – Description
initial v1 1 1 When I use the following pyscript with XML-RPC, I get the error 2 2 3 "Traceback (most recent call last): 3 {{{ 4 #!pytb 5 Traceback (most recent call last): 4 6 File "<stdin>", line 1, in ? 5 7 File "/usr/lib/python2.4/xmlrpclib.py", line 1096, in __call__ … … 14 16 raise Fault(**self._stack[0]) 15 17 xmlrpclib.Fault: <Fault 2: "'a float is required' while executing 'ticket.get()'"> 16 " 18 }}} 17 19 18 20 19 21 here is the pyscript 20 22 21 23 {{{ 24 #!python 22 25 #! /usr/bin/env python 23 26 … … 30 33 server=xmlrpclib.ServerProxy(sys.argv[1]) 31 34 print server.ticket.get(float(sys.argv[2])) 32 35 }}}