[Zope] CoreSessionTracking: save file object
Chris McDonough
chrism@zope.com
Wed, 31 Oct 2001 15:22:02 -0500
Not really. You could convert it to a Zope File object before trying
to put it into CST, that would probably work.
----- Original Message -----
From: "Milos Prudek" <milos.prudek@tiscali.cz>
To: <zope@zope.org>
Sent: Wednesday, October 31, 2001 12:46 PM
Subject: [Zope] CoreSessionTracking: save file object
> Can i save a file object <input type="file" name="file"> to
> CoreSessionTracking?
>
> I have a :records which I convert to a list of dictionaries. The net
> result is:
> [{'description':'Elvis','file':<file
> instance>},{'description':'Madonna','file':<file instance>},...]
>
> When I try to save this to CST, I get Unpickleable Error: cannot
pickle
> objects.
>
> --
> Milos Prudek
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
>