-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[MacOS] "Loading of a model file failed." for .3mf file generated by PrusaSlicer #10688
Comments
I confirmed the 3MF file is corrupted, it's not a valid zip file:
Other 3MF files do unzip correctly. Still, PrusaSlicer 2.5.0 produced a corrupted 3MF file. |
It looks like any error while saving a 3MF file gets suppressed: PrusaSlicer/src/slic3r/GUI/Plater.cpp Lines 6628 to 6636 in cc1e69b
I probably hit a random error in my last save before closing the project, not seeing any errors I assumed everything went fine (as I should) but the project file is now corrupted beyond recovery.
EDIT: It turns out I have "Ask for unsaved changes in project" turned off in the preferences so confirmation on exit would not have caught the issue. I don't recall disabling that though or the reason I would have done it, I'm wondering what the default value is? |
Hello, thank you for reporting. You are right about the error displaying after unsuccessful export to 3mf - it does not propagate to UI. We will improve it. It seems to be logging to console with "error" level at least. But that's not how it should be. |
Displaying error message when there is a problem with 3mf file export has been improved and the change will be part of the next release. |
I got same error, my working on it, how can i recovery ? |
@uhlhosting @dkt0591 This can be completely different issue. Can you please create a new report (possibly referencing this one) and enclose the failing 3MFs? Thanks. |
Description of the bug
Prusaslicer is unable to load again a project that it generated earlier. The 3MF attached was created using PrusaSlicer 2.5.0 by loading different STLs and preparing them for printing (e.p. added different box modifiers for infill and layers on the different models.
After saving the project and loading it up again the next day, I'm getting: "Loading of a model file failed."
The console logs don't give any information on what failed:
I've read through similar existing issues:
As far as I can tell this is a different issue: the file exists locally (1.) and contains what looks like valid data (although way too small given the imported 5+ STL were in the 2-5 MBs range and the 3MF project is < 1MB, might be truncated?)
Beginning of the file attached:
The project file can't be opened in Prusaslicer 2.6.0-beta3 either. It's likely that the file itself is corrupted, in which case the issue is that PrusaSlicer 2.5.0 produced the corrupted file. I am able to open all other 3MF files I tried.
Project file & How to reproduce
Openthe following file with PrusaSlicer 2.5.0 or 2.6.0-beta3 on macOS:
Dominion Card Holders.3mf.zip
Checklist of files included above
Version of PrusaSlicer
2.5.0-macos
Operating system
macOS Catalina 10.15.7
Printer model
Prusa Mini+
The text was updated successfully, but these errors were encountered: