Page MenuHomePhabricator

cache_tests fails with SyntaxError
Closed, ResolvedPublic


ERROR: Problems loading d44262dd36263aa316b75f3d84354fc786e3bd9edc9bbbceaad4c60bd4e354d2 with key APISite("en", "wikipedia")LoginStatus(-1)[('action', 'paraminfo'), ('format', 'json'), ('maxlag', '5'), ('modules', 'query+wblistentityusage')], ('APISite("en", "wikipedia")', None, 'LoginStatus(-1)', "[('action', 'paraminfo'), ('format', 'json'), ('maxlag', '5'), ('modules', 'query+wblistentityusage')]")
ERROR: invalid syntax (<string>, line 1)
Traceback (most recent call last):
  File "/home/travis/build/wikimedia/pywikibot/scripts/maintenance/", line 304, in process_entries
  File "/home/travis/build/wikimedia/pywikibot/scripts/maintenance/", line 208, in _rebuild
    % login_status[12:-1])
  File "<string>", line 1
SyntaxError: invalid syntax

Event Timeline

Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. · View Herald Transcript
Xqt triaged this task as High priority.Dec 1 2019, 2:28 PM
Xqt added a subscriber: Huji.
Xqt renamed this task from cache_tests fails with SyntaxError for Python < 3.8 to cache_tests fails with SyntaxError.Dec 1 2019, 4:34 PM

Change 553855 had a related patch set uploaded (by Xqt; owner: Xqt):
[pywikibot/core@master] [bugfix] Evaluate LoginStatus object

Change 553855 merged by jenkins-bot:
[pywikibot/core@master] [bugfix] Evaluate LoginStatus object