I am new to the forum and the use of Klipper so apologies if in incorrect section
I am getting the following error when trying to run Klipper "File contains no section headers.
file: ‘/home/alex/Ender1_data/config/printer.cfg’, line: 2
‘Skip to content\n’
I don’t understand this any help will be appriated.
Where do I post the Log File?
Thanks
Hello @AWP !
You can upload your klippy.log just into your next post:
If it is too big, you can zip it.
I moved it to the correct one.
Thank you you for your quick response. I have solved the no section header problem but now have another. I have flashed the Ender 3d Pro with the Klipper .bin file but Fuidd shows Printer Not Ready host software attempting to connect.
The log file is attached .
{Cannot find a way to upload here}
The board is a Creality 4.2.2
I will be grateful for further help as I have now spent 2 weeks trying to get this working. At 78 my brain is probably a bit slower. )
Thank you you for your quick response. I have solved the no section header problem but now have another. I have flashed the Ender 3d Pro with the Klipper .bin file but Fuidd shows Printer Not Ready host software attempting to connect.
The log file is attached .
{Cannot find a way to upload here}
The board is a Creality 4.2.2
I will be grateful for further help as I have now spent 2 weeks trying to get this working. At 78 my brain is probably a bit slower. )
[
Hi. Not sure how to do this. This is the printer config text file
printer.cfg (3.4 KB)
Check the second post in this thread for how to upload your log file.
Question:
Did you just copied the printer.cfg from somewhere into your system and started or did you wrote that 300 lines all yourself?
Are you running on OctoPi/OctoPrint or on Moonraker?
[menu __main __octoprint __poweroff]
type = command
name = Turn off Octopi
gcode =
{action_respond_info('action:poweroff')}
vs
webhooks client 139771441595776: Client info {'program': 'Moonraker', 'version': 'v0.8.0-29-g80920dd'}
The mcu serial port is not properly defined.
mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-1a86_USB_Serial-if00-port0'
Thanks. I did not write this. Do not have knowledge. The printer config was copied from Github.
Running on Klipper Fluid. Could also choose Moonraker.
Start over with klipper/printer-creality-ender3pro-2020.cfg at master · Klipper3d/klipper · GitHub and Installation - Klipper documentation
Especially pay attention to the information provided on top of the config file (first link)
How did you fix your no section header issue?
Okay, so I found a Youtube video that explains this. I added include mainsail.cfg and I was getting a no section header warning. So, I changed it to [include mainsail.cfg] and now it seems to work. At least I get no warnings or errors this time.