[Zope-dev] unpickleable error

auto44082@hushmail.com auto44082@hushmail.com
Tue, 7 Mar 2000 07:09:58 -0800 (PST)


>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

I'm assigning a Microsoft Word document to "upload_file". I suppose I can 
try other types of files such as simple text. I know that MSWord files are 
binary in nature. If this poses a problem then I am truely confused.

When the Zobject I'm working with is created. I can assign a word document 
to the upload_file property without issue. There are no errors. I am able 
to manipulate it, read/write it to a local OS file, etc. The only difference,
 is that on object initialization, I create the property instead of change 
it as it does not yet exist, using the manage_addProperty method. I pass 
the method REQUEST['new_file'] just like I did in the example I posted to 
the list.

Do you or anyone else have any other ideas. Maybe I need to creat the property 
in this case as well?

-Andy


IMPORTANT NOTICE:  If you are not using HushMail, this message could have been read easily by the many people who have access to your open personal email messages.
Get your FREE, totally secure email address at http://www.hushmail.com.