[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libredwg] Getting empty output
From: |
Davinder Kumar |
Subject: |
[libredwg] Getting empty output |
Date: |
Mon, 27 Jun 2011 03:31:56 +0530 |
@All i am struggling with a problem from many days that whenever i
used testSVG for converting dwg to svg
A file is created in example folder with name ouput.svg(in my case) i
got the following error
1.It shows empty file in browser means empty browser(i am using
Mozilla Firefox for opening of svg)
2.XML Parsing Error: no element found
Location: file:///home/hanuman/Desktop/libredwg/examples/sample1.svg
Line Number 1, Column 1:
^
3.Segmentation error
That is all in the case of that dwg file that is supported by my
running libredwg.
4.<error-code>
address@hidden:~/Desktop/libredwg/examples$ ./testSVG
ACAD_example_DWG2007.dwg > davinder.svg
=== System Section (Pages Map) ===
--- Page ---
size: 0x400
id: 0x15
offset: 0x480
--- Page ---
size: 0x400
id: 0x16
offset: 0x880
--- Page ---
size: 0x120
id: 0x3
offset: 0xc80
--- Page ---
size: 0x420
id: 0x4
offset: 0xda0
--- Page ---
size: 0x320
id: 0x5
offset: 0x11c0
--- Page ---
size: 0x520
id: 0x6
offset: 0x14e0
--- Page ---
size: 0x320
id: 0x7
offset: 0x1a00
--- Page ---
size: 0x100
id: 0x8
offset: 0x1d20
--- Page ---
size: 0x61a0
id: 0x9
offset: 0x1e20
--- Page ---
size: 0x100
id: 0xa
offset: 0x7fc0
--- Page ---
size: 0x100
id: 0xb
offset: 0x80c0
--- Page ---
size: 0x500
id: 0xc
offset: 0x81c0
--- Page ---
size: 0x27e0
id: 0xd
offset: 0x86c0
--- Page ---
size: 0x2ee0
id: 0xe
offset: 0xaea0
--- Page ---
size: 0x100
id: 0xf
offset: 0xdd80
--- Page ---
size: 0x300
id: 0x10
offset: 0xde80
--- Page ---
size: 0x1200
id: 0x11
offset: 0xe180
--- Page ---
size: 0x1200
id: 0x12
offset: 0xf380
=== System Section (Section Map) ===
--- Section ---
data size: 674
max size: 768
encryption: 2
hashcode: 6c4205ca
name length: 34
unknown: 0
encoding: 1
num pages: 1
Section name: AcDb:FileDepList
--- Page ---
offset: 0
size: 768
id: 7
uncomp_size: 674
comp_size: 674
checksum: 676f0966
crc: d482cd12b5561a89
--- Section ---
data size: 1262
max size: 1280
encryption: 0
hashcode: 96de0737
name length: 40
unknown: 0
encoding: 1
num pages: 1
Section name: AcDb:AppInfoHistory
--- Page ---
offset: 0
size: 1280
id: 6
uncomp_size: 1262
comp_size: 1262
checksum: b73fb739
crc: 1e606c95d05efe22
--- Section ---
data size: 656
max size: 768
encryption: 0
hashcode: 3fa0043e
name length: 26
unknown: 0
encoding: 1
num pages: 1
Section name: AcDb:AppInfo
--- Page ---
offset: 0
size: 768
id: 5
uncomp_size: 656
comp_size: 656
checksum: 9da755f3
crc: 4d0fa13448d181ab
--- Section ---
data size: 126
max size: 1024
encryption: 0
hashcode: 40aa0473
name length: 26
unknown: 0
encoding: 1
num pages: 1
Section name: AcDb:Preview
--- Page ---
offset: 0
size: 1024
id: 4
uncomp_size: 126
comp_size: 126
checksum: dd8726b0
crc: 51d684000545f7a6
--- Section ---
data size: 150
max size: 256
encryption: 0
hashcode: 717a060f
name length: 34
unknown: 0
encoding: 1
num pages: 1
Section name: AcDb:SummaryInfo
--- Page ---
offset: 0
size: 256
id: 3
uncomp_size: 150
comp_size: 150
checksum: 38a68851
crc: 80c90b7bcd28842f
--- Section ---
data size: 16
max size: 4096
encryption: 0
hashcode: 60a205b3
name length: 32
unknown: 0
encoding: 4
num pages: 1
Section name: AcDb:RevHistory
--- Page ---
offset: 0
size: 3712
id: 8
uncomp_size: 16
comp_size: 10
checksum: ea4fde94
crc: 22503377bf3ded13
--- Section ---
data size: 59918
max size: 63488
encryption: 0
hashcode: 674c05a9
name length: 34
unknown: 0
encoding: 4
num pages: 1
Section name: AcDb:AcDbObjects
--- Page ---
offset: 0
size: 64512
id: 9
uncomp_size: 59918
comp_size: 24499
checksum: 23b64562
crc: 7daac2c0952ef0fe
--- Section ---
data size: 53
max size: 63488
encryption: 0
hashcode: 77e2061f
name length: 36
unknown: 0
encoding: 4
num pages: 1
Section name: AcDb:ObjFreeSpace
--- Page ---
offset: 0
size: 69376
id: 10
uncomp_size: 53
comp_size: 40
checksum: 9875b97f
crc: 3dd0cdb0ca347560
--- Section ---
data size: 6
max size: 1024
encryption: 0
hashcode: 4a1404ce
name length: 28
unknown: 0
encoding: 4
num pages: 1
Section name: AcDb:Template
--- Page ---
offset: 0
size: 1152
id: 11
uncomp_size: 6
comp_size: 6
checksum: 487536b3
crc: 6742121188ba9609
--- Section ---
data size: 1443
max size: 63488
encryption: 0
hashcode: 3f6e0450
name length: 26
unknown: 0
encoding: 4
num pages: 1
Section name: AcDb:Handles
--- Page ---
offset: 0
size: 63488
id: 12
uncomp_size: 1443
comp_size: 1154
checksum: 12756f90
crc: 505da6cd4752883c
--- Section ---
data size: 114189
max size: 63488
encryption: 0
hashcode: 3f54045f
name length: 26
unknown: 0
encoding: 4
num pages: 2
Section name: AcDb:Classes
--- Page ---
offset: 0
size: 66560
id: 14
uncomp_size: 66560
comp_size: 11792
checksum: f2b87e12
crc: c1d15ece4a4deed9
--- Page ---
offset: 66560
size: 62592
id: 13
uncomp_size: 47629
comp_size: 9917
checksum: d2420e36
crc: 29c9040e83efad2
--- Section ---
data size: 123
max size: 2048
encryption: 0
hashcode: 54f0050a
name length: 30
unknown: 0
encoding: 4
num pages: 1
Section name: AcDb:AuxHeader
--- Page ---
offset: 0
size: 2048
id: 15
uncomp_size: 123
comp_size: 67
checksum: e406540d
crc: 8aadee0abc8449f3
--- Section ---
data size: 860
max size: 2048
encryption: 0
hashcode: 32b803d9
name length: 24
unknown: 0
encoding: 4
num pages: 1
Section name: AcDb:Header
--- Page ---
offset: 0
size: 1920
id: 16
uncomp_size: 860
comp_size: 732
checksum: da2f60b
crc: 254955b7aa93cbab
--- Section ---
data size: 0
max size: 63488
encryption: 0
hashcode: 0
name length: 0
unknown: 0
encoding: 4
num pages: 0
Segmentation fault
Author-Davinder Kumar
</error-code>
According to me if a library, itself unable to convert a dwg to svg
then how can it goes for embedding in librecad like big software.
--
http://davinder.in
Dont hurt the web, use open standards
- [libredwg] Getting empty output,
Davinder Kumar <=