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

decode section_map_address: 0x0 [RLL 0] (r2004) #769

Closed
weikenxq opened this issue Jul 4, 2023 · 2 comments
Closed

decode section_map_address: 0x0 [RLL 0] (r2004) #769

weikenxq opened this issue Jul 4, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@weikenxq
Copy link

weikenxq commented Jul 4, 2023

Hello,

I try to convert dwg to dxf using dwg2dxf, got error as below:

dwg2dxf -o ~/Downloads/64a08d92d5b6a0c965b9442fb0b48fb7389b9cec.dwg.dxf /Downloads/64a08d92d5b6a0c965b9442fb0b48fb7389b9cec.dwg
Reading DWG file /Downloads/64a08d92d5b6a0c965b9442fb0b48fb7389b9cec.dwg
ERROR: Failed to decode file: /Users/weiken/Downloads/64a08d92d5b6a0c965b9442fb0b48fb7389b9cec.dwg 0x100

READ ERROR 0x100

origin dwg file open with AutoCAD:
image

attachment

64a08d92d5b6a0c965b9442fb0b48fb7389b9cec.dwg.zip

@rurban
Copy link
Contributor

rurban commented Jul 6, 2023

This is a section_map_address: 0x0 [RLL 0], which we cannot deal with yet. No idea how to find the real section_map_address now. ODA can read it, but their specs don't define that case.

I think I have a fix now. Looks like this is a valid value.

@rurban rurban changed the title Failed to decode file decode section_map_address: 0x0 [RLL 0] (r2004) Jul 6, 2023
rurban added a commit that referenced this issue Jul 6, 2023
@rurban rurban self-assigned this Jul 6, 2023
@rurban rurban added the bug Something isn't working label Jul 6, 2023
@rurban
Copy link
Contributor

rurban commented Jul 7, 2023

Fixed, thanks for the testcase!

@rurban rurban closed this as completed Jul 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants