Page MenuHomePhabricator

xmlreader requires internet connection
Closed, DeclinedPublic

Description

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.


Version: compat-(1.0)
Severity: normal
See Also:
https://sourceforge.net/p/pywikipediabot/bugs/1517

Details

Reference
bz55171

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 2:24 AM
bzimport set Reference to bz55171.
bzimport added a subscriber: Unknown Object (????).

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.

Aklapper lowered the priority of this task from Low to Lowest.Jun 5 2015, 1:41 PM
Aklapper subscribed.

Pywikibot has two versions: Compat and Core. This task was filed about the older version, called Pywikibot-compat, which is not under active development anymore. Hence I'm lowering the priority of this task to reflect the reality. Unfortunately, the Pywikibot team does not have the manpower to retest every single bug report / feature request against the (maintained) Pywikibot code base. Furthermore, the code base of Pywikibot-Compat has changed a lot compared to the code base of Pywikibot-Core so there is a chance that the problem described in this task might not exist anymore. Please help: Unfortunately manpower is limited and does not allow testing every single reported task again. If you have time and interest in Pywikibot, please upgrade to Pywikibot-Core and add a comment to this task if the problem in this task still happens in Pywikibot-Core (or directly edit the task by removing the Pywikibot-compat project and adding the Pywikibot project to this task). To learn more about Pywikibot and to get involved in its development, please check out https://www.mediawiki.org/wiki/Manual:Pywikibot/Development Thank you for your understanding.

Xqt claimed this task.
Xqt subscribed.

won't fix it. Try core release. On the other hand core uses site-related settings directly from site via api and connection should be established to use the bot.