PrusaSlicer has encountered an error
 
Notifications
Clear all

PrusaSlicer has encountered an error  

  RSS
Steverd
(@steverd)
Trusted Member
PrusaSlicer has encountered an error

How can I prevent this error? This error comes up after I click SLICE NOW.

This is the M204 line from the temp file

M204 P1250 R1250 T1250 ; sets acceleration (P, T) and retract acceleration (R), mm/sec^2

!!!!! Failed to process the custom G-code template start_gcode
Parsing error at line 10: Variable does not exist
M204 T[machine_max_acceleration_travel] ; restore travel acceleration

I imagine to uninstall and reinstall Prusaslicer?

 

Thank you

 

Posted : 25/11/2021 8:50 pm
Neophyl
(@neophyl)
Illustrious Member
RE: PrusaSlicer has encountered an error

Uninstalling isn’t going to make that go away. That error message is basically telling you that there is something invalid in your custom gcode. It’s telling you that the variable you are trying to use doesn’t exist so it can’t parse the custom gcode. You need to figure out what is wrong with your profile. 

First step would have been to post a saved project file , zipped up so it will attach here next let people see what settings you have. A project file (.3mf) saved from Prusa slicer is a snap shot, it will have all your settings in, including any custom gcode. That can be used to debug the issue. 

Posted : 25/11/2021 10:50 pm
Diem
 Diem
(@diem)
Illustrious Member

According to:

https://help.prusa3d.com/en/article/prusa-specific-g-codes_112173#m-commands

"Usage M204 [ P | R | T ] Parameters P - printing moves R - filament only moves T - travel moves (as of now T is ignored)"

Cheerio,

Posted : 26/11/2021 1:34 am
Steverd liked
Share: