I am using __setstate__ to reload files into memory for objects of a product I
have made.  This all works nicely, as is it supposed to.  The problem though is
that the object seems not to know about its environment at that time, i.e. it
cannot acquire methods further back in the hierachy, but is able to perfectly
well once it is fully instantiated.  For example a product method may call a
render method that exists quite root to the whole site.  This product method
will work fine when the object is fully instantiated , but trying to call that
render method during __setstate__ fails.


Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to