That page is 943k bytes right now. The API will return a timeout error, which pywikibot will take as to mean the edit has failed, and will continue to retry.

IIRC there's a setting somewhere to give up after a certain amount of timeouts. It might be safe to just set that to 0.


[bugs:#1644] page.put thinks it failed but didn't, resulting in multiple edits

Status: closed-invalid
Labels: edit
Created: Thu Jul 18, 2013 01:23 AM UTC by Hazard-SJ
Last Updated: Thu Jul 18, 2013 01:23 AM UTC
Owner: nobody

Using a script I wrote for newsletter delivery, on [[User talk:Batmanrules677]] on the English Wikipedia, a page.put ended up giving a fail message, throttle, then an automatic retry. I don't have the exact output at the moment, but I was using r11703 (2013/06/30, 12:20:15) in Python 2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)] unicode test: ok.
Use the edits in https://en.wikipedia.org/w/index.php?title=User_talk%3ABatmanrules677&diff=563765322&oldid=554680158 for reference (note that I KeyboardInterrupted the script for it to not make the mistake again).


Sent from sourceforge.net because Pywikipedia-bugs@lists.wikimedia.org is subscribed to https://sourceforge.net/p/pywikipediabot/bugs/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pywikipediabot/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.