You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR: Unhandled exception
Traceback (most recent call last):
File "/home/jazg/src/ubuntu-make/umake/frameworks/games.py", line 286, in get_metadata_and_check_license
assets = json.loads(page.buffer.read().decode())["assets"]
NameError: name 'json' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/jazg/src/ubuntu-make/umake/tools.py", line 158, in wrapper
function(*args, **kwargs)
File "/home/jazg/src/ubuntu-make/umake/frameworks/games.py", line 293, in get_metadata_and_check_license
except (json.JSONDecodeError, IndexError):
NameError: name 'json' is not defined
This is in current master from git but I'm getting the same from version installed from PPA (16.02.1). Indeed, import json is missing in frameworks/games.py:
$ flake8 umake/frameworks/games.py | grep json
umake/frameworks/games.py:286:22: F821 undefined name 'json'
umake/frameworks/games.py:293:17: F821 undefined name 'json'
The text was updated successfully, but these errors were encountered:
What I tried:
What I got:
This is in current master from git but I'm getting the same from version installed from PPA (16.02.1). Indeed,
import json
is missing in frameworks/games.py:The text was updated successfully, but these errors were encountered: