dia not opening autodia files
Bug #99545 reported by
Jens Fursund
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
autodia (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: autodia
When creating autodia files by using "autodia.pl -d trunk/ -C -l C++" ... I recieve an error when opening the file in dia.
PyDia Error (diamodule.c:277):
<type 'exceptions.
File "/usr/share/
classes = GetClasses ([sFile])
File "/usr/share/
classes.extend (Parse (f.read()))
File "/usr/share/
p.Parse(sData)
File "/usr/share/
o = eval (s + "()")
I experienced the same problem. Turns out all you have to do is rename the extension with .dia instead of .xml or use -o filename.dia.
I guess Dia tries to import the file as xml and not native dia.