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

TypeError: 'NoneType' object is not subscriptable #35

Open
JuanIsOnline opened this issue Nov 23, 2022 · 1 comment
Open

TypeError: 'NoneType' object is not subscriptable #35

JuanIsOnline opened this issue Nov 23, 2022 · 1 comment
Labels
Feedback requested Work was done regarding the issue, feedback is required if the issue is fixed.

Comments

@JuanIsOnline
Copy link

JuanIsOnline commented Nov 23, 2022

``Hi. The program was working last night perfectly, today I try to open it and it hangs and gets stuck. I assume it's because the account is trying to create a session for, the password changed. I do not know where the information is saved so that I can remove the accounts and change the password. I tried to delete the EXE file and download it again, but that did not work as it must be saving accounts somewhere.

`[2022-11-23 07:50:30,172 :: gui\mainui.py -> 135: init() :: INFO] -> Main window init completed !

[2022-11-23 07:50:30,378 :: utils\utils.py -> 18: login_user() :: INFO] -> logging in user 'ACCC****@*.'

[2022-11-23 07:50:30,379 :: utils\utils.py -> 24: login_user() :: INFO] -> Session file exists for user, attempting to use it 'MORe****@*.'

[2022-11-23 07:50:32,317 :: utils\utils.py -> 38: login_user() :: ERROR] -> Failed logging in user 'MORe****@*.', invalid credentials

[2022-11-23 07:50:32,318 :: runtimedata.py -> 48: handle_exception() :: CRITICAL] -> Uncaught exception
Traceback (most recent call last):

File "worker\session.py", line 28, in run

TypeError: 'NoneType' object is not subscriptable`

EDIT1: After more diging, I found the directory for the saved accounts, "C:\Users\USER_NAME_HERE.cache\casualOnTheSpot\sessions" and deleted the bad account .json file. All working again. I would like to still leave this here in case an update to fix this without having to go into the directory and manually delete the file.

@casualsnek
Copy link
Owner

This issue should be fixed now ! Now login failures are handled properly and should not cause it to freeze !

@casualsnek casualsnek added the Feedback requested Work was done regarding the issue, feedback is required if the issue is fixed. label May 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feedback requested Work was done regarding the issue, feedback is required if the issue is fixed.
Projects
None yet
Development

No branches or pull requests

2 participants