Menu

#631 wikipedia.py infinite loop

closed-fixed
nobody
None
5
2008-02-18
2008-02-18
Uberfuzzy
No

prints the getting page...

then hangs (only in output, network activity reveals otherwise)

ctrl+c prints out a ton of this (assumed it was printed during the loop where its stuck)

File "E:\pybot\wikipedia.py", line 4112, in getUrl
self._getUserData(text, sysop = sysop)
File "E:\pybot\wikipedia.py", line 4139, in _getUserData
blocked = self.mediawiki_message('blockedtitle') in text
File "E:\pybot\wikipedia.py", line 4245, in mediawiki_message
key))

see attached log for -v output

i cut out most of the looped text, but left 3 of the above in.

Discussion

  • Uberfuzzy

    Uberfuzzy - 2008-02-18
     
  • Rotem Liss

    Rotem Liss - 2008-02-18

    Logged In: YES
    user_id=1327030
    Originator: NO

    I added a temporary fix in r5045.

     
  • Rotem Liss

    Rotem Liss - 2008-02-18
    • status: open --> closed-fixed
     
  • Rotem Liss

    Rotem Liss - 2008-02-18

    Logged In: YES
    user_id=1327030
    Originator: NO

    Fixed in r5049.

     

Log in to post a comment.