Last modified: 2014-07-24 09:35:09 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T57171, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55171 - xmlreader requires internet connection
xmlreader requires internet connection
Status: NEW
Product: Pywikibot
Classification: Unclassified
General (Other open bugs)
compat-(1.0)
All All
: Low normal
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-05 04:37 UTC by Kunal Mehta (Legoktm)
Modified: 2014-07-24 09:35 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Kunal Mehta (Legoktm) 2013-10-05 04:37:21 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.
Comment 1 Kunal Mehta (Legoktm) 2013-10-05 04:37:23 UTC
Try to use the rewrite branch. IMHO it does not require loging in to use xmlreader.
Comment 2 Amir Ladsgroup 2014-07-24 09:35:09 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links