[Zope] noundo dbs

Bak@kedai bak@nstp.com.my
Wed, 31 Jan 2001 12:45:58 +0800


On Wednesday 31 January 2001 12:09, Chris McDonough wrote:
> And a third message...
>
thanks for the prompt replies.  to recap, i have
-Berkeley DB
-External Mount
-something that i'm not too sure of :)

as i see it, i can use External mount to mount berkeley Db.  that will then 
give me a nonundo, nonversioning db.. right?

if i use FileStorage with ExternalMount, it'll be just another ZODB.  i hope 
i'm right.

if i want to use it across ZEO Clients, i *must* use ZEO.ClientStorage.  
correct me if i'm wrong, please.

to test a simple setup, i tried FileStorage with External Mount.  and i 
encountered a little problem.  here's what i have
-ExternalMount
-External Method[1]

when i tried adding an ExternalMount, i got this[2] traceback.  help?

p/s - what about storing CoreSessionTracking data in RDB?
--
[1]
---ExtDB.py

import ZODB
from ZODB.FileStorage import FileStorage
 
def createDB():
        return ZODB.DB(FileStorage('/home/kdie/Zope/var/ext.fs')) 
----
[2]
 <P><STRONG>NameError</STRONG></P>
  
  Sorry, a Zope error occurred.<p>
<!--
Traceback (innermost last):
  File /home/kdie/Zope/lib/python/ZPublisher/Publish.py, line 222, in 
publish_module
  File /home/kdie/Zope/lib/python/ZPublisher/Publish.py, line 187, in publish
  File /home/kdie/Zope/lib/python/Zope/__init__.py, line 221, in 
zpublisher_exception_hook
  File /home/kdie/Zope/lib/python/ZPublisher/Publish.py, line 171, in publish
  File /home/kdie/Zope/lib/python/ZPublisher/mapply.py, line 160, in mapply
    (Object: manage_addExternalMount)
  File /home/kdie/Zope/lib/python/ZPublisher/Publish.py, line 112, in 
call_object
    (Object: manage_addExternalMount)
  File /home/kdie/Zope/lib/python/Products/ExternalMount/ExternalMount.py, 
line 112, in manage_addExternalMount
    (Object: ApplicationDefaultPermissions)
  File /home/kdie/Zope/lib/python/ZODB/Mount.py, line 279, in _test
    (Object: A)
  File /home/kdie/Zope/lib/python/ZODB/Mount.py, line 246, in _getOrOpenObject
    (Object: A)
NameError: mcc

----

http://www.kedai.com.my/kk 
http://www.kedai.com.my/eZine 

as you woke this morning, and open up your eyes, did you notice the tear 
stains lining your face were mine..