Modify ↓
Opened 20 years ago
Closed 20 years ago
#390 closed defect (fixed)
ticket.update returns a failure to get the ticket
| Reported by: | Owned by: | Alec Thomas | |
|---|---|---|---|
| Priority: | normal | Component: | XmlRpcPlugin |
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: | 0.9 |
Description (last modified by )
> server.ticket.update(41, u'Actualizacion automatica', attrs)
Traceback (most recent call last):
File "<input>", line 1, in ?
File "C:\Python24\lib\xmlrpclib.py", line 1096, in __call__
return self.__send(self.__name, args)
File "C:\Python24\lib\xmlrpclib.py", line 1383, in __request
verbose=self.__verbose
File "C:\Python24\lib\xmlrpclib.py", line 1147, in request
return self._parse_response(h.getfile(), sock)
File "C:\Python24\lib\xmlrpclib.py", line 1286, in _parse_response
return u.close()
File "C:\Python24\lib\xmlrpclib.py", line 744, in close
raise Fault(**self._stack[0])
Fault: <Fault 2: "''TicketRPC' object has no attribute 'getTicket'' while executing 'ticket.update()'">
The code is wrong and referring a method that does not exist. Attached is a patch to correct the line.
Attachments (1)
Note: See
TracTickets for help on using
tickets.



Patch to resolve the problem