[Zope] ZODB limits

Paul Winkler pw_lists at slinkp.com
Mon Jan 26 11:27:27 EST 2004


On Mon, Jan 26, 2004 at 11:06:18AM -0500, Ed Leafe wrote:
> On Jan 23, 2004, at 12:14 PM, azazel wrote:
> 
> >You can use DirectoryStorage http://dirstorage.sf.net that is a 
> >drop-in replacement for FileStorage. It uses one file per object 
> >version
> 
> 	This looks promising. I've downloaded and installed it, but I don't 
> understand the script for copying data from FileStorage into 
> DirectoryStorage. From where is that script supposed to be run? I tried 
> running it from my Zope directory, using the Zope python, and got 
> errors. Running interactively, it chokes on the first line:
> 
> >>> from ZODB.FileStorage import FileStorage
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
> ImportError: No module named ZODB.FileStorage
> 
> 	What am I (obviously) missing?

you probably need to do:
export PYTHONPATH=zope-src/lib/python
... where zope-src is the zope source directory.

there are lots of zodb scripts that require this,
and it seems to be an unspoken rule that users should
figure it out the hard way ;-)

-- 

Paul Winkler
http://www.slinkp.com
Look! Up in the sky! It's CARDIO-FLOWER WITICIST!
(random hero from isometric.spaceninja.com)



More information about the Zope mailing list