macdylan / sm2uploader

A command-line tool for send the gcode file to Snapmaker Printers via WiFi connection.
MIT License
48 stars 6 forks source link

Error message while uploading - but print is doing well #17

Open magnum61 opened 8 months ago

magnum61 commented 8 months ago

Hi everyone,

tried the tool today for the first time on my Artisan. not sure if this is really an error, but while uploading i am getting this error message right before the upload was finished.

G-Code fix error(ignored): Invalid G-Code file

However the file is displayed correctly on the Artisan screen and also the print went as expected. Is this a message which can be ignored?

The two files i have tested came from Cura and from Luban, message appeared on both files.

Thanks

magnum61 commented 7 months ago

Quick update:

Tried two more files. One from Cura, the other created by Luban. In both cases i am getting that one:

G-Code fix error(ignored): bufio.Scanner: token too long

Uploade went through, printing was working.

macdylan commented 7 months ago

You need to add -nofix to avoid fixing the file again, because luban and cura with snapmaker plugin are already fixed.