[Zope-dev] hard coded paths in pickles

2003-07-08 Thread kosh
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  -  [EMAIL PROTECTED]
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 )


Re: [Zope-dev] hard coded paths in pickles

2003-07-08 Thread Chris McDonough
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  -  [EMAIL PROTECTED]
 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 )


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
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 )