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] System.IO.Compression.Native is missing #957

Closed
Gruntsky opened this issue Dec 19, 2024 · 10 comments
Closed

[Bug] System.IO.Compression.Native is missing #957

Gruntsky opened this issue Dec 19, 2024 · 10 comments
Assignees

Comments

@Gruntsky
Copy link

Gruntsky commented Dec 19, 2024

System

UVtools v5.0.0 X64
Operative system: Microsoft Windows 10.0.19045 X64
Processor: AMD Ryzen 5 3600 6-Core Processor              
Processor cores: 12
Memory RAM: 10.71 / 31.89 GB
Runtime: win-x64
Framework: .NET 9.0.0
AvaloniaUI: 11.2.2
OpenCV: 4.9.0

Path:       E:\UVTools\
Executable: E:\UVTools\UVtools.exe
Loaded file: BackUV.goo [Version: 0] [Class: GooFile]

Printer and Slicer

  • Printer: Saturn 4 Ultra
  • Slicer: Lychee

Description of the bug

Updated to newest version, now when I try to save an edited file I receive this error:
UV1
Uninstalled UVTools and re-installed, received the same error upon saving.

How to reproduce

  1. Go to file.
  2. Click Save

Files

No response

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

@mjf55
Copy link

mjf55 commented Dec 19, 2024

I have the same issue. installed V5 and when I go to launch UVTools, I get the same crash report as Gruntsky

My system info:
UVtools v5.0.0 X64
Operative system: Microsoft Windows 10.0.22631 X64
Processor: 12th Gen Intel(R) Core(TM) i7-1255U
Processor cores: 12
Memory RAM: 11.55 / 15.69 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

@sn4k3
Copy link
Owner

sn4k3 commented Dec 19, 2024

I get an error while saving goo file but is different from yours.
On your error I can see that you are opening an SL1 file and not saving a goo file.
If you can please send me the problematic file.

@mjf55
Copy link

mjf55 commented Dec 19, 2024

I tried your UVTools-core dll my my issue, but no change. My issue shows on launch. Do you want me to create a different issue?

@sn4k3
Copy link
Owner

sn4k3 commented Dec 19, 2024

Do you want me to create a different issue?

No, it may be related to the OP, as the launch it open the SL1 file which is a ZIP.
I tried to open UVtools with demo file but works fine on my PC.

Let me find some information about this. Meanwhile revert back to previous version.

@sn4k3
Copy link
Owner

sn4k3 commented Dec 19, 2024

Looks like the problem is the missing System.IO.Compression.Native.dll which I have no my PC but is not on UVtools folder, somehow it was not copied by the compiler... Need to find why.

@Gruntsky
Copy link
Author

Just replaced the .dll file and opened the file. Save looks to have worked with the new .dll

@sn4k3
Copy link
Owner

sn4k3 commented Dec 19, 2024

@mjf55 I just downloaded the v5 zip and Native.dll is there... I also reinstalled via MSI and I got the native dll in my folder.
Can you confirm the presence of System.IO.Compression.Native.dll on your installation folder?

@Gruntsky
Copy link
Author

Gruntsky commented Dec 19, 2024

Yes, I can confirm System.IO.Compression.Native.dll is present in installation folder

@sn4k3 sn4k3 changed the title [Bug] [Bug] System.IO.Compression.Native is missing Dec 19, 2024
@sn4k3
Copy link
Owner

sn4k3 commented Dec 19, 2024

Found the cause: dotnet/runtime#82518
NET 6 use this dll as v42, that was a wrong version which they fixed on NET7 with v7, NET8 v8 and NET9 v9, meaning MSI won't upgrade the file because version is lower than current installed (Even if file is older). @Gruntsky have the new Native.dll because he reinstalled UVtools which cleans and put all files without checking for upgrade.

Solution:

For who land here, Uninstall UVtools and Reinstall.

sn4k3 added a commit that referenced this issue Dec 19, 2024
- (Fix) Windows MSI: System.IO.Compression.Native is missing when upgrading from 4.4.3 (#957)
- (Fix) Index out of range when saving some file formats (#957)
- (Change) Exposure time finder: Allow using 0 for the normal step in the multiple exposure generator (#958)
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

3 participants