Modify ↓
Opened 17 years ago
Closed 16 years ago
#2746 closed defect (worksforme)
'cannot marshal <class 'xmlrpclib.Fault'> objects' while executing system.multicall()'
Reported by: | Owned by: | Alec Thomas | |
---|---|---|---|
Priority: | high | Component: | XmlRpcPlugin |
Severity: | minor | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
Accessing my Trac 0.11b1 repository through the Mylar plugin for Eclipse using XmlRpcPlugin , I got this error message when trying to create query of tickets. Python version is 2.5.1 .
'cannot marshal <class 'xmlrpclib.Fault'> objects' while executing system.multicall()'
This message may be wrong. See http://mail.python.org/pipermail/python-bugs-list/2007-June/038875.html .
It touched 'api.py' for the time being as follows. But, I'm not sure.
def multicall(self, req, signatures): """ Takes an array of XML-RPC calls encoded as structs of the form (in a Pythonish notation here): {'methodName': string, 'params': array} """ for signature in signatures: try: yield self.get_method(signature['methodName'])(req, signature['params']) except xmlrpclib.Fault, e: #-#yield e yield xmlrpclib.dumps(("fault", str(e))) #-# MODIFY except Exception, e: #-#yield xmlrpclib.Fault(2, "'%s' while executing '%s()'" % (str(e), signature['methodName'])) yield xmlrpclib.dumps(("fault", str(e))) #-# MODIFY
# ( I resolved real problem referring #1075 .)
Attachments (0)
Change History (3)
comment:1 Changed 17 years ago by
Priority: | low → high |
---|
comment:3 Changed 16 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
I'm quite sure this is an installation issue. As far as I can see, errors are transmitted correctly using fresh Trac 0.11.x and trunk version of the plugin. Please reopen if problem persists with latest versions.
Note: See
TracTickets for help on using
tickets.
I have got same error, how deal with this?