Comments (15)
dwg2dxf -v3 'File-2019.dwg' -o 'File.dxf'
Reading DWG file /File-2019.dwg
This file's version code is: AC1032 (r2018)
is_maint: 0x0 [RC 0]
zero_one_or_three: 0x3 [RC 0]
thumbnail_address: 448 [RL 0]
dwg_version: 0x21 [RC 0]
maint_version: 0x0 [RC 0]
codepage: 30 [RS 0]
ANSI_1252
unknown_0: 0x0 [RC 0]
app_dwg_version: 0x0 [RC 0]
app_maint_version: 0x0 [RC 0]
security_type: 0 [RL 0]
rl_1c_address: 0 [RL 0]
summaryinfo_address: 288 [RL 0]
vbaproj_address: 0 [RL 0]
r2004_header_address: 128 [RL 0]
#### r2004 File Header ####
file_ID_string: "AcFssFcAJMB" [TFF 12 0]
41634673734663414A4D4200
header_address: 0x0 [RLx 0]
header_size: 108 [RL 0]
x04: 4 [RL 0]
root_tree_node_gap: -4 [RLd 0]
lowermost_left_tree_node_gap: -31 [RLd 0]
lowermost_right_tree_node_gap: -2 [RLd 0]
unknown_long: 1 [RL 0]
last_section_id: 33407 [RL 0]
last_section_address: 0x293FA300 [RLL 0]
secondheader_address: 0x29398184 [RLL 0]
numgaps: 7 [RL 0]
numsections: 33389 [RL 0]
x20: 32 [RL 0]
x80: 128 [RL 0]
x40: 64 [RL 0]
section_map_id: 33407 [RL 0]
section_map_address: 0x29367120 [RLL 0]
section_info_id: 33406 [RLd 0]
section_array_size: 33407 [RL 0]
gap_array_size: 31 [RL 0]
crc32: 0x17c7b65c [RLx 0]
padding: [TFFx 12 0]
4134F74DBAF3701C8FFA8EE8
crc32 => 0x17c7b65c (verified)
=== Read System Section (Section Page Map) @29367220 ===
section_type: 0x41630e3b [RLx 0]
decomp_data_size: 267280 [RL 0]
comp_data_size: 200508 [RL 0]
compression_type: 2 [RL 0]
checksum1 => 0x1c930337 with seed and crc 0
checksum: 0x1b59a6b8 [RLx 0]
Warning: checksum: 0x2fbea88a (calculated) CRC mismatch 0x29367234-0x29398170
ERROR:
Invalid comp_bytes 4 > 3 bytes left (vs 3)
ERROR: Failed to read R2004 Section Page Map.
ERROR: Failed to decode file: /home/michel/Dokumente/File-2019.dwg 0x440
READ ERROR 0x440
A DXF is not created.
I have here a running AutoCAD 2019
If you wish I could also do something on this application.
File-2019 has 675MB in on Disk.
On AutoCAD I did:
Audit
Auditing Header
Auditing Tables
Auditing Entities Pass 1
Pass 1 2000 objects audited
Auditing Entities Pass 2
Pass 2 2000 objects audited
Auditing Blocks
6 Blocks audited
Auditing AcDsRecords
Total errors found 0 fixed 0
Erased 0 objects
then I purged the File and did a Recover
The File has now 311MB
but dwg2dxf still has an Error and do not create a DXF:
Reading DWG file /File-2019-purged-recovered.dwg
This file's version code is: AC1032 (r2018)
is_maint: 0x0 [RC 0]
zero_one_or_three: 0x3 [RC 0]
thumbnail_address: 448 [RL 0]
dwg_version: 0x21 [RC 0]
maint_version: 0x0 [RC 0]
codepage: 30 [RS 0]
ANSI_1252
unknown_0: 0x0 [RC 0]
app_dwg_version: 0x0 [RC 0]
app_maint_version: 0x0 [RC 0]
security_type: 0 [RL 0]
rl_1c_address: 0 [RL 0]
summaryinfo_address: 288 [RL 0]
vbaproj_address: 0 [RL 0]
r2004_header_address: 128 [RL 0]
#### r2004 File Header ####
file_ID_string: "AcFssFcAJMB" [TFF 12 0]
41634673734663414A4D4200
header_address: 0x0 [RLx 0]
header_size: 108 [RL 0]
x04: 4 [RL 0]
root_tree_node_gap: 0 [RLd 0]
lowermost_left_tree_node_gap: 0 [RLd 0]
lowermost_right_tree_node_gap: 0 [RLd 0]
unknown_long: 1 [RL 0]
last_section_id: 15222 [RL 0]
last_section_address: 0x130D9320 [RLL 0]
secondheader_address: 0x130AC28F [RLL 0]
numgaps: 0 [RL 0]
numsections: 15218 [RL 0]
x20: 32 [RL 0]
x80: 128 [RL 0]
x40: 64 [RL 0]
section_map_id: 15222 [RL 0]
section_map_address: 0x13096060 [RLL 0]
section_info_id: 15221 [RLd 0]
section_array_size: 15222 [RL 0]
gap_array_size: 4 [RL 0]
crc32: 0xb7f95f10 [RLx 0]
padding: [TFFx 12 0]
4134F74DBAF3701C8FFA8EE8
crc32 => 0xb7f95f10 (verified)
=== Read System Section (Section Page Map) @13096160 ===
section_type: 0x41630e3b [RLx 0]
decomp_data_size: 121744 [RL 0]
comp_data_size: 90375 [RL 0]
compression_type: 2 [RL 0]
checksum1 => 0x3053052d with seed and crc 0
checksum: 0xd5f84b51 [RLx 0]
Warning: checksum: 0xe69e4dba (calculated) CRC mismatch 0x13096174-0x130ac27b
ERROR: Invalid lit_length 4 > 3 bytes left
ERROR: Failed to read R2004 Section Page Map.
ERROR: Failed to decode file: /File-2019-purged-recovered.dwg 0x440
READ ERROR 0x440
from libredwg.
No, sounds valid to me
from libredwg.
@Mannshoch Could you present the command which you use?
This is strange:
READ ERROR 0x440
Reading DWG file file2019.dxf
ERROR: File not found: `file2019.dxf`
You are reading dwg file not dxf file.
Which version of libredwg do you use?
DWG file is AC1032?
from libredwg.
Can you send me your file2019.dwg? I need to have a look if it's a wrong overflow error, or some other problem with the section_map
from libredwg.
Sorry, I'm not allowed to publish that dwg. If you give me advice I will collect data and send them to you.
from libredwg.
@Mannshoch Could you present the command which you use? This is strange:
READ ERROR 0x440 Reading DWG file file2019.dxf ERROR: File not found: `file2019.dxf`
You are reading dwg file not dxf file.
Which version of libredwg do you use? DWG file is AC1032?
Version: dwg2dxf 0.12.5-1549-g2eebb566
I did some more tests with a file that was originally 2019 and converted into 2010 and 2000:
File-2019.dwg - AC1032
File-2010.dwg - AC1024
File-2000.dwg - AC1015
$: dwg2dxf 'File-2019.dwg' 'File.dxf'
Reading DWG file File-2019.dwg
Warning: checksum: 0x2fbea88a (calculated) CRC mismatch 0x29367234-0x29398170
ERROR:
Invalid comp_bytes 4 > 3 bytes left (vs 3)
ERROR: Failed to read R2004 Section Page Map.
ERROR: Failed to decode file: File-2019.dwg 0x440
READ ERROR 0x440
Reading DWG file File.dxf
ERROR: File not found: File.dxf
READ ERROR 0x1000
$: dwg2dxf 'File-2010.dwg' 'File.dxf'
Reading DWG file File-2010.dwg
Warning: checksum: 0x14bc41a7 (calculated) CRC mismatch 0x1f3f5f54-0x1f41b138
ERROR:
Invalid comp_bytes 4 > 3 bytes left (vs 3)
ERROR: Failed to read R2004 Section Page Map.
ERROR: Failed to decode file: /home/michel/Dokumente/File-2010.dwg 0x440
READ ERROR 0x440
Reading DWG file /home/michel/Dokumente/File.dxf
ERROR: File not found: /home/michel/Dokumente/File.dxf
READ ERROR 0x1000
$: dwg2dxf 'File-2000.dwg' 'File.dxf'
Reading DWG file File-2000.dwg
Warning: Unstable Class object 504 TABLESTYLE (0xfff) 34/0
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: Unknown Class object 539 AT_VIEWPORTTABLEREACTOR (0x400)
Warning: Unstable Class object 551 RAPIDRTRENDERSETTINGS (0x400) 151/0
Warning: Unhandled Class object 547 ACDBASSOCPERSSUBENTMANAGER (0x400) 152/0
Warning: Unhandled Class object 548 ACDBPERSSUBENTMANAGER (0x400) 153/0
Warning: Unknown Class object 552 KS_DATARECORD (0x0)
Warning: Unknown Class object 552 KS_DATARECORD (0x0)
Warning: Unknown Class object 553 Ks_BoltStyle (0x0)
Warning: Unknown Class object 553 Ks_BoltStyle (0x0)
Warning: Unknown Class object 553 Ks_BoltStyle (0x0)
Warning: Unknown Class object 553 Ks_BoltStyle (0x0)
Warning: Unknown Class object 553 Ks_BoltStyle (0x0)
Warning: Unknown Class object 553 Ks_BoltStyle (0x0)
Warning: Unknown Class object 553 Ks_BoltStyle (0x0)
Warning: Unknown Class object 553 Ks_BoltStyle (0x0)
Warning: Unknown Class object 553 Ks_BoltStyle (0x0)
Warning: Unknown Class object 553 Ks_BoltStyle (0x0)
Warning: Unknown Class object 553 Ks_BoltStyle (0x0)
Warning: Unknown Class object 553 Ks_BoltStyle (0x0)
Warning: Unknown Class object 553 Ks_BoltStyle (0x0)
Warning: Unknown Class object 553 Ks_BoltStyle (0x0)
Warning: Unknown Class object 553 Ks_BoltStyle (0x0)
Warning: Unknown Class object 553 Ks_BoltStyle (0x0)
Warning: Unknown Class object 553 Ks_BoltStyle (0x0)
Warning: Unknown Class object 553 Ks_BoltStyle (0x0)
Warning: Unknown Class object 553 Ks_BoltStyle (0x0)
Warning: Unknown Class object 553 Ks_BoltStyle (0x0)
Warning: Unknown Class object 553 Ks_BoltStyle (0x0)
Warning: Unknown Class object 553 Ks_BoltStyle (0x0)
Warning: Unknown Class object 553 Ks_BoltStyle (0x0)
Warning: Unknown Class object 553 Ks_BoltStyle (0x0)
Warning: Unknown Class object 553 Ks_BoltStyle (0x0)
Warning: Unknown Class object 553 Ks_BoltStyle (0x0)
Warning: Unknown Class object 553 Ks_BoltStyle (0x0)
Warning: Unknown Class object 554 Ks_WeldStyle (0x0)
Warning: Unknown Class object 554 Ks_WeldStyle (0x0)
Warning: Unknown Class object 554 Ks_WeldStyle (0x0)
Warning: Unknown Class object 554 Ks_WeldStyle (0x0)
Warning: Unknown Class object 555 Ks_KoteflagStyle (0x0)
Warning: Unknown Class object 555 Ks_KoteflagStyle (0x0)
Warning: Unknown Class object 556 Ks_PosflagStyle (0x0)
Warning: Unknown Class object 556 Ks_PosflagStyle (0x0)
Warning: Unknown Class object 556 Ks_PosflagStyle (0x0)
Warning: Unknown Class object 556 Ks_PosflagStyle (0x0)
Warning: Unknown Class object 556 Ks_PosflagStyle (0x0)
Warning: Unknown Class object 556 Ks_PosflagStyle (0x0)
Warning: Unknown Class object 556 Ks_PosflagStyle (0x0)
Warning: Unknown Class object 556 Ks_PosflagStyle (0x0)
Warning: Unknown Class object 556 Ks_PosflagStyle (0x0)
Warning: Unknown Class object 556 Ks_PosflagStyle (0x0)
Warning: Unknown Class object 556 Ks_PosflagStyle (0x0)
Warning: Unknown Class object 556 Ks_PosflagStyle (0x0)
Warning: Unknown Class object 556 Ks_PosflagStyle (0x0)
Warning: Unknown Class object 556 Ks_PosflagStyle (0x0)
Warning: Unknown Class object 557 KS_SHAPEREFERENCE (0x0)
Warning: Unknown Class object 557 KS_SHAPEREFERENCE (0x0)
Warning: Unknown Class object 552 KS_DATARECORD (0x0)
Warning: Unknown Class object 557 KS_SHAPEREFERENCE (0x0)
Warning: Unknown Class object 561 KS_HANDRAILNEWREACTOR (0x0)
Warning: Unknown Class object 557 KS_SHAPEREFERENCE (0x0)
Warning: Unknown Class object 557 KS_SHAPEREFERENCE (0x0)
ERROR: Invalid xdata type -7864 [RS]
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 559 KS_ARCSHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 559 KS_ARCSHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 559 KS_ARCSHAPE (0xbff)
Warning: Unknown Class entity 559 KS_ARCSHAPE (0xbff)
Warning: Unknown Class entity 559 KS_ARCSHAPE (0xbff)
Warning: Unknown Class entity 559 KS_ARCSHAPE (0xbff)
Warning: Unknown Class entity 559 KS_ARCSHAPE (0xbff)
Warning: Unknown Class entity 559 KS_ARCSHAPE (0xbff)
Warning: Unknown Class entity 559 KS_ARCSHAPE (0xbff)
Warning: Unknown Class object 564 KS_GROUPDATA (0x0)
Warning: Unknown Class object 561 KS_HANDRAILNEWREACTOR (0x0)
Warning: Unstable Class object 517 ACAD_EVALUATION_GRAPH (0x481) 337/0
Warning: Unstable Class object 517 ACAD_EVALUATION_GRAPH (0x481) 341/0
Warning: Unstable Class object 517 ACAD_EVALUATION_GRAPH (0x481) 346/0
Warning: Unstable Class object 517 ACAD_EVALUATION_GRAPH (0x481) 350/0
Warning: Unhandled Class object 573 ACSH_LOFT_CLASS (0x481) 351/0
Warning: Unstable Class object 517 ACAD_EVALUATION_GRAPH (0x481) 354/0
Warning: Unstable Class object 517 ACAD_EVALUATION_GRAPH (0x481) 357/0
Getötet
from libredwg.
@Mannshoch Ah, I see, what you are doing.
Right command is:
dwg2dxf 'File-2010.dwg' -o 'File.dxf'
from libredwg.
Which version of libredwg do you use?
Version: dwg2dxf 0.12.5-1549-g2eebb566
This is something bad :-)
Actual version is 0.12.5.6939
from libredwg.
Sorry, I'm not so skilled in Git.
I followed this advise from FreeCAD for compiling
https://wiki.freecad.org/FreeCAD_and_DWG_Import
After Git pull and recompileI have still: dwg2dxf 0.12.5-1549-g2eebb566
If I try it from Github: [email protected]:LibreDWG/libredwg.git I get a
Cloning into 'libredwg'...
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
so I assume https://git.savannah.gnu.org/git/libredwg.git is still correct?
from libredwg.
@Mannshoch There are some facts:
- Intensive development, so prebuilt binaries could be obsolete :-)
- If you have Windows and you don't want to compile, look to https://github.com/LibreDWG/libredwg/releases . I tested the last Windows dev release on Wine and it's running. 0.12.5.5877
> wine dwg2dxf.exe --version
dwg2dxf 0.12.5.5877
- ad git)
git clone https://github.com/LibreDWG/libredwg.git
from libredwg.
I compiled it from the
libredwg-0.12.5.6939.tar.gz file. I use Ubuntu.
$: dwg2dxf --version
dwg2dxf 0.12.5.6939
$: dwg2dxf 'File-2000.dwg' -o 'File.dxf'
Reading DWG file File-2000.dwg
Warning: Unstable Class object 504 TABLESTYLE (0xfff) 34/0
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: Unknown Class object 539 AT_VIEWPORTTABLEREACTOR (0x400)
Warning: Unstable Class object 551 RAPIDRTRENDERSETTINGS (0x400) 151/0
Warning: Unhandled Class object 547 ACDBASSOCPERSSUBENTMANAGER (0x400) 152/0
Warning: Unhandled Class object 548 ACDBPERSSUBENTMANAGER (0x400) 153/0
Warning: Unknown Class object 552 KS_DATARECORD (0x0)
Warning: Unknown Class object 552 KS_DATARECORD (0x0)
Warning: Unknown Class object 553 Ks_BoltStyle (0x0)
Warning: Unknown Class object 553 Ks_BoltStyle (0x0)
Warning: Unknown Class object 553 Ks_BoltStyle (0x0)
Warning: Unknown Class object 553 Ks_BoltStyle (0x0)
Warning: Unknown Class object 553 Ks_BoltStyle (0x0)
Warning: Unknown Class object 553 Ks_BoltStyle (0x0)
Warning: Unknown Class object 553 Ks_BoltStyle (0x0)
Warning: Unknown Class object 553 Ks_BoltStyle (0x0)
Warning: Unknown Class object 553 Ks_BoltStyle (0x0)
Warning: Unknown Class object 553 Ks_BoltStyle (0x0)
Warning: Unknown Class object 553 Ks_BoltStyle (0x0)
Warning: Unknown Class object 553 Ks_BoltStyle (0x0)
Warning: Unknown Class object 553 Ks_BoltStyle (0x0)
Warning: Unknown Class object 553 Ks_BoltStyle (0x0)
Warning: Unknown Class object 553 Ks_BoltStyle (0x0)
Warning: Unknown Class object 553 Ks_BoltStyle (0x0)
Warning: Unknown Class object 553 Ks_BoltStyle (0x0)
Warning: Unknown Class object 553 Ks_BoltStyle (0x0)
Warning: Unknown Class object 553 Ks_BoltStyle (0x0)
Warning: Unknown Class object 553 Ks_BoltStyle (0x0)
Warning: Unknown Class object 553 Ks_BoltStyle (0x0)
Warning: Unknown Class object 553 Ks_BoltStyle (0x0)
Warning: Unknown Class object 553 Ks_BoltStyle (0x0)
Warning: Unknown Class object 553 Ks_BoltStyle (0x0)
Warning: Unknown Class object 553 Ks_BoltStyle (0x0)
Warning: Unknown Class object 553 Ks_BoltStyle (0x0)
Warning: Unknown Class object 553 Ks_BoltStyle (0x0)
Warning: Unknown Class object 554 Ks_WeldStyle (0x0)
Warning: Unknown Class object 554 Ks_WeldStyle (0x0)
Warning: Unknown Class object 554 Ks_WeldStyle (0x0)
Warning: Unknown Class object 554 Ks_WeldStyle (0x0)
Warning: Unknown Class object 555 Ks_KoteflagStyle (0x0)
Warning: Unknown Class object 555 Ks_KoteflagStyle (0x0)
Warning: Unknown Class object 556 Ks_PosflagStyle (0x0)
Warning: Unknown Class object 556 Ks_PosflagStyle (0x0)
Warning: Unknown Class object 556 Ks_PosflagStyle (0x0)
Warning: Unknown Class object 556 Ks_PosflagStyle (0x0)
Warning: Unknown Class object 556 Ks_PosflagStyle (0x0)
Warning: Unknown Class object 556 Ks_PosflagStyle (0x0)
Warning: Unknown Class object 556 Ks_PosflagStyle (0x0)
Warning: Unknown Class object 556 Ks_PosflagStyle (0x0)
Warning: Unknown Class object 556 Ks_PosflagStyle (0x0)
Warning: Unknown Class object 556 Ks_PosflagStyle (0x0)
Warning: Unknown Class object 556 Ks_PosflagStyle (0x0)
Warning: Unknown Class object 556 Ks_PosflagStyle (0x0)
Warning: Unknown Class object 556 Ks_PosflagStyle (0x0)
Warning: Unknown Class object 556 Ks_PosflagStyle (0x0)
Warning: Unknown Class object 557 KS_SHAPEREFERENCE (0x0)
Warning: Unknown Class object 557 KS_SHAPEREFERENCE (0x0)
Warning: Unknown Class object 552 KS_DATARECORD (0x0)
Warning: Unknown Class object 557 KS_SHAPEREFERENCE (0x0)
Warning: Unknown Class object 561 KS_HANDRAILNEWREACTOR (0x0)
Warning: Unknown Class object 557 KS_SHAPEREFERENCE (0x0)
Warning: Unknown Class object 557 KS_SHAPEREFERENCE (0x0)
ERROR: Invalid xdata type -7864 [RS]
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 559 KS_ARCSHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 559 KS_ARCSHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 558 KS_SHAPE (0xbff)
Warning: Unknown Class entity 559 KS_ARCSHAPE (0xbff)
Warning: Unknown Class entity 559 KS_ARCSHAPE (0xbff)
Warning: Unknown Class entity 559 KS_ARCSHAPE (0xbff)
Warning: Unknown Class entity 559 KS_ARCSHAPE (0xbff)
Warning: Unknown Class entity 559 KS_ARCSHAPE (0xbff)
Warning: Unknown Class entity 559 KS_ARCSHAPE (0xbff)
Warning: Unknown Class entity 559 KS_ARCSHAPE (0xbff)
Warning: Unknown Class object 564 KS_GROUPDATA (0x0)
Warning: Unknown Class object 561 KS_HANDRAILNEWREACTOR (0x0)
Warning: Unstable Class object 517 ACAD_EVALUATION_GRAPH (0x481) 337/0
Warning: Unstable Class object 517 ACAD_EVALUATION_GRAPH (0x481) 341/0
Warning: Unstable Class object 517 ACAD_EVALUATION_GRAPH (0x481) 346/0
Warning: Unstable Class object 517 ACAD_EVALUATION_GRAPH (0x481) 350/0
Warning: Unhandled Class object 573 ACSH_LOFT_CLASS (0x481) 351/0
Warning: Unstable Class object 517 ACAD_EVALUATION_GRAPH (0x481) 354/0
Warning: Unstable Class object 517 ACAD_EVALUATION_GRAPH (0x481) 357/0
killed
$: dwg2dxf 'File-2010.dwg' -o 'File.dxf'
Reading DWG file File-2010.dwg
Warning: checksum: 0x14bc41a7 (calculated) CRC mismatch 0x1f3f5f54-0x1f41b138
ERROR:
Invalid comp_bytes 4 > 3 bytes left (vs 3)
ERROR: Failed to read R2004 Section Page Map.
ERROR: Failed to decode file: File-2010.dwg 0x440
READ ERROR 0x440
$: dwg2dxf 'File-2019.dwg' -o 'File.dxf'
Reading DWG file File-2019.dwg
Warning: checksum: 0x2fbea88a (calculated) CRC mismatch 0x29367234-0x29398170
ERROR:
Invalid comp_bytes 4 > 3 bytes left (vs 3)
ERROR: Failed to read R2004 Section Page Map.
ERROR: Failed to decode file: File-2019.dwg 0x440
READ ERROR 0x440
from libredwg.
Hmm, fine. I haven't any DWG files with these errors.
from libredwg.
@Mannshoch
If you don't want to share the whole file, you can share a piece of the log record around the error.
dwg2dxf -v3 'File-2019.dwg' -o 'File.dxf'
for more logs and find ERROR inside.
Same with dwgread -v3 'File-2019.dwg'
from libredwg.
decomp_data_size: 121744 [RL 0]
comp_data_size: 90375 [RL 0]
These sizes are too big, right?
from libredwg.
Test with new Release:
> dwg2dxf 0.13.2.7125
Reading DWG file /File-2019.dwg
This file's version code is: AC1032 (r2018)
is_maint: 0x0 [RC 0]
zero_one_or_three: 0x3 [RC 0]
thumbnail_address: 448 [RL 0]
dwg_version: 0x21 [RC 0]
maint_version: 0x0 [RC 0]
codepage: 30 [RS 0]
ANSI_1252
unknown_0: 0x0 [RC 0]
app_dwg_version: 0x0 [RC 0]
app_maint_version: 0x0 [RC 0]
security_type: 0 [RL 0]
rl_1c_address: 0 [RL 0]
summaryinfo_address: 288 [RL 0]
vbaproj_address: 0 [RL 0]
r2004_header_address: 128 [RL 0]
#### r2004 File Header ####
file_ID_string: "AcFssFcAJMB" [TFF 12 0]
41634673734663414A4D4200
header_address: 0x0 [RLx 0]
header_size: 108 [RL 0]
x04: 4 [RL 0]
root_tree_node_gap: -4 [RLd 0]
lowermost_left_tree_node_gap: -31 [RLd 0]
lowermost_right_tree_node_gap: -2 [RLd 0]
unknown_long: 1 [RL 0]
last_section_id: 33407 [RL 0]
last_section_address: 0x293FA300 [RLL 0]
secondheader_address: 0x29398184 [RLL 0]
numgaps: 7 [RL 0]
numsections: 33389 [RL 0]
x20: 32 [RL 0]
x80: 128 [RL 0]
x40: 64 [RL 0]
section_map_id: 33407 [RL 0]
section_map_address: 0x29367120 [RLL 0]
section_info_id: 33406 [RLd 0]
section_array_size: 33407 [RL 0]
gap_array_size: 31 [RL 0]
crc32: 0x17c7b65c [RLx 0]
padding: [TFFx 12 0]
4134F74DBAF3701C8FFA8EE8
crc32 => 0x17c7b65c (verified)
=== Read System Section (Section Page Map) @29367220 ===
section_type: 0x41630e3b [RLx 0]
decomp_data_size: 267280 [RL 0]
comp_data_size: 200508 [RL 0]
compression_type: 2 [RL 0]
checksum1 => 0x1c930337 with seed and crc 0
checksum: 0x1b59a6b8 [RLx 0]
Warning: checksum: 0x2fbea88a (calculated) CRC mismatch 0x29367234-0x29398170
ERROR:
Invalid comp_bytes 4 > 3 bytes left (vs 3)
ERROR: Failed to read R2004 Section Page Map.
ERROR: Failed to decode file: /File-2019.dwg 0x440
READ ERROR 0x440
from libredwg.
Related Issues (20)
- add codepage-specific isalnum check for valid names HOT 1
- bit_utf8_to_TU is broken
- Mis-positioned values in XYZ of Insert->ins_pt? HOT 6
- how to use vertind to retrieve dwg_ent_vertex_pface in current dwg_data?
- Warning with compilation - unnamed structs/unions HOT 1
- Issue with HANDLE > 32b HOT 1
- hatch entity miss data HOT 3
- Cannot open an autocad2022 version dwg file. HOT 4
- _LibreDWG.so missing from python bindings
- BUILD ERROR: No rule to make target 'all'.
- Problem creating geojson HOT 1
- The necessary files are missing when installing HOT 3
- dwggrep option handling HOT 1
- Use dwgrewrite.c code,autoCAD open conver dwg file have Error pop-up message HOT 1
- add dwgwrite flag to help avoid recovery mode but with data-loss
- Bugs in text splitting for DXF output HOT 1
- centos system: make errors: template.spec:22:1: error: format not a string literal, argument HOT 1
- C:\Users\Liu\Desktop\libredwg-master\src\decode.c(3799,22): error C2065: “ref”: 未声明的标识符 [Desktop\libredwg-master\build2\libredwg.vcxproj] HOT 2
- heap-buffer-overflow exists in the function bit_read_fixed in /src/bits.c
- dwgrewrite error,CAD does not recognize HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libredwg.