Ticket #1245 (new defect)

Opened 2 years ago

Last modified 3 months ago

'cannot marshal None unless allow_none is enabled' while executing 'ticket.changeLog()'

Reported by: henko@henko.net Assigned to: athomas
Priority: normal Component: XmlRpcPlugin
Severity: normal Keywords:
Cc: jgoering@inetsoftware.de Trac Release: 0.10

Description

Accessing my Trac 0.10.3 repository through the Mylar plugin for Eclipse using XmlRpcPlugin 0.1, I got this error message when trying to open a ticket.

'cannot marshal None unless allow_none is enabled' while executing 'ticket.changeLog()'

Tickets created by Mylar through XmlRpcPlugin works fine, but not the ones created through the normal Trac web interface.

I realize this is very similar to #550, but that bug was set to be fixed and this problem still exists, so I'm not sure if this is another bug or if I should have reopened the old one. This error occurs in another method, though.

Attachments

xmlrpc-trac-0.11.patch (0.9 kB) - added by dgynn on 09/09/07 00:27:35.
xmlrpc_ticket_patch_1245.patch (0.6 kB) - added by dgynn on 09/09/07 00:28:57.

Change History

02/24/07 08:37:52 changed by henko@henko.net

While looking into it further, it seems that I can open some tickets created from the web interface. It further seems that all tickets which cannot be opened share one thing. They where assigned to a milestone which was then deleted. That is, the actual milestone was deleted while still having tickets assigned to it.

02/24/07 09:59:27 changed by athomas

Do you know if the XML-RPC client Mylar uses supports the none extension? If so I can just enable serialisation with this option enabled.

02/24/07 11:08:53 changed by henko@henko.net

Unfortunately I don't know. :-/ I guess the question could be asked in [Mylar's dev mailing list https://dev.eclipse.org/mailman/listinfo/mylar-dev], though.

06/11/07 05:36:27 changed by karl007@gmx.de

Any progress ? I've the same problem. All Bugs with deleted Milestone's can't submit. Even if the Milestone is changed...

09/09/07 00:27:35 changed by dgynn

  • attachment xmlrpc-trac-0.11.patch added.

09/09/07 00:28:57 changed by dgynn

  • attachment xmlrpc_ticket_patch_1245.patch added.

09/09/07 00:31:53 changed by dgynn

Arg. Ignore that first patch. Wrong file. The second patch has a fix for this. The problem is that authors are null in the changelog for some milestone deletes. This patch changes them to . Alternately, this could be done in Trac itself in the Ticket model.py. But this seems less disruptive.

02/21/08 21:30:14 changed by chris ät scoutnet d0t de

I am experiencing the same problem. I would be really happy about a fix. But I wonder about the patch. For me Mylyn complains about a ticket that does indeed have a "Reported by:" that is not empty. Or is this irrelevant?

07/29/08 08:32:45 changed by WouterVH

I have created an egg from svn-trunk for Trac 0.11, Updating tickets in Eclipse did'nt work, it fails with an error:

'cannot marshal None unless allow_none is enabled' while executing 'ticket.changeLog()'

I can confirm that the patch xmlrpc_ticket_patch_1245.patch fixes this problem. Please commit it to the trunk.

08/18/08 08:57:21 changed by jgoering@inetsoftware.de

  • cc set to jgoering@inetsoftware.de.

I have the same problem with 0.11, and the patch does NOT fix the problem.

It seems to occur on queries that have more than 100 results, and it appears the query returns a batch of 100 results, then the "crash" comes with the second query. Would be VERY nice to have this be fixed.

08/18/08 09:22:14 changed by jgoering@inetsoftware.de

Oops, correction: the error message I am getting is instead:

'cannot marshal None unless allow_non is enabled' while executing ' system.multicall() '

any thoughts?


Add/Change #1245 ('cannot marshal None unless allow_none is enabled' while executing 'ticket.changeLog()')




Change Properties
Action