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

[Bug] Exception when saving .pwmb files #961

Closed
JRouLar opened this issue Dec 19, 2024 · 3 comments
Closed

[Bug] Exception when saving .pwmb files #961

JRouLar opened this issue Dec 19, 2024 · 3 comments
Assignees

Comments

@JRouLar
Copy link

JRouLar commented Dec 19, 2024

System

UVtools v5.0.0 X64
Operative system: Microsoft Windows 10.0.19045 X64
Processor: Intel(R) Core(TM) i7-14700K
Processor cores: 28
Memory RAM: 13.24 / 63.78 GB
Runtime: win-x64
Framework: .NET 9.0.0
AvaloniaUI: 11.2.2
OpenCV: 4.9.0

Path:       C:\Program Files\UVtools\
Executable: C:\Program Files\UVtools\UVtools.exe
Loaded file: Assault x50 - ACTough - uvtools.pwmb [Version: 516] [Class: AnycubicFile]

Printer and Slicer

  • Printer: Anycubic Photon Mono 6K
  • Slicer: Lychee

Description of the bug

When saving a .pwmb file, I get the following exception:

System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
at UVtools.Core.FileFormats.FileFormat.EncodeImage(String dataType, Mat mat) in UVtools.Core\FileFormats\FileFormat.cs:line 846
at UVtools.Core.FileFormats.AnycubicFile.Preview..ctor(Mat mat) in UVtools.Core\FileFormats\AnycubicFile.cs:line 447
at UVtools.Core.FileFormats.AnycubicFile.EncodeInternally(OperationProgress progress) in UVtools.Core\FileFormats\AnycubicFile.cs:line 1843
at UVtools.Core.FileFormats.FileFormat.Encode(String fileFullPath, OperationProgress progress) in UVtools.Core\FileFormats\FileFormat.cs:line 4474
at UVtools.UI.MainWindow.<>c__DisplayClass105_0.b__2() in UVtools.UI\MainWindow.axaml.cs:line 2273

I just updated UVTools today. Previous version didn't fail, but my printer couldn't read the pwmb files.

How to reproduce

Open the attached file.
Fill all the resin traps.
Save As (I used the existing name, plus -uvtools)
Exception...

Files

Assault x50 - ACTough - 1h33m.zip

Copy link

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! 🙌

@sn4k3
Copy link
Owner

sn4k3 commented Dec 19, 2024

That was fixed a version after, please update to latest version. You still on v5.0.0...

@JRouLar
Copy link
Author

JRouLar commented Dec 19, 2024

That was fixed a version after, please update to latest version. You still on v5.0.0...

Indeed, I can see a v5.0.2.

@JRouLar JRouLar closed this as completed Dec 19, 2024
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