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] Can't save files in ctb format. (MacOS) System.NullReferenceException: Object reference not set #972

Open
SirKliv opened this issue Dec 31, 2024 · 2 comments
Assignees

Comments

@SirKliv
Copy link

SirKliv commented Dec 31, 2024

System

UVtools v5.0.3 Arm64
Operative system: Darwin 24.2.0 Darwin Kernel Version 24.2.0: Fri Dec  6 18:40:14 PST 2024; root:xnu-11215.61.5~2/RELEASE_ARM64_T8103 Arm64
Processor: Apple M1
Processor cores: 8
Memory RAM: 5.84 / 9.98 GB
Runtime: osx-arm64
Framework: .NET 9.0.0
AvaloniaUI: 11.2.3
OpenCV: 4.9.0

Sreens, resolution, working area, usable area:
1: 1440 x 900 @ 100% (Primary) (On this)
    WA: 1440 x 840    UA: 1440 x 840

Path:       /Applications/UVtools.app/Contents/MacOS/
Executable: /Applications/UVtools.app/Contents/MacOS/UVtools
Loaded file: jackal_treasure_island_1.ctb [Version: 4] [Class: ChituboxFile]
UVtools v5.0.3 X64
Operative system: Darwin 24.2.0 Darwin Kernel Version 24.2.0: Fri Dec  6 18:41:43 PST 2024; root:xnu-11215.61.5~2/RELEASE_X86_64 X64
Processor: Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Processor cores: 12
Memory RAM: 8.80 / 13.94 GB
Runtime: osx-x64
Framework: .NET 9.0.0
AvaloniaUI: 11.2.3
OpenCV: 4.9.0

Sreens, resolution, working area, usable area:
1: 1792 x 1120 @ 100% (Primary) (On this)
    WA: 1792 x 1057    UA: 1792 x 1057

Path:       /Applications/UVtools.app/Contents/MacOS/
Executable: /Applications/UVtools.app/Contents/MacOS/UVtools
Loaded file: Hornet_jackal_1.ctb [Version: 4] [Class: ChituboxFile]

Printer and Slicer

  • Printer: Hardlight Black 2K
  • Slicer: Lychee 7.2.0

Description of the bug

Same as #857
Screenshot 2024-12-31 at 17 19 45

How to reproduce

File => Convert to => Chitubox => Chitubox CTB => v1 is work, v2-v5 doesn't

I tried using the terminal command

SlicerFile.MaterialName = string.Empty;

but no effect.

I generated a small ctb file. With it the error also appears.

Files

poussin.ctb.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 31, 2024

The file you provide works for me, either save or convert will success without error.

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