xml_pickle load problem

David Mertz, Ph.D. groups.google at gnosis.cx
Fri Jul 30 16:47:57 EDT 2004


"Dan" <dan at eloff.info> wrote in message news:<mailman.822.1090859391.5135.python-list at python.org>...
> I also failed to get load to work, but I received a different error. I
> tried contacting David Mertz twice, but either he's very busy or the
> spam filter he made for himself is horrible.

I did not get any note from Dan; nor can I find evidence of it in my
spam filter.  At least the string 'eloff' doesn't occur in the
filtered mail.  Maybe he wrote from some other address.  I also don't
find 'xml_pickle' in flagged headers; but who knows what subject line
might have been used.

>                      xml_str = f.read()
>                      xml_pickle.MyClass = MyClass
>                      obj = xml_pickle.XML_Pickler().loads(xml_str))
>                      f.close()
> Traceback (most recent call last):
>    File "C:\Programme\Python23\wxOSP_geht\xml_pickle.py", line 587, in ?
>      t = o.loads(s)

Anyway... this appears to be an ANCIENT version of xml_pickle.  It's
been a couple years since the module was incorporated into
Gnosis.Utilities, and the module called gnosis.xml.pickle.  I'm happy
to look at any bugs users encounter, but I'm not going to worry too
much about a three year old version. Try a more recent one first.

It *is* true that the DTD for gnosis.xml.pickle is out of date.  I
know I should fix that for the next release.  I'll try to find time. 
But a DTD is not mostly necessary anyway.



More information about the Python-list mailing list