I just installed sqlsession 0.2.9 in my NT with zope version 2.1.6, and I 
had created the table in Gadfly according to the given sql schema.

When I try to load the Session into my page, it just work for the first 
time, after that I got an error like this :

Zope Error

Zope has encountered an error while publishing this resource.
Sorry, a Zope error occurred.

and when I view the source, I got this :

Traceback (innermost last):
  File E:\MYBOOK~2\lib\python\ZPublisher\Publish.py, line 214, in 
  File E:\MYBOOK~2\lib\python\ZPublisher\Publish.py, line 179, in publish
  File E:\MYBOOK~2\lib\python\Zope\__init__.py, line 202, in 
    (Object: ApplicationDefaultPermissions)
  File E:\MYBOOK~2\lib\python\ZPublisher\Publish.py, line 165, in publish
  File E:\MYBOOK~2\lib\python\ZPublisher\mapply.py, line 160, in mapply
    (Object: index_html)
  File E:\MYBOOK~2\lib\python\ZPublisher\Publish.py, line 102, in 
    (Object: index_html)
  File E:\MYBOOK~2\lib\python\OFS\DTMLDocument.py, line 166, in __call__
    (Object: index_html)
  File E:\MYBOOK~2\lib\python\DocumentTemplate\DT_String.py, line 502, in 
    (Object: index_html)
  File E:\MYBOOK~2\lib\python\OFS\DTMLMethod.py, line 146, in __call__
    (Object: standard_html_header)
  File E:\MYBOOK~2\lib\python\DocumentTemplate\DT_String.py, line 502, in 
    (Object: standard_html_header)
  File E:\MYBOOK~2\lib\python\Products\SQLSession\SQLSession.py, line 294, 
in __call__
    (Object: Session)
  File E:\MYBOOK~2\lib\python\Shared\DC\ZRDB\DA.py, line 424, in __call__
    (Object: sqlSessionLookup)
  File E:\MYBOOK~2\lib\python\DocumentTemplate\DT_String.py, line 502, in 
    (Object: <string>)
  File E:\MYBOOK~2\lib\python\Shared\DC\ZRDB\sqltest.py, line 179, in render
    (Object: zsession)
KeyError: zsession


Is this cause by the wrong database field name or what ??


Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to