andrewmcgr / klipper_tmc_autotune

TMC stepper driver autotuning Klipper python extra
GNU General Public License v3.0
625 stars 137 forks source link

Error after update to latest autotune #60

Open agdtek opened 1 year ago

agdtek commented 1 year ago

Hi guys, Im getting this error after doing an update to your script

Internal error during connect: No module named enum

this is the log

Unhandled exception during connect Traceback (most recent call last): File "/home/pi/klipper/klippy/klippy.py", line 175, in _connect self._read_config() File "/home/pi/klipper/klippy/klippy.py", line 141, in _read_config self.load_object(config, section_config.get_name(), None) File "/home/pi/klipper/klippy/klippy.py", line 121, in load_object mod = importlib.import_module('extras.' + module_name) File "/usr/lib/python2.7/importlib/init.py", line 37, in import_module import(name) File "/home/pi/klipper/klippy/extras/autotune_tmc.py", line 2, in from enum import Enum ImportError: No module named enum webhooks client 1969438632: New connection webhooks client 1969438632: Client info {'program': 'Moonraker', 'version': 'v0.8.0-86-ga7e154f'} Unable to issue reset command on MCU 'mcu' Unable to issue reset command on MCU 'rpi' Unable to issue reset command on MCU 'sb2040' webhooks client 1969438632: Disconnected Restarting printer

agdtek commented 1 year ago

found solution ssh do the following $ source ~/klippy-env/bin/activate $ pip install enum $ deactivate

scheini79 commented 1 year ago

$ source ~/klippy-env/bin/activate $ pip install enum $ deactivate

Thanks so much, that's a big relief for me.

Ixian commented 10 months ago

Thanks! Helped me as well.