Hi,
I have a problem loading my dxf-file, created yesterday in QCAD. Large parts of the drawing are missing. I can see from my hourly backups, that the file grow every hour while working on it. But when loading the different backups, the last 5 backups look the same in QCAD, large parts are missing. I tried saving the corrupt files again, then all the backups shrink to same small size. The file is saved onto a network-drive, mounted onto a drive letter in windows 7.
I tried opening the files in Autocad Trueview, but Trueview crashes immediately. Then I tried several different DWG Viewers, and a Software called "Solidworks edrawings viewer" is able to open the file and all the missing Parts are there! So it seems QCAD has problems opening it's own file, or QCAD put some correctable errors into file while saving it.
How can I rescue my file? Is saving onto a network-drive not supported?
I'm using:
QCAD 3.9.6 from qcad.org, deleted the Demo-Plugins.
No additional addons, working on Windows 7 Pro 64 Bit
Network drive is on a Windows Small Business Server 2011 Standard
I can send the files via private message.
Cheers,
Stefan
QCAD produced broken file, large parts missing
Moderator: andrew
-
- Newbie Member
- Posts: 3
- Joined: Tue Jul 28, 2015 7:56 am
-
- Newbie Member
- Posts: 3
- Joined: Tue Jul 28, 2015 7:56 am
Re: QCAD produced broken file, large parts missing
Can it be related to autosave? Maybe if I press ctrl-s (save) while QCAD is doing an autosave? Saving the file onto the network drive takes 1 - 3 seconds, during this time the QCAD Gui hangs.
Re: QCAD produced broken file, large parts missing
No. Note that autosave always saves to another file (~filename.dxf for filename.dxf).
It might be related to dxflib which is used by the free QCAD Community Edition only.
It might be related to dxflib which is used by the free QCAD Community Edition only.
-
- Newbie Member
- Posts: 3
- Joined: Tue Jul 28, 2015 7:56 am
Re: QCAD produced broken file, large parts missing
Finally I fixed my file!
I saved a broken file to get the small file with all missing content. Then I diffed this file to the original file and found a Text entry, with an empty line after my custom text. Removing this single empty line fixed the whole file and saved me 5 hours of work
I'm using Text-objects of type "Simple text", and sometimes copy / paste content with a trailing newline into the text-field. Normally it's no problem, as the "Simple text" will simply convert the newline into a space which I can ignore. But it looks like this time a newline went into the dxf-file and destroyed the whole file.
Following an extract of the broken dxf-file:
I saved a broken file to get the small file with all missing content. Then I diffed this file to the original file and found a Text entry, with an empty line after my custom text. Removing this single empty line fixed the whole file and saved me 5 hours of work
I'm using Text-objects of type "Simple text", and sometimes copy / paste content with a trailing newline into the text-field. Normally it's no problem, as the "Simple text" will simply convert the newline into a space which I can ignore. But it looks like this time a newline went into the dxf-file and destroyed the whole file.
Following an extract of the broken dxf-file:
Code: Select all
TEXT
5
18F
100
AcDbEntity
100
AcDbText
8
0
62
256
370
-1
48
1.0
6
BYLAYER
10
60.0
20
40.0
30
0.0
40
1.0
1
My Custom Text with trailing newline
50
0.0
41
1.0
7
textstyle0
71
0
72
0
11
0.0
21
0.0
31
0.0
100
AcDbText
73
1
0
ENDSEC
0
SECTION
2
OBJECTS
0
DICTIONARY
5
C
Re: QCAD produced broken file, large parts missing
Thanks for the details. I filed a bug report at:
http://www.qcad.org/bugtracker/index.ph ... sk_id=1246
http://www.qcad.org/bugtracker/index.ph ... sk_id=1246