You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'
The text was updated successfully, but these errors were encountered:
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'
The text was updated successfully, but these errors were encountered: