supermerill / SuperSlicer

G-code generator for 3D printers (Prusa, Voron, Creality, etc.)
4.13k stars 519 forks source link

Creating a physical printer silently fails when the printer name contains invalid path characters #3996

Open NameOfTheDragon opened 10 months ago

NameOfTheDragon commented 10 months ago

What happened?

When creating a physical printer, with name "Voron V2/1360", all seems to work, except that the next time the program is loaded, the printer is gone.

I believe the "/" character is causing a filesystem error when attempting to save the configuration file under physical_printers.

There is no warning that anything is wrong and there is no error message. The printer just mysteriously vanishes the next time the program is started.

Project file & How to reproduce

Version

2.5.59.3

Operating system

Windows 11

Printer model

Voron 2.4/350 with Stealthburner and Clockwork 2

supermerill commented 10 months ago

In the 2.7, there is some checks about that. I'll see if I can find some times to port that back to 2.5