Ticket #390 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

ticket.update returns a failure to get the ticket

Reported by: moof@metamoof.net Assigned to: athomas
Priority: normal Component: XmlRpcPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.9

Description (Last modified by coderanger)

> 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

ticket.py.patch (438 bytes) - added by moof@metamoof.net on 05/25/06 16:54:32.
Patch to resolve the problem

Change History

05/25/06 16:54:32 changed by moof@metamoof.net

  • attachment ticket.py.patch added.

Patch to resolve the problem

05/25/06 17:39:24 changed by coderanger

  • description changed.

Fix traceback so it looks less dumb

05/25/06 20:17:06 changed by athomas

  • status changed from new to closed.
  • resolution set to fixed.

Closed in r786.


Add/Change #390 (ticket.update returns a failure to get the ticket)




Change Properties
Action