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

Win GUI - Unhandled Exception in Script #37

Closed
TJ-00-TJ opened this issue Sep 6, 2022 · 2 comments
Closed

Win GUI - Unhandled Exception in Script #37

TJ-00-TJ opened this issue Sep 6, 2022 · 2 comments

Comments

@TJ-00-TJ
Copy link

TJ-00-TJ commented Sep 6, 2022

I just started getting this error when running through the Win GUI v0.1.9 a few days ago

Unhandled Exception in Script

Failed to execute script 'main' due to unhandled exception:
Expecting value line 1 column 1 (char 0)

Traceback (most recent call last):
File "main.py", line 14, in
File "main.py", line 10, in main
File "asyncio\runners.py", line 44, in run
File "asyncio\base_events.py", line 616, in run_until_complete
File "gui\app.py", line 22, in app
File "gui\settings.py", line 25, in load_settings
File "json_init_.py", line 357, in loads
File "json\decoder.py", line 337, in decode
File "json\decoder.py", line 355, in raw_decode
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

@interlark
Copy link
Owner

That's odd.
Delete config file config file on following path:

  • Linux: ~/.config/ustvgo-iptv/settings.cfg
  • Mac: ~/Library/Application Support/ustvgo-iptv/settings.cfg
  • Windows: C:\Users\%USERPROFILE%\AppData\Local\ustvgo-iptv\settings.cfg

Gonna fix it in the next release.
I don't know how this could happen to you, but it looks like config file got corrupted somehow.

@TJ-00-TJ
Copy link
Author

TJ-00-TJ commented Sep 7, 2022

Thanks - all fixed. Appreciate all the hard work you've put into this - great little application.

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

2 participants