Your createDB external method looks right to me... can you make sure it's "refreshed" (click save again in the mgmt UI, then restart Zope just in case).... It would be interesting to see what happened if you attempted to run it using the test tab aftewards. Ron Bickers wrote:
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.
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- Chris McDonough Zope Corporation http://www.zope.org http://www.zope.com "Killing hundreds of birds with thousands of stones"