can not import Plain SVG created with inkscape. Example attached.
** (dia:6878): WARNING **: Too few BezPoints!
** (dia:6878): DEBUG: PyDiaProperty_ApplyToObject : no conversion bez_points -> bezpointarray
<type 'exceptions.TypeError'>TypeError('prop type mis-match.',)Traceback (most recent call last):
File "/usr/share/dia/python/diasvg_import.py", line 714, in import_svg
return imp.Render(diagramData)
File "/usr/share/dia/python/diasvg_import.py", line 663, in Render
od = o.Create()
File "/usr/share/dia/python/diasvg_import.py", line 303, in Create
od = o.Create()
File "/usr/share/dia/python/diasvg_import.py", line 201, in Create
self.ApplyProps(o)
File "/usr/share/dia/python/diasvg_import.py", line 442, in ApplyProps
o.properties["bez_points"] = self.pts
Hi, thanks for your report! Unfortunately, I can't reproduce the problem on "import": I'm not sure which import function you are referring to. Directly opening the file on the command line (like "dia herd.svg") is only supported for dia files. Adding an image to a dia file, with herd.svg as image contents works for me. Can you please elaborate about how we can reproduce the problem? Thanks in advance! Roland
Hi, thanks for your report! Unfortunately, I can't reproduce the problem on "import": I'm not sure which import function you are referring to. Directly opening the file on the command line (like "dia herd.svg") is only supported for dia files. Adding an image to a dia file, with herd.svg as image contents works for me. Can you please elaborate about how we can reproduce the problem? Thanks in advance! Roland
how to reproduce: 1. start dia $ dia 2. in the menu of "Diagram1.dia" click File // Open i found out the bug depends on the filetype you select now: Pixbuf svg => works Plain svg => errormessage Scalable Vector Graphics => broken import; picture looks strange
Upstream claims this to be fixed in 0.98. So we'll check again, then.