auto44082@hushmail.com wrote:
I posted the whole problem to the list earlier but had no takers. So I'm trying to break it down and figure it out that way.
Does anyone know what causes unpickleable errors?
Trying to pickle (serialize into a storable format) an unplickable object, such as a fuction.
want the file converted). All my dtml method does is change data in a few already-defined properties. I've commented out my dtml statements and put them back in one at a time, to see if I can isolate the one which is causing the error. Here it is:
<dtml-call "manage_changeProperties(upload_file=REQUEST['new_file'],)">
"new_file" is the name of an input field of type "file" in the form the dtml method containing the line above was called from. If i replace the line above with the following:
<dtml-call "manage_changeProperties(upload_file='This is a test',)">
things work fine.
what gets assigned to 'upload_file' is probably not pickleable. What that is I don't know, you will have to find out what kind of object is getting assigned or is trying to store itself as a property. This is just a guess, there is not enough information to pin it down exactly. -Michel