Last modified: 2014-07-24 09:35:09 UTC
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1517/ Reported by: Anonymous user Created on: 2012-09-25 06:20:17 Subject: xmlreader requires internet connection Original description: Since this is solely for reading local xml files must be, somehow, separated from "import wikipedia as pywikibot". Every attempt to use it, requires login to any wiki. It can not be used to generate anything based solely on xml backups. Debugging such non-"logining" "bots" is very difficult.
Try to use the rewrite branch. IMHO it does not require loging in to use xmlreader.
Since core doesn't require pywikibot library for xmlreader, so you can use it easily by calling something like: from pywikibot import xmlreader But the bug exists in compat and personally I don't think it's easy to solve.