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

ERROR: read_R2004_section_info out of range #946

Open
xiuweihan opened this issue Mar 1, 2024 · 4 comments
Open

ERROR: read_R2004_section_info out of range #946

xiuweihan opened this issue Mar 1, 2024 · 4 comments

Comments

@xiuweihan
Copy link

xiuweihan commented Mar 1, 2024

dwg file 1:
894_v12.zip

(dwg file 2 moved to #948)

output:READ ERROR *.dwg: 0x540

@michal-josef-spacek
Copy link
Contributor

@xiuweihan Thanks for examples.

There are two different issues. When you use dwgread in both cases exits with error but different.
I am for split to two issues.

@xiuweihan
Copy link
Author

@xiuweihan Thanks for examples.

There are two different issues. When you use dwgread in both cases exits with error but different. I am for split to two issues.

Hope it will be fixed in future versions. If I encounter related DWG drawings, I will submit them to this issue.

@michal-josef-spacek
Copy link
Contributor

@xiuweihan I moved second DWG file to another issue (#948)

@michal-josef-spacek
Copy link
Contributor

Issue is something bad with section[11]:

section_info[11] fields:
size:            4307852197888
num_sections:    14032
max_decomp_size: 1048576000 / 0x3e800000
unknown:         32768
compressed:      1003 (1=no, 2=yes)
type:            2049
encrypted:       27943936 (0=no, 1=yes, 2=unknown)
name:
fixedtype:       0

ERROR: read_R2004_section_info out of range
Warning: Failed to find section_info[11] with type 1
ERROR: Failed to read compressed Header section

@rurban rurban changed the title Use dwglayers.exe(0.13.3) to output the layer names of the dwg file. READ ERROR *.dwg : 0x540 ERROR: read_R2004_section_info out of range Mar 11, 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