[Zope3-dev] Debugging Error in Zope 3

Joseph Griffin jgriffin@pclnet.net
Wed, 30 Jul 2003 08:47:26 -0600


Can anyone help me with this. I'm trying the debugging functionality out. Code 
is fresh from CVS.

Python 2.2.3 (#42, May 30 2003, 18:12:08) [MSC 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from zope.app import Application
>>> app = Application('C:\WorkProjects\Downloads\Zope\Zope3', 'C:\WorkProjects\D
ownloads\Zope\Zope3\site.zcml')
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "C:\WorkProjects\Downloads\Zope\Zope3\src\zope\app\_app.py", line 86, in
__init__
    self.db = database(db)
  File "C:\WorkProjects\Downloads\Zope\Zope3\src\zope\app\_app.py", line 73, in
database
    publish(None, event.DatabaseOpened(db))
  File "C:\WorkProjects\Downloads\Zope\Zope3\src\zope\app\event\__init__.py", li
ne 29, in publish
    return getEventService(context).publish(event)
  File "C:\WorkProjects\Downloads\Zope\Zope3\src\zope\app\event\globalservice.py
", line 236, in globalNotifyOrPublish
    queryAdapter(subscriber, ISubscriber).notify(event)
  File "C:\WorkProjects\Downloads\Zope\Zope3\src\zope\app\process\bootstrap.py",
 line 67, in notify
    connection = db.open()
AttributeError: 'str' object has no attribute 'open'

Thanks,
Joseph


"A living dog is better than a dead lion."    Ecclesiastes 9:4