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

KeyError #21

Open
13pov27 opened this issue Jan 7, 2025 · 0 comments
Open

KeyError #21

13pov27 opened this issue Jan 7, 2025 · 0 comments

Comments

@13pov27
Copy link

13pov27 commented Jan 7, 2025

When running the script main.py we get an error. Please help me solve the problem.

python3 main.py
http://127.0.0.1:80
Waiting for connect to /home/pi/printer_data/comms/klippy.sock

Connection.

Web site exists
Traceback (most recent call last):
File "/home/pi/KlipperLCD/main.py", line 224, in
x = KlipperLCD()
^^^^^^^^^^^^
File "/home/pi/KlipperLCD/main.py", line 26, in init
self.printer.init_Webservices()
File "/home/pi/KlipperLCD/printer.py", line 424, in init_Webservices
self.SHORT_BUILD_VERSION = self.getREST('/machine/update/status?refresh=false')['result']['version_info']['klipper']['version']
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
KeyError: 'result'

@13pov27 13pov27 changed the title ModuleNotFoundError KeyError Jan 8, 2025
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

1 participant