Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSONDecodeError #201

Closed
Radiotechniman opened this issue Dec 7, 2022 · 1 comment
Closed

JSONDecodeError #201

Radiotechniman opened this issue Dec 7, 2022 · 1 comment

Comments

@Radiotechniman
Copy link

I receive the following error with everything I do
even "mnamer -V" generates the below

Traceback (most recent call last): File "/home/niels/.local/bin/mnamer", line 8, in <module> sys.exit(main()) File "/home/niels/.local/lib/python3.6/site-packages/mnamer/__main__.py", line 17, in main settings.load() File "/home/niels/.local/lib/python3.6/site-packages/mnamer/setting_store.py", line 427, in load config = json_loads(str(config_path)) if config_path else {} File "/home/niels/.local/lib/python3.6/site-packages/mnamer/utils.py", line 227, in json_loads return json.loads(json_data) if json_data else {} File "/usr/lib/python3.6/json/__init__.py", line 354, in loads return _default_decoder.decode(s) File "/usr/lib/python3.6/json/decoder.py", line 339, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python3.6/json/decoder.py", line 357, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 15 column 17 (char 454)

I thought i'd try the github version but that one cannot be installed due to unmet requirements:
ERROR: No matching distribution found for requests-cache~=0.9.7

@jkwill87
Copy link
Owner

This version of requests-cache only supports python 3.7+. The mnamer main branch only supports python 3.10+. Consider:

  1. Upgrading system python.
  2. Using pyenv to user install a more recent version of python.
  3. Using the docker package.
  4. Installing mnamer==2.5.2, which only requires requests-cache 0.5.* and supports python 3.6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants