jayvdb created this task. jayvdb added a subscriber: jayvdb. jayvdb added a project: pywikibot-core. jayvdb changed Security from none to none.
TASK DESCRIPTION Probably caused by revision deletion of the page?
https://travis-ci.org/wikimedia/pywikibot-core/jobs/43590174
``` ====================================================================== ERROR: testLogEvents (tests.site_tests.SiteUserTestCase) Test the site.logevents() method. ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/travis/build/wikimedia/pywikibot-core/tests/site_tests.py", line 732, in testLogEvents for entry in mysite.logevents(logtype=typ, total=3): File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/data/api.py", line 1512, in __iter__ yield self.result(item) File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/data/api.py", line 1710, in result return self.entryFactory.create(pagedata) File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/logentries.py", line 294, in create return self._creator(logdata) File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/logentries.py", line 283, in <lambda> self._creator = lambda data: logclass(data, self._site) File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/logentries.py", line 98, in __init__ pos = self.data['title'].find('#') File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/logentries.py", line 28, in __missing__ raise KeyError("Log entry has no '%s' key" % key, key) KeyError: ("Log entry has no 'title' key", 'title') ```
TASK DETAIL https://phabricator.wikimedia.org/T78152
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: Aklapper, jayvdb, pywikipedia-bugs
jayvdb changed the title from "logenty has no title" to "log entry has no title".
TASK DETAIL https://phabricator.wikimedia.org/T78152
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: Aklapper, jayvdb, pywikipedia-bugs
jayvdb added a comment.
Another one https://travis-ci.org/wikimedia/pywikibot-core/jobs/44664703
TASK DETAIL https://phabricator.wikimedia.org/T78152
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: Aklapper, jayvdb, pywikipedia-bugs
jayvdb added a comment.
In https://phabricator.wikimedia.org/T78152#937765, @jayvdb wrote:
Another one https://travis-ci.org/wikimedia/pywikibot-core/jobs/44664703
It happened a few times in that build: https://travis-ci.org/wikimedia/pywikibot-core/builds/44664702
and with a bit of debugging info added, .. yes it is revision suppression causing this
WARNING: LogeventsPageGenerator: failed to load page for {u'comment': u'', u'logid': 61024842, u'type': u'newusers', u'timestamp': u'2014-12-20T12:59:28Z', u'actionhidden': u'', u'userhidden': u'', u'suppressed': u''}; skipping WARNING: LogeventsPageGenerator: failed to load page for {u'comment': u'', u'logid': 61024830, u'type': u'newusers', u'timestamp': u'2014-12-20T12:58:34Z', u'actionhidden': u'', u'userhidden': u'', u'suppressed': u''}; skipping WARNING: LogeventsPageGenerator: failed to load page for {u'comment': u'', u'logid': 61024686, u'type': u'newusers', u'timestamp': u'2014-12-20T12:49:05Z', u'actionhidden': u'', u'userhidden': u'', u'suppressed': u''}; skipping WARNING: LogeventsPageGenerator: failed to load page for {u'comment': u'', u'logid': 61024617, u'type': u'newusers', u'timestamp': u'2014-12-20T12:45:20Z', u'actionhidden': u'', u'userhidden': u'', u'suppressed': u''}; skipping
TASK DETAIL https://phabricator.wikimedia.org/T78152
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: Aklapper, jayvdb, pywikipedia-bugs
XZise added a subscriber: XZise. XZise added a comment.
What do you mean with 'revision suppression'?
TASK DETAIL https://phabricator.wikimedia.org/T78152
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: Aklapper, jayvdb, XZise, pywikipedia-bugs
gerritbot added a project: Patch-For-Review. gerritbot added a comment.
Change 181255 had a related patch set uploaded (by John Vandenberg): LogeventsPageGenerator: skip problematic entries
https://gerrit.wikimedia.org/r/181255
https://phabricator.wikimedia.org/tag/patch-for-review/
TASK DETAIL https://phabricator.wikimedia.org/T78152
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: gerritbot Cc: Aklapper, jayvdb, XZise, pywikipedia-bugs
jayvdb added a comment.
revision deletion / revision suppression should be documented on mediawiki.org or meta - it is where a part of the log entry has been hidden from public / sysop eyes by sysops / oversighters respectively (using en.wp terminology and implementation).
TASK DETAIL https://phabricator.wikimedia.org/T78152
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: Aklapper, jayvdb, XZise, pywikipedia-bugs
gerritbot added a comment.
Change 181255 merged by jenkins-bot: LogeventsPageGenerator: skip problematic entries
https://gerrit.wikimedia.org/r/181255
TASK DETAIL https://phabricator.wikimedia.org/T78152
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: gerritbot Cc: Aklapper, jayvdb, XZise, pywikipedia-bugs
Xqt closed this task as "Resolved". Xqt claimed this task.
TASK DETAIL https://phabricator.wikimedia.org/T78152
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: Aklapper, jayvdb, XZise, pywikipedia-bugs
jayvdb reopened this task as "Open". jayvdb added a comment.
A more general solution is needed.
TASK DETAIL https://phabricator.wikimedia.org/T78152
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, jayvdb Cc: Xqt, jayvdb, Aklapper, XZise, pywikipedia-bugs
jayvdb merged tasks: T94349: Invalid "title" key found in log entry, T78481: test_logevents_default fails occasionally : KeyError in LogeventsPageGenerator.title.
TASK DETAIL https://phabricator.wikimedia.org/T78152
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, jayvdb Cc: Xqt, jayvdb, Aklapper, XZise, pywikipedia-bugs
jayvdb raised the priority of this task from "Low" to "High".
TASK DETAIL https://phabricator.wikimedia.org/T78152
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, jayvdb Cc: Xqt, jayvdb, Aklapper, XZise, pywikipedia-bugs
jayvdb edited projects, added Pywikibot-tests; removed Patch-For-Review.
TASK DETAIL https://phabricator.wikimedia.org/T78152
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, jayvdb Cc: Xqt, jayvdb, Aklapper, XZise, pywikipedia-bugs
pywikipedia-bugs@lists.wikimedia.org