Bugs item #3587728, was opened at 2012-11-15 19:23 Message generated for change (Tracker Item Submitted) made by hazard-sj You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3587728...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: General Group: trunk Status: Open Resolution: None Priority: 5 Private: No Submitted By: Hazard-SJ (hazard-sj) Assigned to: Nobody/Anonymous (nobody) Summary: Non-items on Wikidata cannot be edited
Initial Comment: I've been trying to run the archivebot.py script on Wikidata, but due to a number of things, the first of which is a KeyError from wikipedia.py, it fails. I've done a number of things, including removing and modification of code from wikipedia.py to try to get into the archivebot.py script, and I believe that the error(s) I get from there are from my removals. At the moment, the problem after what I've tried is with getting the text of the page. I changed "lines = self.get().split('\n')" to "pg = pywikibot.Page(Site, self.title())" followed by "lines = pg.get().split('\n')", but pg.get() returns NoneType, and obviously as a result the splitting can't even take place. It seems PyWikipedia was only changed for editing queries, or is part of the problem from the server's end? Thanks.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3587728...
pywikipedia-bugs@lists.wikimedia.org