heyas

i created a zope product called, XnetPage, which is basically a folderish
dtml document/zwikipage

the source for the product can be seen at
http://mu2.espnow.com/~tav/XnetPage.py

it's been a bumpy ride, but everything's gone well so far.

however, i have run into a problem which is beyond me. it is with regards to
error messages.

whenever, the text of the xnetpage is rendered, and there's an error... lets
say that i call <dtml-var hmz> and hmz, hasn't been defined... instead of
displaying a NameError, or whatever the appropriate error should be, it
gives me a TypeError

i even installed ZDebug, but, it's of no help here :/

in fact, the error message is over-ridden by the one in HTTPResponse.py

i have included a sample error traceback below, and hope that someone can
enlighten me as to what's wrong.

most of the code in the product is from the zwiki product, and some of the
voodoo magic is beyond me ;p

thanks in advance

----
  File /home/zope/k1/lib/python/DocumentTemplate/DT_String.py, line 538, in
__call__
    (Object: test_page)
  File /home/zope/k1/lib/python/Products/ZDebug/DTMLDebug.py, line 259, in
debug_render_blocks
  File /home/zope/k1/lib/python/Products/ZDebug/DTMLDebug.py, line 228, in
debugException
  File /home/zope/k1/lib/python/Products/ZDebug/DTMLDebug.py, line 155, in
debugWithNamespace
  File /home/zope/k1/lib/python/Products/ZDebug/DTMLDebug.py, line 74, in
explodeNamespaceStack
  File /home/zope/k1/lib/python/ZPublisher/HTTPRequest.py, line 935, in
__str__
  File /home/zope/k1/lib/python/Products/XnetPage/XnetPage.py, line 811, in
__repr__
    (Object: test_page
TypeError: call of non-function (type string)
----

--
best regards, tav
[EMAIL PROTECTED]


_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to