GNOME Bugzilla – Bug 169142
"No attribute type ..." warning on export/conversion
Last modified: 2005-10-08 20:28:57 UTC
Please describe the problem: An interesting warning occurs on specific input files: $ dia -t png kernel_component_interaction.dia ** (dia-python:9063): WARNING **: No attribute type ((nil)) or no data((nil)) in this attribute ** (dia-python:9063): WARNING **: No attribute type ((nil)) or no data((nil)) in this attribute kernel_component_interaction.dia --> kernel_component_interaction.png $ Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information: See attachment
Created attachment 38225 [details] Example dia file
These are quite similar to the warnings included in bug 169006 (but which are unrelated to the crash in that report). These warnings about missing attributes seem to be fairly harmless. Most likely your file is also from an older version of Dia.
A *lot* of objects should have almost every attribute be optional with some reasonable default. Attributes excepted would be things like position and size, perhaps, but most other things can be read just fine with the defaults. Remember Postel's Prescription "Be liberal in what you accept, and conservative in what you send", which should go for file formats as well as network protocols.
Confirmed
Complaining about ("UML - State")::type is extra ugly cause we deliberately don't save it any longer since quite some time. 2005-03-19 Hans Breuer <hans@breuer.org> * objects/UML/state.c : ("UML - State")::type is PROP_FLAG_OPTIONAL, or better not used any longer. Fixes bug #169142.
Adjusting target to help finding 0.94 dups already fixed