473,233 Members | 1,374 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,233 software developers and data experts.

Maximum recursion depth

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
Traceback (most recent call last):
File "WebKit\Application.py", line 415, in
File "WebKit\Application.py", line 567, in
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
File "WebKit\Page.py", line 335, in forward
File "WebKit\Application.py", line 652, in forward
File "WebKit\Application.py", line 430, in
File "WebKit\Application.py", line 1076, in
File "WebKit\ExceptionHandler.py", line 104, in
File "WebKit\ExceptionHandler.py", line 136, in
File "WebKit\ExceptionHandler.py", line 168, in
File "D:\Python23\lib\traceback.py", line 210, in
print_exception(etype, value, tb, limit, file)
File "D:\Python23\lib\traceback.py", line 123, in
print_tb(tb, limit, file)
File "D:\Python23\lib\traceback.py", line 68, in
line = linecache.getline(filename, lineno)
File "D:\Python23\lib\linecache.py", line 14, in
lines = getlines(filename)
File "D:\Python23\lib\linecache.py", line 40, in
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
Jul 18 '05 #1
2 2615
Sujit Marar wrote:

This eems not a problem with Webware, but with
Python2.3 KIt
Can anyone tell me

import sys
print sys.getrecursionlimit()

will tell you this limit. On my system is 1000.
You can set it with:


But you need to wonder why you Webware exceeded it
in the first place...


Jul 18 '05 #2
On Mon, Jul 12, 2004 at 04:37:25PM -0400, Istvan Albert wrote:
But you need to wonder why you Webware exceeded it
in the first place...

If the OP included the full traceback, one has to wonder why webware
made the recursion depth so small -- there are only a few dozen frames


Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFA9SxFJd01MZaTXX0RAoy4AJ4xF5A0bHGoOIhuud+k+j eeBkKkmQCdFC22

Jul 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

by: Simon Burton | last post by:
Hi, I am pickling big graphs of data and running into this problem: File "/usr/lib/python2.2/pickle.py", line 225, in save f(self, object) File "/usr/lib/python2.2/pickle.py", line 414, in...
by: Georgy Pruss | last post by:
Sometimes I get this error. E.g. >>> sum = lambda n: n<=1 or n+sum(n-1) # just to illustrate the error >>> sum(999) 499500 >>> sum(1000) ............ RuntimeError: maximum recursion depth...
by: Dan | last post by:
I've encountered some strange behavior in a recursive procedure I'm writing for a bill of materials. First let me ask directly if what I think is happening is even possible: It seems like the...
by: yogee | last post by:
Hi, I want to know if we have any limit for calling any function recoursively. If there is any, On what parameters this limit depends? and is it different for .net 1.0, 1.1 and 2.0? Thank you,...
by: MakeMineScotch | last post by:
What's the secret to writing recursive functions that won't crash the computer?
by: robert | last post by:
My code does recursion loops through a couple of functions. Due to problematic I/O input this leads sometimes to "endless" recursions and after expensive I/O to the Python recursion exception. What...
by: cwig | last post by:
The following code fails: <?xml version="1.0" encoding="iso-8859-1"?> <!-- Based on a template found here: http://www.stylusstudio.com/xsllist/200303/post91230.html --> <xsl:stylesheet...
by: lovecreatesbea... | last post by:
The following function determines the maximum of two integers. It works on my machine. If (a - a) is negative, what's the first bit of: (unsigned)(a - a)? Is it 0 or 1? #include <limits.h>...
by: globalrev | last post by:
i received an error maximum recursion depth when processing large amounts of data. i dont know exactly how many recursive calls i made but id assume 50000 or so. is there a definitie limit...
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.