TypeError: ('argument list must be a tuple') when trying load object from old zodb in Zope 2.12.0a1
Hi All, Any ideas what this means or where it's coming from? Module ZODB.Connection, line 808, in setstate Module ZODB.Connection, line 876, in _setstate Module ZODB.serialize, line 604, in setGhostState Module ZODB.serialize, line 597, in getState TypeError: ('argument list must be a tuple', <class 'Products.ParsedXML.DOM.Core.Document'>, None) cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
Hi All, Chris Withers wrote:
Any ideas what this means or where it's coming from?
Module ZODB.Connection, line 808, in setstate Module ZODB.Connection, line 876, in _setstate Module ZODB.serialize, line 604, in setGhostState Module ZODB.serialize, line 597, in getState TypeError: ('argument list must be a tuple', <class 'Products.ParsedXML.DOM.Core.Document'>, None)
I tracked this back to some documents which hadn't been changed in a few years. I worked around this by writing a Stepper job to go throguh and load/save all the affected document in Zope 2.9 before upgrading, which seems to have solved the problems in Zope 2.12. If anyone's interested, I have a ParsedXML product that works in Zope 2.12 that I'm happy to release... cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
Chris Withers wrote:
Chris Withers wrote:
Any ideas what this means or where it's coming from?
Module ZODB.Connection, line 808, in setstate Module ZODB.Connection, line 876, in _setstate Module ZODB.serialize, line 604, in setGhostState Module ZODB.serialize, line 597, in getState TypeError: ('argument list must be a tuple', <class 'Products.ParsedXML.DOM.Core.Document'>, None)
I tracked this back to some documents which hadn't been changed in a few years.
I worked around this by writing a Stepper job to go throguh and load/save all the affected document in Zope 2.9 before upgrading, which seems to have solved the problems in Zope 2.12.
Found this same behaviour with a 'Shared.DC.ZRDB.DA.SQL', will follow up on the zodb-dev list, as I think this belongs there... Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
participants (1)
-
Chris Withers