Shane Hathaway wrote:
http://www.zope.org/Members/hathawsh/ZDebug/index_html
ZDebug is a set of patches to Zope that help in the deciphering of DTML errors and authorization exceptions. Because this is the first release, remember to make a backup before installing.
Saw the screenshots and thought "this looks amazingly useful" :-) It was, but, the version from the tarball doesn't seem to match up quite with: http://www.zope.org/Members/hathawsh/ZDebug/example Using your sample 'bad' DTML, I got the same but the 'Contains name?' column didn't show up :-( Any ideas? (yes, I was tracking down a security exception, and that column may have been really useful ;-) ...speaking of which, this is related to the following PTK Tracker Issue: http://www.zope.org/Products/PTK/Tracker/110 while Andy and I were playing with some stuff, we managed to make ZDebug cry by giving the discussion_thread_view DTML method the 'Member' proxy role and then viewing it from a Member's toolbox (what's the new name for that?) on the left: Error Type: TypeError Error Value: not all arguments converted (if any more details would be helpful, please drop either of us a mail, traceback in ps) Well, thanks for the product, it looks like being _extremely_ useful :-))
Keep up the awesome work!
Urm, I'm sure it's the community who should be saying that to you :P Chris PS: Traceback (innermost last): File E:\Zope\227194~1.0\lib\python\ZPublisher\Publish.py, line 222, in publish_module File E:\Zope\227194~1.0\lib\python\ZPublisher\Publish.py, line 187, in publish File E:\Zope\227194~1.0\lib\python\Zope\__init__.py, line 221, in zpublisher_exception_hook (Object: index_html) File E:\Zope\227194~1.0\lib\python\ZPublisher\Publish.py, line 171, in publish File E:\Zope\227194~1.0\lib\python\ZPublisher\mapply.py, line 160, in mapply (Object: discussion_thread_view) File E:\Zope\227194~1.0\lib\python\ZPublisher\Publish.py, line 112, in call_object (Object: discussion_thread_view) File E:\Zope\227194~1.0\lib\python\OFS\DTMLMethod.py, line 167, in __call__ (Object: discussion_thread_view) File E:\Zope\2.2.0\lib\python\Products\ZDebug\DTMLLocator.py, line 103, in __call__ (Object: discussion_thread_view) File E:\Zope\227194~1.0\lib\python\DocumentTemplate\DT_String.py, line 502, in __call__ (Object: discussion_thread_view) File E:\Zope\2.2.0\lib\python\Products\ZDebug\DTMLDebug.py, line 259, in debug_render_blocks File E:\Zope\2.2.0\lib\python\Products\ZDebug\DTMLDebug.py, line 179, in debugException (Object: title) File E:\Zope\227194~1.0\lib\python\OFS\DTMLMethod.py, line 189, in validate (Object: discussion_thread_view) File E:\Zope\227194~1.0\lib\python\AccessControl\SecurityManager.py, line 139, in validate File E:\Zope\2.2.0\lib\python\Products\ZDebug\DebugSecurityPolicy.py, line 234, in validate TypeError: (see above)