Changes between Initial Version and Version 1 of Ticket #3443


Ignore:
Timestamp:
Jul 23, 2008, 1:50:05 PM (16 years ago)
Author:
Alec Thomas
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3443 – Description

    initial v1  
    11When I use the following pyscript with XML-RPC, I get the error
    22
    3 "Traceback (most recent call last):
     3{{{
     4#!pytb
     5Traceback (most recent call last):
    46  File "<stdin>", line 1, in ?
    57  File "/usr/lib/python2.4/xmlrpclib.py", line 1096, in __call__
     
    1416    raise Fault(**self._stack[0])
    1517xmlrpclib.Fault: <Fault 2: "'a float is required' while executing 'ticket.get()'">
    16 "
     18}}}
    1719
    1820
    1921here is the pyscript
    2022
    21 
     23{{{
     24#!python
    2225#! /usr/bin/env python
    2326
     
    3033server=xmlrpclib.ServerProxy(sys.argv[1])
    3134print server.ticket.get(float(sys.argv[2]))
    32 
     35}}}