[Zope] CST and disappearing variables

Ron Bickers rbickers-dated-1002389733.7800b4@logicetc.com
Sat, 29 Sep 2001 13:35:33 -0400


> However, I'm not sure what to use as an
> external method to return the storage.  I guessed this:
>  ...

This seems more correct based on what I've read:

  import ZODB
  from bsddb3Storage.Packless import Packless

  def createDB():
      env = '/path/to/var/CSTStorage'
      return ZODB.DB(Packless(name='CSTStorage', env=env))

But I still get an error:

  Error Type: AttributeError
  Error Value: Packless instance has no attribute 'open'

Surely I'm just ignorant of something simple.
_______________________

Ron Bickers
Logic Etc, Inc.