OrfiTeam / OrpheusDL

586 stars 74 forks source link

Any idea how to resolve this ? #44

Closed Wizflix closed 1 year ago

Wizflix commented 1 year ago

So I installed OrpheusDl and the Deezer module and everything went smoothly. I entered my credentials in the seetings.json. But then I tried downloading a playlist from Deezer and this showed on the console. Now everytime i want enter a track, album, playlist or even just trying "python orpheus.py" leads me to this error. Thanks for helping !

Traceback (most recent call last): File "C:\Users\malor\OrpheusDL\orpheus.py", line 224, in main() File "C:\Users\malor\OrpheusDL\orpheus.py", line 37, in main orpheus = Orpheus(args.private) ^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\malor\OrpheusDL\orpheus\core.py", line 108, in init self.settings = json.loads(open(self.settings_location, 'r').read()) if os.path.exists(self.settings_location) else {} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\malor\AppData\Local\Programs\Python\Python311\Lib\json__init__.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\malor\AppData\Local\Programs\Python\Python311\Lib\json\decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\malor\AppData\Local\Programs\Python\Python311\Lib\json\decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) ^^^^^^^^^^^^^^^^^^^^^^ json.decoder.JSONDecodeError: Invalid \escape: line 4 column 32 (char 70)

Wizflix commented 1 year ago

Similar to last solved issue, apart from the last line

OrfiDev commented 1 year ago

@Wizflix it means you messed up your config file, ask ChatGPT how to fix it

Wizflix commented 1 year ago

Haha i did everything again and this time it worked. Thank you !