Last modified: 2014-08-04 17:55:04 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T71114, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 69114 - RuntimeError in API causes pause and retry
RuntimeError in API causes pause and retry
Status: NEW
Product: Pywikibot
Classification: Unclassified
network (Other open bugs)
core-(2.0)
All All
: Unprioritized normal
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-08-04 17:55 UTC by John Mark Vandenberg
Modified: 2014-08-04 17:55 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description John Mark Vandenberg 2014-08-04 17:55:04 UTC
A RuntimeError in API probably cant be fixed by retrying; it should be re-raised.

https://travis-ci.org/wikimedia/pywikibot-core/jobs/31636823

ERROR: Traceback (most recent call last):
  File ".../pywikibot/data/api.py", line 298, in submit
    body=paramstring)
  File ".../pywikibot/comms/http.py", line 162, in request
    lang=site.lang,
  File ".../pywikibot/site.py", line 1288, in language
    return self.siteinfo['lang']
  File ".../pywikibot/site.py", line 1275, in siteinfo
    self._getsiteinfo()
  File ".../pywikibot/site.py", line 1192, in _getsiteinfo
    siprop="general|namespaces|namespacealiases|extensions"
  File ".../pywikibot/data/api.py", line 437, in __init__
    super(CachedRequest, self).__init__(*args, **kwargs)
  File ".../pywikibot/data/api.py", line 134, in __init__
    self.update(**kwargs)
  File "/home/travis/virtualenv/python2.7.8/lib/python2.7/_abcoll.py", line 559, in update
    if isinstance(other, Mapping):
  File "/home/travis/virtualenv/python2.7.8/lib/python2.7/abc.py", line 141, in __instancecheck__
    subtype in cls._abc_negative_cache):
  File "/home/travis/virtualenv/python2.7.8/lib/python2.7/_weakrefset.py", line 75, in __contains__
    return wr in self.data
RuntimeError: maximum recursion depth exceeded in cmp
WARNING: Waiting 120 seconds before retrying.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links