Hello, I tried to use the XML export feature of an ordered Folder tree but got: Traceback (innermost last): Module ZPublisher.Publish, line 100, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 40, in call_object Module OFS.ObjectManager, line 502, in manage_exportObject Module OFS.XMLExportImport, line 58, in exportXML Module OFS.XMLExportImport, line 33, in XMLrecord Module Shared.DC.xml.ppml, line 253, in load Module pickle, line 872, in load Module pickle, line 1209, in load_appends AttributeError: List instance has no attribute 'extend' Any hint what might went wrong here? Kind regards Andreas.
Andreas Tille wrote at 2004-5-14 14:51 +0200:
... Module Shared.DC.xml.ppml, line 253, in load Module pickle, line 872, in load Module pickle, line 1209, in load_appends AttributeError: List instance has no attribute 'extend'
Almost surely, a "load_appends" definition is missing in the "ToXMLUnpickler" definition of "Shared.DC.xml.ppml". -- Dieter
On Fri, 14 May 2004, Dieter Maurer wrote:
Almost surely, a "load_appends" definition is missing in the "ToXMLUnpickler" definition of "Shared.DC.xml.ppml". Any hint where exactly this call has to be inserted in
lib/python/Shared/DC/xml/ppml.py ? Kind regards Andreas.
Andreas Tille wrote at 2004-5-14 22:41 +0200:
On Fri, 14 May 2004, Dieter Maurer wrote:
Almost surely, a "load_appends" definition is missing in the "ToXMLUnpickler" definition of "Shared.DC.xml.ppml". Any hint where exactly this call has to be inserted in
lib/python/Shared/DC/xml/ppml.py
When you carefully read my message, you will find out that I spoke of a missing definition (and not of a missing call). Once you have done that, there is (hopefully) no longer any question with respect to the precise location... Much more interesting is the question, how "load_appends" should be implemented. To give an answer to this question, I would need to understand how the ToXMLUnpickler" is supposed to work. This would take me about 1/2 to 1 hour. Far too much in view that I do not have this problem. -- Dieter
participants (2)
-
Andreas Tille -
Dieter Maurer