Stephan3 / dwc2-for-klipper

A translator between DWC2 and Klipper
GNU General Public License v3.0
160 stars 38 forks source link

I installed klipper + dwc2 can't start webserver #78

Closed gustavya closed 4 years ago

gustavya commented 4 years ago

Hello everyone, I installed klipper+dwc2 and finally flashed a powerspec pro(same as FFCP)

I have the following error in the log file, I guess it's why I can't see the webserver.

Unhandled exception during connect Traceback (most recent call last): File "/home/pi/klipper/klippy/klippy.py", line 136, in _connect self._read_config() File "/home/pi/klipper/klippy/klippy.py", line 129, in _read_config self.load_object(config, section_config.get_name(), None) File "/home/pi/klipper/klippy/klippy.py", line 118, in load_object self.objects[section] = init_func(config.getsection(section)) File "/home/pi/klipper/klippy/extras/web_dwc2.py", line 1684, in load_config return web_dwc2(config) The RPI seems connected and the board flashed fine, since I can see movement in the lcd, like a wave of lines flowing.

Any advice? TIA

Gus

maketo3D commented 4 years ago

The same problem here, starting from a clean installation and with a printer.cfg working with octoprint.

pierre-vo commented 4 years ago

What version of dwc are you using? readme mentions 2.1.6, is it possible you took something newer? Edit: is it possible the error message is not complete? There seem to be a change in klipper that requires some adaption in the instructions, it is discussed here: https://github.com/Stephan3/dwc2-for-klipper/issues/73

maketo3D commented 4 years ago

This worked for me. https://github.com/Stephan3/dwc2-for-klipper/pull/79

shaiss commented 4 years ago

This worked for me.

79

confirmed that works too!

Stephan3 commented 4 years ago

fixed