mirror of
https://github.com/casualsnek/onthespot.git
synced 2026-04-26 20:45:56 +03:00
[GH-ISSUE #35] TypeError: 'NoneType' object is not subscriptable #23
Labels
No labels
Feedback requested
bug
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/onthespot#23
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @JuanIsOnline on GitHub (Nov 23, 2022).
Original GitHub issue: https://github.com/casualsnek/onthespot/issues/35
``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 commented on GitHub (May 18, 2023):
This issue should be fixed now ! Now login failures are handled properly and should not cause it to freeze !