-
-
Notifications
You must be signed in to change notification settings - Fork 119
[BUG] Error because of locked file, causes next save to be corrupted. #551
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
Comments
This is your first time submitting an issue with UVtools 🥳Please review your issue and ensure that the submit template was followed, the information is complete, and not related to any other open issue. It will be reviewed shortly. Debugging is very important and make the program better. Thanks for contributing and making the software better! 🙌 |
I have a clue of what is happening (Full-encode flag is not getting reset in case of exception), but it's a good cath. I will get into it |
- **Windows MSI installer:** - (Add) UVtools folder to start menu with: - UVtools - UVtoolsCmd - Uninstall UVtools - (Add) Prompt for add open in UVtools when right-click on supported files - (Add) Prompt for create desktop shortcut - (Add) Prompt for launch UVtools after the installation - (Improvement) Cleanup and simplify the install project - (Add) PrusaSlicer printer: Peopoly Phenom Forge - (Upgrade) .NET from 6.0.8 to 6.0.9 - (Fix) Corruption in file after attempt to save to a locked file (#551)
fixed |
If a file is still open in another program (in my case .ctb in Chitubox), UVTools will give an error message. Saving again (after closing the offending file) will create a corrupt file.
Save as... a different filename seems to fix it. Haven't tried with saving a third time.
100% reproducable.
Project file & How to reproduce
Any file (only know of .ctb though) will work. Make sure it is open in another program (like chitubox). Saving will then give an error. Saving again will create a corrupt file. I can send one of those (one was a layer cake of the original with multiple layers of 100% fill, another just had a few layers and nothing else).
Looks like it's something with Filestream that's not properly closed.
Version of UVTools
3.6.3
Operating system
Windows 10 x64
Printer model
Phrozen Sonic Mini 8k
The text was updated successfully, but these errors were encountered: