Logged out, can't log back in #55
Labels
No labels
bug
dependencies
duplicate
enhancement
good first issue
help wanted
invalid
question
waiting for fix validation
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: mia/bumper#55
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?
Describe the bug
After a toddler hits the log-out button, I cannot log in.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Login with view of robot
Actual Behavior
[2019-10-14 16:51:35,487] :: INFO :: confserver :: client with devid $HASH attempting login[2019-10-14 16:51:38,566] :: ERROR :: confserver :: 'did'Traceback (most recent call last):File "/root/bumper/bumper/confserver.py", line 492, in _auth_anybumper.user_add_bot(tmpuser["userid"], bot["did"])KeyError: 'did'Desktop (please complete the following information):
Smartphone (please complete the following information):
Vacuum (please complete the following information):
Extra Info
Sucks cannot log in using any username/password combination.
@zombielinux - Thanks for the laugh, I've been there with toddler bugs.
I wasn't quite able to reproduce this, and actually think your database may be corrupt. I think the best thing is to delete the bumper.db in your data directory then try again. I went ahead and put in a test and some better handling if a bot happens to end up in the database without a DID attribute. Hopefully that will catch and fail gracefully if this happens in the future. This change has been merged into the master, if you want to pull and try again.