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

BUG: json.decoder.JSONDecodeError: #140

Closed
moshin34 opened this issue Sep 24, 2023 · 7 comments
Closed

BUG: json.decoder.JSONDecodeError: #140

moshin34 opened this issue Sep 24, 2023 · 7 comments

Comments

@moshin34
Copy link

Any time I try to run mmpm anything

Traceback (most recent call last):
File "/home/mo/.local/bin/mmpm", line 10, in
sys.exit(main())
File "/home/mo/.local/lib/python3.7/site-packages/mmpm/entrypoint.py", line 12, in main
main(args)
File "/home/mo/.local/lib/python3.7/site-packages/mmpm/mmpm.py", line 51, in main
packages: Dict[str, List[MagicMirrorPackage]] = mmpm.core.load_packages(force_refresh=should_refresh)
File "/home/mo/.local/lib/python3.7/site-packages/mmpm/core.py", line 1069, in load_packages
packages = json.load(db)
File "/usr/lib/python3.7/json/init.py", line 296, in load
parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
File "/usr/lib/python3.7/json/init.py", line 348, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.7/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.7/json/decoder.py", line 353, in raw_decode
obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 1 column 2 (char 1)

@Rumpick
Copy link

Rumpick commented Sep 25, 2023

Looks similar to #139

@Bee-Mar
Copy link
Owner

Bee-Mar commented Sep 26, 2023

This is most likely due to the 3rd party modules page layout changing. I'll work on a minor update for this and push it out soon.

@TimoFrancke-cnic
Copy link

great!! Thank you. Really looking forward to using the module.

@Bee-Mar
Copy link
Owner

Bee-Mar commented Oct 13, 2023

@Rumpick , @moshin34 and @TimoFrancke-cnic finally got around to the fix, and will be releasing a new version within the hour

@Bee-Mar
Copy link
Owner

Bee-Mar commented Oct 13, 2023

@Rumpick @moshin34 @TimoFrancke-cnic version 3.1 is now available

@Bee-Mar
Copy link
Owner

Bee-Mar commented Dec 4, 2023

@Rumpick @moshin34 @TimoFrancke-cnic I'm currently in the midst of completely reworking the application and will have this issue resolved in the 4.0.0 release. The branch with all active changes can be found on code-cleanup and it will be release soon.

@Bee-Mar
Copy link
Owner

Bee-Mar commented Dec 18, 2023

@Rumpick @TimoFrancke-cnic @moshin34 version 4.0.0 has been released. This is a complete rework of the application with improvements and stability all-around. Please see How to Migrate to 4.x.x as well the rest of the pages in the Wiki

@Bee-Mar Bee-Mar closed this as completed Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants