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 read CHITUBOX Basic V2.0 AnyCubic Files #849

Closed
jleppert opened this issue Mar 10, 2024 · 3 comments
Closed

[Bug] Can't read CHITUBOX Basic V2.0 AnyCubic Files #849

jleppert opened this issue Mar 10, 2024 · 3 comments
Assignees

Comments

@jleppert
Copy link

System

UVtools v4.2.4 X64
Operative system: Linux 5.4.0-169-generic #187-Ubuntu SMP Thu Nov 23 14:52:28 UTC 2023 X64
Processor: AMD Ryzen Threadripper 2990WX 32-Core Processor
Processor cores: 64
Memory RAM: 91.41 / 125.81 GB
Runtime: ubuntu.20.04-x64
Framework: .NET 6.0.27
AvaloniaUI: 11.0.7
OpenCV: 4.8.1

Sreens, resolution, working area, usable area:
1: 3840 x 2160 @ 150% (Primary)
    WA: 3775 x 2130    UA: 2517 x 1420
2: 2560 x 1440 @ 100%
    WA: 2560 x 1410    UA: 2560 x 1410

Path:       /tmp/.mount_UVtoolHQsAvV/usr/bin/
Executable: /tmp/.mount_UVtoolHQsAvV/usr/bin/UVtools

Printer and Slicer

  • Printer: Anycubic Photon M5S
  • Slicer: CHITUBOX Basic V2.0

Description of the bug

When opening the file, receive the following fatal error dialog box:

System.IO.FileLoadException: 'MACHINE' section expected, but got 'Photon'
at UVtools.Core.FileFormats.PhotonWorkshopFile.AnycubicNamedTable.ValidateExpecting(Int32 length, Boolean validateName) in UVtools.Core/FileFormats/PhotonWorkshopFile.cs:line 289
at UVtools.Core.FileFormats.PhotonWorkshopFile.DecodeInternally(OperationProgress progress) in UVtools.Core/FileFormats/PhotonWorkshopFile.cs:line 2146
at UVtools.Core.FileFormats.FileFormat.Decode(String fileFullPath, FileDecodeType fileDecodeType, OperationProgress progress) in UVtools.Core/FileFormats/FileFormat.cs:line 4154
at UVtools.UI.MainWindow.<>c__DisplayClass96_0.b__1() in UVtools.UI/MainWindow.axaml.cs:line 1416

How to reproduce

Create any file with Chitubox Basic V2.0 and it crashes, file IS NOT CORRUPT

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

@sn4k3
Copy link
Owner

sn4k3 commented Mar 11, 2024

This is a problem with Chitubox, they write "Photon" instead of "MACHINE" to label a section on file. While printer does not validate that it's a bug on thier side and not following the Anycubic spec. You should report this to Chitubox.

@sn4k3 sn4k3 changed the title [Bug] Can't read CHITUBOX Basic V2.0 PM5S Files [Bug] Can't read CHITUBOX Basic V2.0 AnyCubic Files Mar 11, 2024
@sn4k3
Copy link
Owner

sn4k3 commented Apr 30, 2024

Looks like fixed on new chitubox version v2.1

@sn4k3 sn4k3 closed this as completed Apr 30, 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