Issue Uploading Files

What is the problem? Uploaded file code turns to gibberish strings - no other way to put it. Will include the log.

What did you already try to solve it? I've ran the same code on an SD card to make sure that the slicer worked properly, and the code is functional when already on the printer.

Logs Send: (@build "Soap_Dish_Short")
Recv: // echo: (line 0) Syntax error: unrecognised gcode '?'
Recv: ok
Send: N1 M136 (Soap_Dish_Short)78
Recv: ok
Send: N2 G92 X0 Y0 Z0 A0 B0
88
Recv: ok
Changing monitoring state from "Starting" to "Printing"
Send: \x01\x00?\x00\x1f\x02<\x00?\x00d\x00???\x01\x03\x02?\x00?\x01\x00?\x01d\x00???\x00\x7f?\x01\x7f?\x02(?\x03\x7f?\x04\x7f?????B????.\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00?????B????\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00x\x1e\x00\x00\x18???A?\x04?\x01?????B????\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00(7\x00\x00\x18\x00\x00?A?%?:???B????\x00\x00\x00\x00\x00\x00\x00?????\x01\x00\x00\x18\x00\x00 B@\x01?????B???<\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00Y\x07\x00\x00\x18?\x0c A\x00\x05?:???B????\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00X\x07\x00\x00\x18\x15\x19 A\x00\x05?:???B????\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00?:???B????\x00\x00\x00\x00\x00\x00\x00D\x00\x00\x00? \x00\x00\x18333??\x06?:???B???H\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00x\x1e\x00\x00\x18
Recv: ok
Send: ?>?\x04??\x05\x00\x00(???H\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00?\x15\x00\x00\x18\x1f??B\x00\x0f??\x05\x00\x00(???2\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x08\x1f\x00\x00\x18\x1b/]=?\x04??\x05\x00\x00(???2\x00\x00\x00\x00\x00\x00\x00????? \x00\x00\x18333??\x06?\x1e\x06\x00\x00S???2\x00\x00\x00\x00\x00\x00\x00?????\x06\x00\x00\x18\x16g??\x00\x05?#\x06\x00\x00V???2\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00?\x05\x00\x00\x18??^=\x00\x05? \x07\x00\x00V???2\x00\x00\x00\x00\x00\x00\x00????[\x07\x00\x00\x18??+@\x00\x05?4\x07\x00\x00J???2\x00\x00\x00\x00\x00\x00\x00????Y\x06\x00\x00\x18?\x03|>\x00\x05??\x07\x00\x00/???2\x00\x00\x00\x00\x00\x00\x00????\x1b\x07\x00\x00\x18?I??\x00\x05??\x07\x00\x00'???2\x00\x00\x00\x00\x00\x00\x00????R\x07\x00\x00\x188?#?\x00\x05?\x03\x14\x00\x00(???2\x00\x00\x00\x00\x00\x00\x00????Z\x07\x00\x00\x18??\x04B\x00\x05??\x14\x00\x00S???2\x00\x00\x00\x00\x00\x00\x00?????\x06\x00\x00\x18?G??\x00\x05?\x04\x15\x00\x00????2\x00\x00\x00\x00\x00\x00\x00?????\x05\x00\x00\x18&m??\x00\x05?T\x15\x00\x00\x1e???2\x00\x00\x00\x00\x00\x00\x00?????\x05\x00\x00\x18m???\x00\x05?z\x15\x00\x00????2\x00\x00\x00\x00\x00\x00\x00????\x05\x07\x00\x00\x18??\x00\x05??\x15\x00\x00????2\x00\x00\x00\x00\x00\x00\x00????8\x07\x00\x00\x18??9?\x00\x05??\x15\x00\x00W\x0f\x00\x002\x00\x00\x00\x00\x00\x00\x00^???Z\x07\x00\x00\x18m?B\x00\x05?Y\x15\x00\x00?\x0f\x00\x002\x00\x00\x00\x00\x00\x00\x00?????\x06\x00\x00\x18\x16g??\x00\x05??\x14\x00\x00X\x10\x00\x002\x00\x00\x00\x00\x00\x00\x00?????\x05\x00\x00\x18&m??\x00\x05??\x14\x00\x00?\x10\x00\x002\x00\x00\x00\x00\x00\x00\x00?????\x05\x00\x00\x18m???\x00\x05?\x19\x14\x00\x00?\x10\x00\x002\x00\x00\x00\x00\x00\x00\x00????\x05\x07\x00\x00\x18??\x00\x05??\x13\x00\x00?\x10\x00\x002\x00\x00\x00\x00\x00\x00\x00????6\x07\x00\x00\x18L?9?\x00\x05??\x07\x00\x00?\x10\x00\x002\x00\x00\x00\x00\x00\x00\x00????Z\x07\x00\x00\x18\x0b?\x04B\x00\x05?\x1d\x07\x00\x00?\x10\x00\x002\x00\x00\x00\x00\x00\x00\x00?????\x06\x00\x00\x18\x16g??\x00\x05?\x19\x07\x00\x00?\x10\x00\x002\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00?\x05\x00\x00\x18\x11?[=\x00\x05?#\x06\x00\x00?\x10\x00\x002\x00\x00\x00\x00\x00\x00\x00????X\x07\x00\x00\x18?l'@\x00\x05??\x05\x00\x00?\x10\x00\x002\x00\x00\x00\x00\x00\x00\x00????\x01\x07\x00\x00\x18???\x00\x05?o\x05\x00\x00?\x10\x00\x002\x00\x00\x00\x00\x00\x00\x00????8\x07\x00\x00\x18??9?\x00\x05?d????\x10\x00\x002\x00\x00\x00\x00\x00\x00\x00????[\x07\x00\x00\x18?I?A\x00\x05??????\x10\x00\x002\x00\x00\x00\x00\x00\x00\x00?????\x06\x00\x00\x18?G??\x00\x05??????\x10\x00\x002\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00?\x05\x00\x00\x18??^=\x00\x05??????\x10\x00\x002\x00\x00\x00\x00\x00\x00\x00????Y\x07\x00\x00\x18)'@\x00\x05?w????\x10\x00\x002\x00\x00\x00\x00\x00\x00\x00????\x01\x07\x00\x00\x18???\x00\x05?4????\x10\x00\x002\x00\x00\x00\x00\x00\x00\x00????8\x07\x00\x00\x18??9?\x00\x05??????\x10\x00\x002\x00\x00\x00\x00\x00\x00\x00????Z\x07\x00\x00\x18\x12?\x04B\x00\x05?{????\x10\x00\x002\x00\x00\x00\x00\x00\x00\x00?????\x06\x00\x00\x18?G??\x00\x05?????Q\x10\x00\x002\x00\x00\x00\x00\x00\x00\x00?????\x05\x00\x00\x18&m??\x00\x05??????\x0f\x00\x002\x00\x00\x00\x00\x00\x00\x00?????\x05\x00\x00\x18m???\x00\x05?????n\x0f\x00\x002\x00\x00\x00\x00\x00\x00\x00????\x05\x07\x00\x00\x18??\x00\x05?{???*\x0f\x00\x002\x00\x00\x00\x00\x00\x00\x00????
Recv: ok

Literally the entire program loads in like that, as do any I try to upload using the web client.

Additional information about your setup Latest OctoPrint and GPX versions, Raspberry Pi 3B, Flashforge Creator Pro, followed this tutorial:https://www.instructables.com/id/FlashForge-Creator-Pro-Raspberry-Pi-2-Octoprint/

Are you using a power supply or phone charger for powering your pi? Also, do you have the DisplayLayerProgress plugin installed?

I'm using a Pi power supply sold by Canakit, and no I do not. Would installing it help?

No, it won't help but I've personally seen weird encoding like that when it was installed occasionally. Does the same thing happen if you run OctoPrint in safe mode? That would be the first step in debugging. It could also be a potentially bad/damaged USB cable or even power distribution from the USB cable going to the printer from the pi.

But to be honest the error tells you right at the top...upload your gcode file here.

echo: (line 0) Syntax error: unrecognised gcode '?'

I'm using a cable that came with an Arduino Uno to connect the Pi to the printer - I'll see if I can fish out the original, long cable and give that one a go. Thanks!

You don't think that the uploader is jumbling the contents of the file, do you? That's my main concern.

No, I think you have bad gcode output in your slicer. You can verify if they are same by re-downloading the file from the pi and comparing the two in a text editor.

I don't understand there. I'm using a FFCP, so it doesn't read gcode files. It take x3g files, which is why I have GPX installed.

Do I need to have it reference the gcode file somewhere?

Then it could be related to the GPX plugin your using because default OctoPrint doesn't know how to handle those filetypes and that's being provided by the plugin.

The old wire didn't seem to help; the log is still giving me the same strings of code. I guess the next step is to start looking into the GPX plugin.

I'd start here.

Thanks for that, just solved my problem!

"OctoPrint only understands ".gcode" and then GPX translates it to x3g. Don't upload x3g to OctoPrint. That won't work."

Cool, glad you got it worked out. I'm surprised that it doesn't transfer the file directly because there are ways to do that, for example using the upload anything plugin.