Xqt created this task. Xqt added a subscriber: Xqt. Xqt added a project: pywikibot-core. Restricted Application added subscribers: Aklapper, pywikipedia-bugs.
TASK DESCRIPTION ``` C:\pwb\core>pwb.py redirect double -moves -total:950 -always -lang:sv Retrieving 950 moved pages via API... .........................WARNING: C:\pwb\core\pywikibot\family.py:914: FamilyMai ntenanceWarning: Family name wikimediachapter does not match family module name wikimedia ................................................................................ .....................
Användare:EnDumEn/Test2 <<<
Links to: [[Användare:EnDumEn/Test]]. Skipping: Redirect target [[Användare:EnDumEn/Test]] is not a redirect. ..............................................................Traceback (most recent call last): File "C:\pwb\core\pwb.py", line 213, in <module> run_python_file(filename, argv, argvu, file_package) File "C:\pwb\core\pwb.py", line 82, in run_python_file main_mod.__dict__) File ".\scripts\redirect.py", line 794, in <module> main() File ".\scripts\redirect.py", line 791, in main bot.run() File ".\scripts\redirect.py", line 690, in run self.fix_double_redirects() File ".\scripts\redirect.py", line 520, in fix_double_redirects for redir_name in self.generator.retrieve_double_redirects(): File ".\scripts\redirect.py", line 294, in retrieve_double_redirects for redir_page in gen: File ".\scripts\redirect.py", line 342, in get_moved_pages_redirects moved_page = logentry.title() File "C:\pwb\core\pywikibot\logentries.py", line 64, in title self._title = pywikibot.Page(self.site, self.data['title']) File "C:\pwb\core\pywikibot\logentries.py", line 28, in __missing__ raise KeyError("Log entry (%s) has no '%s' key" % (self._type, key)) KeyError: u"Log entry (move) has no 'title' key" <type 'exceptions.KeyError'> CRITICAL: Waiting for 1 network thread(s) to finish. Press ctrl-c to abort ```
TASK DETAIL https://phabricator.wikimedia.org/T94349
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt Cc: pywikipedia-bugs, Xqt, Aklapper, jayvdb
Xqt edited the task description. Xqt set Security to None.
TASK DETAIL https://phabricator.wikimedia.org/T94349
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt Cc: pywikipedia-bugs, Xqt, Aklapper, jayvdb
Xqt triaged this task as "Normal" priority. Xqt added a project: pywikibot-redirect.py.
TASK DETAIL https://phabricator.wikimedia.org/T94349
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt Cc: pywikipedia-bugs, Xqt, Aklapper, jayvdb
XZise added a subscriber: XZise. XZise added a comment.
This seems similar to https://phabricator.wikimedia.org/T78152, is this on sv.wikipedia.org?
TASK DETAIL https://phabricator.wikimedia.org/T94349
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: XZise Cc: XZise, Xqt, Aklapper, jayvdb, pywikipedia-bugs
XZise added a comment.
Okay it seems to be same issue as in https://phabricator.wikimedia.org/T78152 but at a different place. Maybe there should be a more general solution for log entries which have suppressed information. So that for example APISite.logevent just skips them for example.
import pywikibot s = pywikibot.Site('sv', 'wikipedia') for c, l in enumerate(s.logevents(logtype='move')):
... if 'title' not in l.data: ... break ...
c
610
l.data
{'actionhidden': '', 'action': 'move_redir', 'user': 'Dnm', 'logid': 4758340, 'timestamp': '2015-03-13T18:31:40Z', 'commenthidden': '', 'type': 'move'}
TASK DETAIL https://phabricator.wikimedia.org/T94349
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: XZise Cc: XZise, Xqt, Aklapper, jayvdb, pywikipedia-bugs
jayvdb added a subscriber: jayvdb. jayvdb raised the priority of this task from "Normal" to "High". jayvdb added a comment.
(raising to High as lots of scripts and code paths are dependent on APISite.logevents)
TASK DETAIL https://phabricator.wikimedia.org/T94349
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb Cc: jayvdb, XZise, Xqt, Aklapper, pywikipedia-bugs
jayvdb closed this task as a duplicate of T78152: log entry has no title.
TASK DETAIL https://phabricator.wikimedia.org/T94349
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb Cc: jayvdb, XZise, Xqt, Aklapper, pywikipedia-bugs
pywikipedia-bugs@lists.wikimedia.org