Opened 6 years ago

Closed 5 years ago

#2746 closed defect (worksforme)

'cannot marshal <class 'xmlrpclib.Fault'> objects' while executing system.multicall()'

Reported by: nagamasa2005@… Owned by: athomas
Priority: high Component: XmlRpcPlugin
Severity: minor Keywords:
Cc: Trac Release: 0.11


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 .

It touched '' 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:
                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 6 years ago by anonymous

  • Priority changed from low to high

I have got same error, how deal with this?

comment:2 Changed 6 years ago by anonymous

I change the XmlRpcPlugin from 0.10 to trunk.Then it works.

comment:3 Changed 5 years ago by osimons

  • Resolution set to worksforme
  • Status changed from new to 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.

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.