[Zope] Zope.app() error

Paul Winkler pw_lists at slinkp.com
Thu Jun 24 11:15:44 EDT 2004


On Wed, Jun 16, 2004 at 12:18:03PM -0600, Mark Gibson wrote:
> 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?

Yep, there's a new step needed as of 2.7:

      import Zope
      Zope.configure('/path/to/zope.conf')
      app = Zope.app()

-- 

Paul Winkler
http://www.slinkp.com


More information about the Zope mailing list