[Zope] Zope.app() error

Mark Gibson mark at dimensional.com
Wed Jun 16 14:18:03 EDT 2004


Zope Version 
(unreleased version, python 2.3.4, linux2) 
  actually Zope-2.7.1-b2
Python Version 
2.3.4 

----------

Trying to track down a POSKeyError, I got through my usual process:


[root at server2 local]# python2.3
>>> import ZODB, Zope
>>> app = Zope.app()

And get an error.  This is the first time I'm doing this with 2.7, is
this the problem?  Any ideas on how to resolve this?

----------------

Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/local/zope/SH/lib/python/Zope/__init__.py", line 51, in app
    startup()
  File "/usr/local/zope/SH/lib/python/Zope/__init__.py", line 47, in
startup
    _startup()
  File "/usr/local/zope/SHlib/python/Zope/App/startup.py", line 57, in
startup
    DB = configuration.dbtab.getDatabase('/', is_root=1)
AttributeError: 'NoneType' object has no attribute 'getDatabase'



-- 
Mark Gibson <mark at dimensional.com>




More information about the Zope mailing list