Silvonen created this task. Silvonen added a subscriber: Silvonen. Silvonen added a project: Pywikibot-category.py. Silvonen changed Security from none to none.
TASK DESCRIPTION category.py now crashes after every move. I didn't check what it is actually trying to do, but this doesn't seem to affect the end result.
Test run on fiwiki:
category.py move
Please enter the old name of the category: Parhaan elokuvan Oscar-palkinnon voittaneet elokuvat Please enter the new name of the category: Parhaan elokuvan Oscar-palkinnon saaneet elokuvat Page Luokka:Parhaan elokuvan Oscar-palkinnon voittaneet elokuvat moved to Luokka:Parhaan elokuvan Oscar-palkinnon saaneet elokuvat Page Luokka:Parhaan elokuvan Oscar-palkinnon voittaneet elokuvat is moved and no longer exist. Getting [[Luokka:Parhaan elokuvan Oscar-palkinnon voittaneet elokuvat]] list... Getting 60 pages from wikipedia:fi... ... Traceback (most recent call last): File "D:\git\pywikipedia\category.py", line 1079, in <module> main() File "D:\git\pywikipedia\category.py", line 1049, in main bot.run() File "D:\git\pywikipedia\category.py", line 512, in run self.oldCat.delete(reason, confirm, mark=True) File "D:\git\pywikipedia\wikipedia.py", line 3765, in delete self._getActionUser(action='delete', sysop=True) File "D:\git\pywikipedia\wikipedia.py", line 2018, in _getActionUser self.site().forceLogin(sysop=sysop) File "D:\git\pywikipedia\wikipedia.py", line 6719, in forceLogin if not self.loggedInAs(sysop=sysop): File "D:\git\pywikipedia\wikipedia.py", line 6713, in loggedInAs self._load(sysop=sysop) File "D:\git\pywikipedia\wikipedia.py", line 7772, in _load data = query.GetData(params, self, sysop=sysop) File "D:\git\pywikipedia\pywikibot\support.py", line 118, in wrapper return method(*__args, **__kw) File "D:\git\pywikipedia\query.py", line 150, in GetData data=data) File "D:\git\pywikipedia\wikipedia.py", line 7239, in getUrl back_response=True) File "D:\git\pywikipedia\pywikibot\comms\http.py", line 97, in request if not no_hostname and site.cookies(sysop = sysop): File "D:\git\pywikipedia\wikipedia.py", line 6797, in cookies self._loadCookies(sysop=sysop) File "D:\git\pywikipedia\wikipedia.py", line 6829, in _loadCookies % (self.family.name, self.lang)) pywikibot.exceptions.NoUsername: You tried to perform an action that requires admin privileges, but you haven't entered your sysop name in your user-config.py. Please add sysopnames['wikipedia']['fi']='name' to your user-config.py
python version.py
Pywikibot: [https] r-pywikibot-compat.git (925d931, g11106, 2014/11/29, 15:08:51, ok) Release version: 1.0b1 Python: 2.7.2 (default, Jun 24 2011, 12:22:14) [MSC v.1500 64 bit (AMD64)] config-settings: use_api = True use_api_login = True unicode test: ok
TASK DETAIL https://phabricator.wikimedia.org/T76687
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: Silvonen Cc: Aklapper, Silvonen, pywikipedia-bugs