Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Warning: checksum: 0x9e200de2 (calculated) CRC mismatch 0xf0b4-0xf135 #1044

Open
LiStopaD45 opened this issue Nov 20, 2024 · 1 comment
Open

Comments

@LiStopaD45
Copy link

LiStopaD45 commented Nov 20, 2024

Hello! I encountered a strange error. I converted a file dwg to geojson 2 days ago. Everything worked fine. But today I wanted to convert another file and got an error. I tried to convert old files, but I got an error. I did not change the file with the library. I tried to download it again and even a different version. But the error haunts me. I ask for help. I give the error listing below.

Warning: checksum: 0x9e200de2 (calculated) CRC mismatch 0xf0b4-0xf135

Warning: Invalid sections: 0 != numgaps: 0 + numsections: 17
Warning: Unstable Class object 504 TABLESTYLE (0xfff) 34/0
Warning: TODO TABLESTYLE r2010+ missing fields
Warning: Unstable Class object 505 MATERIAL (0x481) 46/0
Warning: Unstable Class object 505 MATERIAL (0x481) 47/0
Warning: Unstable Class object 505 MATERIAL (0x481) 48/0
Warning: Unstable Class object 508 MLEADERSTYLE (0xfff) 69/0
Warning: Unstable Class object 508 MLEADERSTYLE (0xfff) 76/0
ERROR: Invalid zero_18 size 3. Need min. 48 bits, have 0 for .
ERROR: Some section size or address out of bounds
Warning: AcDs schdat segment yet unhandled
Warning: AcDs data segment yet unhandled
Warning: AcDs prvsav segment yet unhandled
Warning: AcDs freesp segment yet unhandled
Warning: Object handle not found 679/0x2A7
Warning: TODO TABLESTYLE r2010+ missing fields
Warning: AcDs schdat segment yet unhandled
SUCCESS

I use dwgread 0.13.3.

@michal-josef-spacek
Copy link
Contributor

@LiStopaD45 You could help us to investigate this. Probably related to some concrete entity/object/item which is failing.
We need to know:

  • Version of original DWG file (AC string at the beginning of the file)
  • Ideally DWG file or DWG file with an example entity, which has the issue.
  • You could run dwgread -v3 __DWG_FILE__ and look to entity, which has ERROR: invalid zero_18, probably SecondHeader and send to us. (-v3 means more verbose output)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants