Anonoei / klipper_auto_speed

Klipper module for automatically calculating your printer's maximum acceleration/velocity
MIT License
198 stars 18 forks source link

Documentation around Python 3 Requirement #16

Open retsamedoc opened 6 months ago

retsamedoc commented 6 months ago

After installing this plugin (following the directions), Klipper show this error:

Klipper reports: ERROR

Internal error during connect: Please re-run klipper_auto_speed/install.sh

Once the underlying issue is corrected, use the "RESTART"
command to reload the config and restart the host software.
Printer is halted

Re-running the command klipper_auto_speed/install.sh didn't help. After some manual debugging, I discovered that my Klipper install was the issue (it was still using Python 2). After rebuilding klippy-env using python3, everything started to work.

This requirement should be mentioned to the documentation AND the install.sh script should detect if Python 2 is still being used.

Edit: I see that the instructions do mention upgrading klippy-env to python3 so this is mentioned HOWEVER the install.sh script should probably do some detection/warning. Mentioning this requirement in a more prominent way in the doc would also be nice.