Fill out above information andin all cases attach yourklippy.logfile (use zip to compress it, if too big). Pasting yourprinter.cfgis not needed Be sure to check our “Knowledge Base” Category first. Most relevant items, e.g. error messages, are covered there
Describe your issue:
…unable to connect to klippy after canceling printand am also unable to upload the klippy.log file, gives an error of flie not available on site
Search on the HDD, SSD, partitions or whatever you have on your ubuntu desktop. There must be a klippy.log and that is mandatory to give you any hint/help.
[mcu]
serial = /dev/serial/by-id/usb-Klipper_stm32g0b0xx_500046001450415833323520-if00
The klippy.log is basically very clear (Split into two lines for better readability):
mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_stm32g0b0xx_500046001450415833323520-if00:
[Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_stm32g0b0xx_500046001450415833323520-if00'
No such file or directory means exactly this: This path does not exists and so Klipper cannot connect to it.
Well, this seems quite strange and you should carefully review the situation.
The Klipper error message is not generated by Klipper itself but by the underlying Linux OS and tells you that the given path in:
[mcu]
serial = /dev/serial/by-id/usb-Klipper_stm32g0b0xx_500046001450415833323520-if00
cannot be accessed because it simply does not exist.
If now the command ls /dev/serial/by-id/* (also a Linux OS command) returns exactly the very same path but the SAME error message in your log persists, then we have a contradiction.
I have not seen a single case where this would have been true.