Gabriel Genellina ha scritto: > At Monday 18/12/2006 13:25, Hole wrote: > > > > At this point, I got the error: attribute name must be string > > > >I'm wondering if the exception is raised in a hidden function and not > >in the explicit call to getattr(). How can I view the traceback in a > >script running in zope?? > > (Which Zope version?) > If you don't catch the exception, an error page will be displayed, > pointing to the error_log object. > >
Hi Gabriel, thanks a lot for your replies. I've resolved the problem catching the exception and printing the traceback in a file. The problem was, indeed, in a getattr() call performed in another function, to which I passed an int rather than a string. Bye! -- DN -- http://mail.python.org/mailman/listinfo/python-list