Notifications
Clear all

Error message  

  RSS
Michael Pierich
(@michael-pierich)
Eminent Member
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.

Napsal : 29/07/2023 11:09 pm
Hello
(@hello)
Noble Member
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

Napsal : 30/07/2023 5:54 am
Neophyl
(@neophyl)
Illustrious Member
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.  

Napsal : 30/07/2023 10:01 am
Michael Pierich
(@michael-pierich)
Eminent Member
Topic starter answered:
RE: Error message

What setting should I change for the intial tool value?

Napsal : 30/07/2023 7:43 pm
Diem
 Diem
(@diem)
Illustrious Member

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,

Napsal : 30/07/2023 11:18 pm
Michael Pierich
(@michael-pierich)
Eminent Member
Topic starter answered:
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.

Napsal : 31/07/2023 12:09 am
Diem
 Diem
(@diem)
Illustrious Member

It is set in Print Settings > Output options

Cheerio,

Napsal : 31/07/2023 7:18 am
Ken Hammond
(@ken-hammond)
Active Member
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 ^

 

Napsal : 07/09/2023 8:17 pm
Michael Pierich
(@michael-pierich)
Eminent Member
Topic starter answered:
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. 

Napsal : 07/09/2023 8:28 pm
jmpage2
(@jmpage2)
Active Member
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. 

Napsal : 07/09/2023 10:34 pm
rrauenza
(@rrauenza)
Active Member
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

 

Napsal : 22/11/2023 2:49 am
Muse_Child
(@muse_child)
Member
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. 

 

 

 

Napsal : 13/03/2024 3:17 pm
Share: