I've seen this before if Anonymous does not have the permission "Access contents information" at the root of your Zope installation. It's easy to try it out at least. -- JZ Florian Konnertz wrote:
Hi all,
I'm still bothered with the misbehaving ZopeTime object. If you could give me further debugging tips i would be very thankful.
The story: I upgraded to 2.6.1 and ZWiki-0.16 and everthing worked well. After a certain time i get ZopeTime errors, the server is running from the beginning. I reproduced these errors with a brandnew installation of 2.6.1 and as the only product ZWiki.
As an example of several errors take this one: http://openspirit.homelinux.net/noowiki/IssueTracker The issue tracker needs a catalog. With a clean catalog there are no errors, but with a fresh built one i get this error:
Traceback (innermost last):
* Module ZPublisher.Publish, line 102, in publish * Module ZPublisher.mapply, line 88, in mapply * Module ZPublisher.Publish, line 43, in call_object * Module Products.ZWiki.ZWikiPage, line 221, in __call__ * Module Products.ZWiki.ZWikiPage, line 233, in _render * Module Products.ZWiki.ZWikiPage, line 416, in render_stxprelinkdtmlhtml * Module OFS.DTMLDocument, line 134, in __call__ * Module DocumentTemplate.DT_String, line 474, in __call__ * Module OFS.DTMLMethod, line 120, in __call__ * Module DocumentTemplate.DT_String, line 474, in __call__ * Module DocumentTemplate.DT_Let, line 76, in render * Module DocumentTemplate.DT_Let, line 76, in render * Module DocumentTemplate.DT_In, line 705, in renderwob * Module DocumentTemplate.DT_Let, line 75, in render * Module DocumentTemplate.DT_Util, line 204, in eval __traceback_info__: _ * Module <string>, line 2, in f
NameError: global name 'ZopeTime' is not defined
-----
So i logged some objects in ZWikiPage.py and other places. Maybe you can give me a hint if there are correct values.
* Module ZPublisher.Publish, line 102, in publish * Module ZPublisher.mapply, line 88, in mapply * Module ZPublisher.Publish, line 43, in call_object 2003-03-18T10:51:45 TRACE(-300) Publisher--call_object: The wiki DTML document --> OK. Publisher--call_object: args (<Folder instance at 93d0d70>, <HTTPRequest, URL=http://openspirit.homelinux.net/noowiki/IssueTracker>, ZServerHTTPResponse('')) --> OK? --> REQUEST object is also ok.
* Module Products.ZWiki.ZWikiPage, line 221, in __call__ __call__-client <Folder instance at b54ba20> --> OK? --> REQUEST, RESPONSE seem to be ok. __call__-kw {} --> ?? no kw?
* Module Products.ZWiki.ZWikiPage, line 233, in _render same as in __call__
* Module Products.ZWiki.ZWikiPage, line 416, in render_stxprelinkdtmlhtml in apply: client: is the wiki page raw text REQ, RESP, kw same as above --> Is this ok?
* Module OFS.DTMLDocument, line 134, in __call__ * Module DocumentTemplate.DT_String, line 474, in __call__ * Module OFS.DTMLMethod, line 120, in __call__ self: <dtml-if "error_typ... (standard_error_msg) --> I guess this is due to the error now!
kw: {'document_id': 'standard_error_message', 'error_type': 'NameError', 'error_message': '', 'error_log_url': 'http://openspirit.homelinux.net/error_log/showEntry?id=1047981994.230.471187...', 'error_tb': "<p>Traceback (innermost last):\r\n<ul>\n\n<li> Module ZPublisher.Publish, line 102, in publish</li>\n\n<li> Module ZPublisher.mapply, line 88, in mapply</li>\n\n<li> (...)
[...] __traceback_info__: _ * Module <string>, line 2, in f
As Dieter told me already to check if the DTML-Doc is called correctly, i'd like to check this. How can i do this? Which debugging info and tools are useful in this case?
Any help is much appreciated!
Florian