Rdcheck - European Athlete of the Year Trophy

./rdcheck.py -page:

European Athlete of the Year TrophyΒΆ

Interaction
--> -->
 
 
<type 'exceptions.ValueError'>
Python 2.7.1: /usr/bin/python
Sun May 26 06:27:24 2013

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /home/dispenser/public_html/cgi-bin/rdcheck.py in ()
    225     try:
    226         wikipedia.startContent(form=True, head="<style type='text/css'>.notice{background:#ee8;border:0.2em solid maroon;padding:0.3em;}</style>")
=>  227         main()
    228     finally:
    229         wikipedia.endContent()
main = <function main>
 /home/dispenser/public_html/cgi-bin/rdcheck.py in main()
    101                 bar = re.compile(r'<([a-z]+(?= ))[^<>]*? id="(?P<id>[^"]*)"[^<>]*?>[^<>]*(?:</\1>)?')
    102                 #for m in bar.finditer(html, html.index("<!-- start content -->"), html.index("<!-- end content -->")):
=>  103                 for m in (bar.finditer(html, html.index("<!-- bodytext -->"), html.index("<!-- /bodytext -->")) if '<!-- bodytext -->' in html else bar.finditer(html, html.index("<!-- bodycontent -->"), html.index("<!-- /bodycontent -->"))):
    104                         id = m.group('id')
    105                         if id in ids:
m undefined, bar = <_sre.SRE_Pattern object>, bar.finditer = <built-in method finditer of _sre.SRE_Pattern object>, html = '<!DOCTYPE html>\n<html lang="en" dir="ltr" class=...ed by mw1088 in 1.226 secs. -->\n\t</body>\n</html>\n', html.index = <built-in method index of str object>

<type 'exceptions.ValueError'>: substring not found
      args = ('substring not found',)
      message = 'substring not found'

/home/dispenser/public_html/cgi-bin/tracebacks/tmp1MNTF2.html contains the description of this error.