jayvdb added a project: pywikibot-core.
jayvdb added a comment.
Note: The original bug report was for test.wikipedia. And now another also on
test.wikipedia:
======================================================================
FAIL: Test the deprecated site.logpages() method using dump mode.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/travis/build/jayvdb/pywikibot-core/tests/site_tests.py", line
1074, in test_logpages_dump
self.assertIn('title', entry)
nose.proxy.AssertionError: 'title' not found in {'logid': 161184,
'timestamp': '2015-09-10T23:12:22Z', 'comment': 'content was: "Test!" (and the
only contributor was "[[Special:Contributions/VasilievVV|VasilievVV]]")',
'user': 'VasilievVV', 'action': 'delete', 'actionhidden': '', 'type': 'delete'}
In the same job log is another different error which looks like the same basic
problem.
======================================================================
ERROR: Test the deprecated site.logpages() method.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/travis/build/jayvdb/pywikibot-core/tests/site_tests.py", line
1057, in test_logpages
le = list(self.site.logpages(number=10))
File "/home/travis/build/jayvdb/pywikibot-core/pywikibot/site.py", line
4178, in logpages
yield (entry.page(),
File "/home/travis/build/jayvdb/pywikibot-core/pywikibot/logentries.py",
line 108, in page
self._page = pywikibot.Page(self.site, self.data['title'])
File "/home/travis/build/jayvdb/pywikibot-core/pywikibot/logentries.py",
line 37, in __missing__
raise KeyError("Log entry (%s) has no '%s' key" % (self._type, key))
nose.proxy.KeyError: "Log entry (delete) has no 'title' key"
https://travis-ci.org/jayvdb/pywikibot-core/jobs/79818388#L1020
TASK DETAIL
https://phabricator.wikimedia.org/T112223
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb
Cc: Aklapper, jayvdb, pywikibot-bugs-list
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs