Package: dia
Version: 0.97.1-8
Severity: normal

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



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.38-2-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dia depends on:
ii  dia-common              0.97.1-8         Diagram editor (common files)
ii  dia-libs                0.97.1-8         Diagram editor (library files)
ii  libart-2.0-2            2.3.21-1         Library of functions for 2D graphi
ii  libatk1.0-0             2.0.0-1          The ATK accessibility toolkit
ii  libc6                   2.11.2-11        Embedded GNU C Library: Shared lib
ii  libcairo2               1.10.2-6         The Cairo 2D vector graphics libra
ii  libfontconfig1          2.8.0-2.1        generic font configuration library
ii  libfreetype6            2.4.4-1          FreeType 2 font engine, shared lib
ii  libgdk-pixbuf2.0-0      2.23.3-3         GDK Pixbuf library
ii  libglib2.0-0            2.28.4-1         The GLib library of C routines
ii  libgtk2.0-0             2.24.4-3         The GTK+ graphical user interface 
ii  libpango1.0-0           1.28.3-6         Layout and rendering of internatio
ii  libpng12-0              1.2.44-2         PNG library - runtime
ii  libxml2                 2.7.8.dfsg-2+b1  GNOME XML library
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages dia recommends:
ii  gsfonts-x11                   0.22       Make Ghostscript fonts available t

dia suggests no packages.

-- no debconf information

<<attachment: herd.svg>>

Reply via email to