Page 1 of 1

Autosave warning ...

Posted: Sat Sep 28, 2013 9:51 pm
by Husky
XP/32 QCAD 3.3.2

Right now, during my session, I get a couple Autosave warnings. Why is that so? I'm working on attributes ...
Husky-2013.09.28-06.png
Husky-2013.09.28-06.png (15.33 KiB) Viewed 8786 times

Re: Autosave warning ...

Posted: Sat Sep 28, 2013 10:07 pm
by andrew
Three entities cannot be saved (the Teigha plugin reports an exception).

To check which ones, you can save the drawing under a new name and open it again in a new tab.

Such errors are due to invalid entities.
Ideally, this should not happen, as QCAD should prevent you from creating invalid entities. If you can figure out what type of entities were not saved, that might be helpful for me to fix the problem.

Re: Autosave warning ...

Posted: Sat Sep 28, 2013 10:45 pm
by Husky
Ok - the bad boy (entity) seems to be a line in a Library item.
If I insert this item ones in my drawing - I get one Saving Warning.
If I put the same item 5 times in my drawing - I get 5 warnings with 5 different numbers.

Re: Autosave warning ...

Posted: Sun Sep 29, 2013 11:48 am
by andrew
Thanks for the update. Can you attache that library item for testing? Thanks.

Re: Autosave warning ...

Posted: Sun Sep 29, 2013 6:08 pm
by Husky
Here it is:
test2.dxf
(97.26 KiB) Downloaded 489 times
Manual / Auto-save provides this warning:
Husky-2013.09.29-01.png
Husky-2013.09.29-01.png (9.09 KiB) Viewed 8763 times

Re: Autosave warning ...

Posted: Sun Sep 29, 2013 10:26 pm
by andrew
Thanks. It's a problem with the attributes that are created when the part is inserted. Their layer IDs can end up being invalid:
http://www.qcad.org/bugtracker/index.ph ... ask_id=932

Should be fixed for the next update, thanks for the report!

Re: Autosave warning ...

Posted: Mon Sep 30, 2013 2:25 am
by Husky
andrew wrote:Should be fixed for the next update
Nice, thank you!