A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2005-September/331556.html below:

WindowsError: stack overflow

WindowsError: stack overflowhardieca at hotmail.com hardieca at hotmail.com
Tue Sep 27 11:16:49 EDT 2005
Hi,

I'm developing a program that analyzes all the webpages on my
webserver.

I've created one class, Filewalker(), with a function that returns the
paths of all ASP pages of interest as a list, which I then turn into a
tuple.

I then iterate over the tuple, passing each path to my Analyzer()
class, which immediately creates an instance of Webpage(), which takes
the path and using urllib, downloads the source of the webpage and
returns it as a string to the Analyzer() object. The Analyzer() object
then examines the source, and when it comes across an error in the
source, writes the error to a log file.

I can get through about 1750 pages of 5000 before I get a WindowsError:
stack overflow exception. Any ideas how I can keep the program chugging
along?

Regards,

Chris


More information about the Python-list mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4