[Zope] SQLSession path

wai@mahirnet.com wai@mahirnet.com
Fri, 7 Jul 2000 16:51:09 +0800


Hi All,

Using SQLSession v 0.2.9, hit by this problem :

Zope Error

             Zope has encountered an error while publishing this resource.

             AttributeError

             Sorry, a Zope error occurred.

<!--
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 287,
in __call__
    (Object: Session)
  File E:\MYBOOK~2\lib\python\Products\SQLSession\SQLSession.py, line 320,
in newSession
    (Object: Session)
AttributeError: path

-->

And I had checked the SQLsession.py, the script stop at :
         response.setCookie(self.cookie_name, sessionName, path=self.path)

But I called the session with cookie.

Any idea what's wrong ??

Please help. Thanks

Wai