#klipper not connecting but active?

39 messages · Page 1 of 1 (latest)

scenic rover
#

{"error":{"code":404,"message":"Not Found","traceback":"Traceback (most recent call last):\n\n File "/home/brandon/moonraker-env/lib/python3.12/site-packages/tornado/web.py", line 1790, in _execute\n result = await result\n ^^^^^^^^^^^^\n\n File "/home/brandon/moonraker/moonraker/components/application.py", line 795, in get\n self.absolute_path = self.validate_absolute_path(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n File "/home/brandon/moonraker-env/lib/python3.12/site-packages/tornado/web.py", line 2900, in validate_absolute_path\n raise HTTPError(404)\n\ntornado.web.HTTPError: HTTP 404: Not Found\n"}}

subtle steeple
# scenic rover

Did you check "and klippy_uds_address is correctly configured in the moonraker.conf" ?

scenic rover
#

how do i find my uds address?

subtle steeple
#

It should almost always be ~/printer_data/comms/klippy.sock

#

Except on really really old installs, where it should be just commented out (causing it to use the default /tmp path)

scenic rover
#

this is what its set to

subtle steeple
#

That's the old value

#

Does the printer_data/comms/klippy.sock file exist ?

scenic rover
#

not that i know of

subtle steeple
#

Did you look?

scenic rover
#

i dont know where to look

subtle steeple
#

In printer_data

#

So like, open up winscp or something, and double click on printer_data

#

And then on comms

#

And see if there's a file in comms, called klippy.sock

scenic rover
#

im on linux

subtle steeple
#

Then look in that folder by whatever means you prefer to use

scenic rover
#

yes there is

subtle steeple
#

Okay then

#

So like I said. That should be what it's set to

scenic rover
#

still not connecting

subtle steeple
#

You left off the first character of the path

scenic rover
#

thats what it says now

subtle steeple
#

Well, that's pretty self explanatory, no?

#

You have something lkke [include mainsail.cfg] in your config, but mainsail.cfg doesn't actually exist

scenic rover
#

ok i dont understand this error

subtle steeple
#

Never seen that one before

#

Looks like the canbus libraries are singularly upset about ...something...

#

Klipper log might have a longer version that offers a little more insight

scenic rover
#

sorry had to step away im getting no module called can

#

Unhandled exception during connect
Traceback (most recent call last):
File "/home/brandon/klipper/klippy/klippy.py", line 131, in _connect
self.send_event("klippy:mcu_identify")
File "/home/brandon/klipper/klippy/klippy.py", line 223, in send_event
return [cb(*params) for cb in self.event_handlers.get(event, [])]
^^^^^^^^^^^
File "/home/brandon/klipper/klippy/mcu.py", line 787, in _mcu_identify
self._serial.connect_canbus(self._serialport, nodeid,
File "/home/brandon/klipper/klippy/serialhdl.py", line 112, in connect_canbus
import can # XXX
^^^^^^^^^^
ModuleNotFoundError: No module named 'can'
webhooks client 128992945076944: New connection
webhooks client 128992945076944: Client info {'program': 'Moonraker', 'version': 'v0.9.3-4-ga4604e3'}

scenic rover