[Zope] Weird Problem with Script(Python)

Dieter Maurer dieter@handshake.de
Fri, 27 Jun 2003 00:40:43 +0200

Andreas Pakulat wrote at 2003-6-25 00:33 +0200:
 > I've got a Script(Python) which is a method of a ZClass, now if I call
 > this script using an instance of the ZClass I get:
 > Error Type: IndexError
 > Error Value: string index out of range
 > ...
 > How can I track down this problem?


   When you get an exception, you analyse the traceback...
   It tells you where the exception has been raised.

   When you do not understand the traceback, you post it together with
   your problem report.

 > I really have no Idea how to get to
 > the point where this Error comes from

The traceback will tell you...