[Zope-dev] hard coded paths in pickles

Chris McDonough chrism@zope.com
08 Jul 2003 09:15:08 -0400


Use __module_aliases__: 

http://mail.zope.org/pipermail/zope-dev/2001-October/013636.html 

On Tue, 2003-07-08 at 02:31, kosh wrote: 
> I have been trying to clean up the structure in my python product and I find 
> that if I move any file zope can no longer load the object associated with 
> that file but new objects created work just fine. Unforunatley that is not an 
> option since I have a lot of old data that I need to keep. Is there a 
> solution to this problem that is feasible or with zope once you place a file 
> at some location you can't ever move it. If it is true that once a file is at 
> some location it can't be moved surely this needs to be fixed since it would 
> make it very hard for long projects since they could not clean up the layout 
> of the project over time as things change.
> 
> Thanks
> 
> _______________________________________________
> Zope-Dev maillist  -  Zope-Dev@zope.org
> http://mail.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists - 
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope )