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
Go to the management interface, Properties, and hit 'Change'. Anthony
wai@mahirnet.com wrote 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
_______________________________________________ Zope maillist - Zope@zope.org 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 )
-- Anthony Baxter <anthony@interlink.com.au> It's never too late to have a happy childhood.
participants (2)
-
Anthony Baxter -
wai@mahirnet.com