Maximum recursion depth

Sujit Marar sujit_marar at yahoo.com
Mon Jul 12 08:27:22 CEST 2004


 When I run on Webware(Python application Server),
there is a web Page  that has a "Cancel" button , When
I press the Cancel  button , I get the following error
based on the  following code snippet
 
 def Cancel(self):
             """ 
             Cancel the current page 
              """ 
             log.debug("cancel()")
             self.forward("Display")
  
 
 Traceback (most recent call last):
   File "WebKit\Application.py", line 415, in
 dispatchRequest
   File "WebKit\Application.py", line 567, in
 handleGoodURL
   File "WebKit\Application.py", line 776, in respond
   File "WebKit\Transaction.py", line 105, in respond
   File "WebKit\HTTPServlet.py", line 38, in respond
   File "WebKit\Page.py", line 38, in respondToPost
   File "WebKit\Page.py", line 70, in _respond
   File "WebKit\Page.py", line 265, in handleAction
   File "C:\agents\context\pageedit\Display.py", line
 140, in Cancel
     self.forward("Display")
   File "WebKit\Page.py", line 335, in forward
   File "WebKit\Application.py", line 652, in forward
   File "WebKit\Application.py", line 430, in
 dispatchRequest
   File "WebKit\Application.py", line 1076, in
 handleExceptionInTransaction
   File "WebKit\ExceptionHandler.py", line 104, in
 __init__
   File "WebKit\ExceptionHandler.py", line 136, in
work
   File "WebKit\ExceptionHandler.py", line 168, in
 logExceptionToConsole
   File "D:\Python23\lib\traceback.py", line 210, in
 print_exc
     print_exception(etype, value, tb, limit, file)
   File "D:\Python23\lib\traceback.py", line 123, in
 print_exception
     print_tb(tb, limit, file)
   File "D:\Python23\lib\traceback.py", line 68, in
 print_tb
     line = linecache.getline(filename, lineno)
   File "D:\Python23\lib\linecache.py", line 14, in
 getline
     lines = getlines(filename)
   File "D:\Python23\lib\linecache.py", line 40, in
 getlines
     return updatecache(filename)
 RuntimeError: maximum recursion depth exceeded
This eems not a problem with Webware, but with
Python2.3 KIt
Can anyone tell me

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the Python-list mailing list