Error message
Just tried to export two files from stl to gcode, and each said:
Failed processing of the output_filename_format template.Parsing error at line 1: Non-integer index is not allowed to address a vector variable.{input_filename_base}_{nozzle_diameter[initial_tool]}n_{layer_height}mm_{printing_filament_types}_{printer_model}_{print_time}.gcode ^
Do I need to change some settings? Thanks.
RE: Error message
May I ask exactly what your naming the file as it sounds like it's something to do with the name
Please help me out by downloading a model it's free and easy but really helps me out https://www.printables.com/@Hello_474427/models
RE: Error message
It will most likely be the [initial_tool] part of your filename output string as defined in your print profile. It is expecting an integer in there ie, 0-9.
RE: Error message
What setting should I change for the intial tool value?
First try deleting '_{nozzle_diameter[initial_tool]}n' to verify this is the cause.
Then try with '_{nozzle_diameter[0]}' which may be what you are looking for or, in case that 'n' is misplaced try '_{nozzle_diameter[n]}' but I may be misinterpreting the last one.
Cheerio,
RE: Error message
Thanks. But I'm very new at this and have no idea how to do amy of that.
Curious thing us that it was working perfectly, then this. I even re-imstalled.
It is set in Print Settings > Output options
Cheerio,
RE: Error message
I am also getting this message after upgrading Prusa Slicer to 2.6.1. I've been using Prusa Slicer for years. Here is the full message:
Failed processing of the output_filename_format template.Parsing error at line 1: Non-integer index is not allowed to address a vector variable.{input_filename_base}_{nozzle_diameter[initial_tool]}n_{layer_height}mm_{printing_filament_types}_{printer_model}_{print_time}.gcode ^
RE: Error message
I deleted the app and used another slicer for awhile. Re-installed prusaslicer and it then worked. No probs with new release yet.
RE: Error message
I'm experiencing the same problem and would love some info on how to resolve it short of deleting/re-installing the app.
RE: Error message
Just change the output filename to:
{input_filename_base}_{layer_height}mm_{printing_filament_types}_{printer_model}_{print_time}.gcode
Removing ...
{nozzle_diameter[initial_tool]}n
RE: Error message
Make sure you slice the model before you try to save the G-code!
If you are going straight to File> Export> Export G-code, you will have this issue, I think that's the first way I learned to export G-codes and I had this issue.
Use the "slice now" button in the lower right-hand corner, then use the same button (it changes to "Export G-code") or the File path to export it after the model has finished slicing.