Bugs item #3019985, was opened at 2010-06-22 23:19 Message generated for change (Comment added) made by winston365 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3019985...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: General Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Winston (winston365) Assigned to: Nobody/Anonymous (nobody) Summary: Page.getReferences hangs for [[Nintendo DS]]
Initial Comment: list(wikipedia.Page(wikipedia.Site('en'), 'Nintendo DS').getReferences()) seems to hang, and eventually causes a maximum recursion depth exception. The generator is created, but is never exhausted, so it never finishes when cast into a list. It looks like the offending page may be [[Wikipedia talk:Articles for creation/Boing! Docomodake DS]], and getReferences on that page hangs in the same way. It seems to be looping continuously in the "for zms" loop around line 1276 in wikipedia.py, almost as if the page was redirecting to itself.
Pywikipedia [http] trunk/pywikipedia (r8194, 2010/05/18, 15:27:06) Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56) [GCC 4.4.3] config-settings: use_api = True use_api_login = True
----------------------------------------------------------------------
Comment By: Winston (winston365)
Date: 2010-06-24 18:03
Message: I have attached a simple patch that seems to work around this for now.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3019985...