greetings: every now and then I will get this error from Zope. hangs around for a while and then disappears again. Text follows: Traceback (innermost last): File /home/chris/mysite/lib/python/ZPublisher/Publish.py, line 223, in publish_module File /home/chris/mysite/lib/python/ZPublisher/Publish.py, line 187, in publish File /home/chris/mysite/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: Traversable) File /home/chris/mysite/lib/python/ZPublisher/Publish.py, line 171, in publish File /home/chris/mysite/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: post) File /home/chris/mysite/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: post) File /home/chris/mysite/lib/python/OFS/DTMLMethod.py, line 189, in __call__ (Object: post) File /home/chris/mysite/lib/python/DocumentTemplate/DT_String.py, line 538, in __call__ (Object: post) File /home/chris/mysite/lib/python/DocumentTemplate/DT_Util.py, line 334, in eval (Object: item_index_html(_.None, _, created=ZopeTime, title=REQUEST.form['title'])) (Info: item_index_html) File <string>, line 0, in ? NameError: (see above) Any ideas whats causing this. Say this generated by squishdot some times, this time from another application. Being new to all this, I really have no idea what the issue is. Any isights would be greatly appreciated. Chris
Looks like you're passing in "ZopeTime" (the function object) instead of "ZopeTime()" (the return value of the function object). HTH, - C Chris Herrnberger wrote:
greetings:
every now and then I will get this error from Zope. hangs around for a while and then disappears again. Text follows:
Traceback (innermost last): File /home/chris/mysite/lib/python/ZPublisher/Publish.py, line 223, in publish_module File /home/chris/mysite/lib/python/ZPublisher/Publish.py, line 187, in publish File /home/chris/mysite/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: Traversable) File /home/chris/mysite/lib/python/ZPublisher/Publish.py, line 171, in publish File /home/chris/mysite/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: post) File /home/chris/mysite/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: post) File /home/chris/mysite/lib/python/OFS/DTMLMethod.py, line 189, in __call__ (Object: post) File /home/chris/mysite/lib/python/DocumentTemplate/DT_String.py, line 538, in __call__ (Object: post) File /home/chris/mysite/lib/python/DocumentTemplate/DT_Util.py, line 334, in eval (Object: item_index_html(_.None, _, created=ZopeTime, title=REQUEST.form['title'])) (Info: item_index_html) File <string>, line 0, in ? NameError: (see above)
Any ideas whats causing this. Say this generated by squishdot some times, this time from another application. Being new to all this, I really have no idea what the issue is. Any isights would be greatly appreciated.
Chris
_______________________________________________ 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 )
On Monday 09 April 2001 22:48, Chris McDonough wrote:
Looks like you're passing in "ZopeTime" (the function object) instead of "ZopeTime()" (the return value of the function object).
HTH,
Yup sure does. A little more checking indicated that when I enter the site area as user anonymouse no cookie is set by the application. When I enter the site as owner, all works as it should. While the relationship with cookies is beyond me at present, it seems to solve the problem, and as the site is a working site (documentation generation and review) not for publlic access I guess it all works as it should, once cookies are set. Application Im using currently for a light internal discussion board is ZDiscussions. Thanks for such an immediate response...its appreciated.... Chris
participants (2)
-
Chris Herrnberger -
Chris McDonough