jayvdb created this task.
jayvdb added a subscriber: jayvdb.
jayvdb added projects: Pywikibot-weblinkchecker.py, Easy, Pywikibot-tests.
Herald added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  Memento client response doesnt include what we expect.  Could be an upstream 
bug, but maybe not a high priority one as another job in this build had a 
timeout error for the Memento server
  ```
  ======================================================================
  ERROR: test_newest (tests.weblinkchecker_tests.TestMementoWebCite)
  Test WebCite for newest https://google.com.
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File 
"/home/travis/build/jayvdb/pywikibot-core/tests/weblinkchecker_tests.py", line 
73, in test_newest
      archivedversion = self._get_archive_url('https://google.com')
    File 
"/home/travis/build/jayvdb/pywikibot-core/tests/weblinkchecker_tests.py", line 
45, in _get_archive_url
      self.timegate_uri)
    File "/home/travis/build/jayvdb/pywikibot-core/scripts/weblinkchecker.py", 
line 181, in _get_closest_memento_url
      return memento_info.get('mementos').get('closest').get('uri')[0]
  AttributeError: 'NoneType' object has no attribute 'get'
  ```
  https://travis-ci.org/jayvdb/pywikibot-core/jobs/79818375#L3326

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

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

To: jayvdb
Cc: Aklapper, pywikibot-bugs-list, jayvdb, 01tonythomas, MarcoAurelio



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

Reply via email to