Hello,

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.
KeyError
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 
publish_module
  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 
zpublisher_exception_hook
    (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 
call_object
    (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 
__call__
    (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 
__call__
    (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 
__call__
    (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 ??

Leong

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


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

Reply via email to