jayvdb reopened this task as "Open".
jayvdb added a comment.

And another, different error:

  ERROR: test_BlockEntry_old (tests.logentry_tests.TestLogentryParams)
  Test BlockEntry methods on lyricwiki:en
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/home/travis/build/jayvdb/pywikibot-core/pywikibot/logentries.py", 
line 71, in _params
      return self.data[self._expectedType]
    File "/home/travis/build/jayvdb/pywikibot-core/pywikibot/logentries.py", 
line 36, in __missing__
      raise KeyError("Log entry (%s) has no '%s' key" % (self._type, key))
  KeyError: "Log entry (block) has no 'block' key"
  
  During handling of the above exception, another exception occurred:
  Traceback (most recent call last):
    File "/home/travis/build/jayvdb/pywikibot-core/tests/aspects.py", line 648, 
in wrapped_method
      func(self, key)
    File "/home/travis/build/jayvdb/pywikibot-core/tests/logentry_tests.py", 
line 123, in test_BlockEntry
      if logentry.expiry() is not None:
    File "/home/travis/build/jayvdb/pywikibot-core/pywikibot/logentries.py", 
line 188, in expiry
      details = self._params.get('expiry')
    File "/home/travis/build/jayvdb/pywikibot-core/pywikibot/logentries.py", 
line 74, in _params
      "for type %s." % (self.action(), self.type))
  
  pywikibot.exceptions.Error: action='unblock': this log entry has no params 
details for type <bound method LogEntry.type of 
<pywikibot.logentries.BlockEntry object at 0x7f432b6dea58>>.

https://travis-ci.org/jayvdb/pywikibot-core/jobs/66233890#L2535


TASK DETAIL
  https://phabricator.wikimedia.org/T101976

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: XZise, jayvdb
Cc: gerritbot, XZise, jayvdb, Aklapper, pywikibot-bugs



_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to