id,summary,reporter,owner,description,type,status,priority,component,severity,resolution,keywords,cc,release 5268,ticket.status.delete() and ticket.status.update() are broken,Thijs Triemstra,osimons,"Consider the following code: {{{ #!python # get existing statuses from trac statuses = self.proxy.ticket.status.getAll() print(statuses) # remove existing statuses from trac if necessary if len(statuses) > 0: for status in statuses: self.proxy.ticket.status.delete(status) }}} This prints the following error on my client: {{{ ['accepted', 'assigned', 'closed', 'new', 'reopened'] 2009-05-22 07:06:33,768 - A fault occurred! 2009-05-22 07:06:33,773 - Fault code: 2 2009-05-22 07:06:33,773 - Fault string: '__init__() takes exactly 2 arguments (3 given)' while executing 'ticket.status.delete()' }}} And Trac {{{0.11.4}}} throws this error: {{{ #!python 07:06:33 Trac[web_ui] ERROR: __init__() takes exactly 2 arguments (3 given) 07:06:33 Trac[web_ui] ERROR: Traceback (most recent call last): File ""/Users/thijstriemstra/jira2trac/test/plugins/tracrpc/tracrpc/web_ui.py"", line 60, in process_request result = XMLRPCSystem(self.env).get_method(method)(req, args) File ""/Users/thijstriemstra/Sites/jira2trac/test/plugins/tracrpc/tracrpc/api.py"", line 85, in __call__ result = self.callable(req, *args) File ""/Users/thijstriemstra/Sites/jira2trac/test/plugins/tracrpc/tracrpc/ticket.py"", line 260, in delete cls(self.env, name).delete() TypeError: __init__() takes exactly 2 arguments (3 given) }}}",defect,closed,normal,XmlRpcPlugin,normal,fixed,,Thijs Triemstra,0.11