Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
NameOfTheDragon opened this issue Dec 9, 2023 · 2 comments
Labels
bug Something isn't working as intended

Comments

@NameOfTheDragon
Copy link

NameOfTheDragon commented Dec 9, 2023

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

  • Create a physical printer named "Voron V2/1360" - this apparently succeeds and the printer can be used.
  • Open the configuration folder under Help -> Show Configuration Folder
    It will be observed that the physical printer ini file has not been created.
  • Close and restart SuperSlicer
    It will be observed that the physical printer is gone.

Version

2.5.59.3

Operating system

Windows 11

Printer model

Voron 2.4/350 with Stealthburner and Clockwork 2

@supermerill
Copy link
Owner

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

@supermerill supermerill added the bug Something isn't working as intended label Dec 14, 2023
@Adams-Scott
Copy link

I was having the same issue in 2.9. I was naming my physical printer ".6". If I named it "Prusa 6" it was fine. I'm guessing it had to do with the decimal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as intended
Projects
None yet
Development

No branches or pull requests

3 participants