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

When app tries to log in, a KeyError on bot["class"] is triggered #124

Open
ri0t opened this issue Jul 10, 2021 · 1 comment
Open

When app tries to log in, a KeyError on bot["class"] is triggered #124

ri0t opened this issue Jul 10, 2021 · 1 comment

Comments

@ri0t
Copy link

ri0t commented Jul 10, 2021

Describe the bug

When the app tries to log in and download data, an Exception is triggered and the process stops.
The exception:

[2021-07-10 19:52:51,735] :: ERROR :: root :: 'class' Traceback (most recent call last): File "/home/riot/bumper/bumper/plugins/bumper_confserver_portal_appsvr.py", line 45, in handle_appsvr_app if bot["class"] != "": KeyError: 'class'

I added a print to at least shine a little light in there:
The bot object consists only of this:
{'nick': 'SaugBernd'}

To Reproduce
Steps to reproduce the behavior:

Start with a completely new setup on a RPi1 that also acts as PiHole and a new Osmo950, that has been set up with the cloud service.

  1. Set up and sync with official servers
  2. Switch off clowncomputing via PiHole
  3. Reboot everything
  4. observe bot reporting in to bumper
  5. Start android app
  6. Wait until it stops with error
  7. Watch bumper error log
  8. See above error

Expected behavior
No idea. Guess, getting control over the printer would be a nice thing.. 🙃

Screenshots
Aah, i'd rather not. Useless..

Desktop (please complete the following information):

  • OS: Linux, i guess

Smartphone (please complete the following information):

  • OS: Android

Vacuum (please complete the following information):

  • Model: quite recent Deebot Osmo 950

Additional context
Getting there without docker on a RPi1 was quite a ride... 🤢

@edenhaus
Copy link
Contributor

I would not use a RPiV1 for more then one job as it has only a single core and you are using it for PiHole and bumper. This can lead that you get timeout exceptions.

Please provide more information:

  • Which vacuum do you have?
  • Which android app do you use?
  • More information about your android version and phone

I can only say, that for me bumper works and also the iOS apps are connecting successfully. I don’t have a rooted Android, so I cannot test it on Android

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