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

PrusaSlicer has encountered an error: Failed loading the preset file: #3909

Closed
Photogad opened this issue Mar 24, 2020 · 4 comments
Closed

Comments

@Photogad
Copy link

Photogad commented Mar 24, 2020

Version

2.2.0+Win64

Operating system type + version

Windows 10 64

3D printer brand / version + firmware version (if known)

MK3

Behavior

Get this error when open PrusaSlicer. But after I dismiss it, the program loads fine but I'm not able to use my presets. This error happen every time I open the program.

Capture

.Zip of profiles

print.zip

@Photogad
Copy link
Author

I figured out the issue,

top_fill_pattern = smooth

I originally generate these profiles with a different fork of PrusaSlicer that have a different top infill pattern available.

In previous versions of PrusaSlicer, I was able to import the profiles between both with no problems, only in the latest 2.2.0 PrusaSlicer does it no longer compatible for profiles generated on other forks.

Is possible to make PrusaSlicer not throw error message and just use default values for those profiles for any fields that aren't compatible as it did before?

bubnikv added a commit that referenced this issue Mar 25, 2020
or option values that our poor software does not understand.
This applies to configs added by some forks of slic3r, for example
slic3r++
PrusaSlicer has encountered an error: Failed loading the preset file: #3909
@bubnikv
Copy link
Collaborator

bubnikv commented Mar 25, 2020

I have improved error reporting with 8d7f88b
this time you should get the option key and value that our poor slicer does not understand.

Trying to load config of other software is like feeding diesel into your gasoline car. We cannot easily support that. Silently loading such config does not make sense. Giving warnings and loading my make sense, but we would have to convert these unknown config keys to something else, which adds complexity. I believe current behavior is fine (with the change above), our software will give you a feedback why the config could not be loaded.

Closing.

@bubnikv bubnikv closed this as completed Mar 25, 2020
@bubnikv
Copy link
Collaborator

bubnikv commented Mar 25, 2020

Also please understand that this story is scary to us. PrusaSlicer writes its name into the 3MF / AMF files, config files, G-codes. I am tempted to refuse anything that has not been created by PrusaSlicer or Slic3r PE, possibly the upstream Slic3r. We are already overloaded supporting people on github using 3rd party printers. It would be a nightmare to support other slic3r forks with incompatible configuration parameters.

@Photogad
Copy link
Author

Also please understand that this story is scary to us. PrusaSlicer writes its name into the 3MF / AMF files, config files, G-codes. I am tempted to refuse anything that has not been created by PrusaSlicer or Slic3r PE, possibly the upstream Slic3r. We are already overloaded supporting people on github using 3rd party printers. It would be a nightmare to support other slic3r forks with incompatible configuration parameters.

I understand your reasoning, I'm just saying that previous version of prusaslicer (2.2.0 beta) had no issues loading configs from other slic3rs, when I loaded them in it just changed the incompatible values to the defaults in prusaslicer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants