Please update your Pywikipedia installation to use the git version.
See https://www.mediawiki.org/wiki/Manual:Pywikipediabot/Gerrit for instructions.
If you need to fix it immediately, you can add this patch to your family.py: https://github.com/wikimedia/pywikibot-compat/commit/6addd6f70a386fd131acbe5c2d0b47f21a0cd68f
[bugs:#1662] pagegenerator: "Received incomplete XML data"
Status: open
Created: Thu Aug 29, 2013 10:42 PM UTC by euku
Last Updated: Thu Aug 29, 2013 10:42 PM UTC
Owner: nobody
It seems something (I didn't investigate further) changed in the MediaWiki API last night.
You must use a pagegenerator to reproduce:
--> python replace.py -ref:"A" "bla" "foo"
No handlers could be found for logger "pywiki"
Getting 1 page from wikipedia:de...
WARNING: Token not found on wikipedia:de. You will not be able to edit any page.
Received incomplete XML data. Sleeping for 15 seconds...
...
(Page "A" must exist) Nothing happens then.
This warning is printed by wikipedia.py # _getUserDataOld(). It seems to search for WP UI elements (HTML mode) in the exported XML data (Special:Export). But the request answer (variable 'text') does not contain anything useful ...
-> svn update
...
At revision 11781.
-> python version.py
Pywikipedia [http] trunk/pywikipedia (r11775, 2013/07/20, 11:39:29, OUTDATED)
Python 2.7.3 (default, Apr 10 2013, 06:20:15)
[GCC 4.6.3]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
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.