[Zope] Zope time error

Chris McDonough chrism@digicool.com
Mon, 09 Apr 2001 23:48:59 -0400


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 )