A RetroSearch Logo

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

Search Query:

Showing content from https://www.mail-archive.com/html5lib-discuss@googlegroups.com/msg00172.html below:

maximum recursion depth exceeded in tree traversal (python)

Issue 59: maximum recursion depth exceeded in tree traversal (python)
http://code.google.com/p/html5lib/issues/detail?id=59
Comment #2 by mike.liang:
Seems like this is a common problem.

I tried parsing http://www.imdb.com/ and http://www.cnn.com/ with the 
same result :(

u = "http://www.imdb.com/";
d = urllib.urlopen(u).read()
p = 
html5lib.HTMLParser(tree=html5lib.treebuilders.getTreeBuilder("beautifulsoup"))
t = p.parse(d)

Child
   File "build\bdist.win32\egg\html5lib\treebuilders\soup.py", line 34, 
in append
[... repeated many times ...]
Child
   File "build\bdist.win32\egg\html5lib\treebuilders\soup.py", line 94, 
in __init
__
   File "build\bdist.win32\egg\html5lib\treebuilders\_base.py", line 32, 
in __ini
t__
RuntimeError: maximum recursion depth exceeded




-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"html5lib-discuss" group.
 To post to this group, send email to html5lib-discuss@googlegroups.com
 To unsubscribe from this group, send email to [EMAIL PROTECTED]
 For more options, visit this group at 
http://groups.google.com/group/html5lib-discuss?hl=en-GB
-~----------~----~----~----~------~----~------~--~---


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