Re: problem with opening a file



On 07/07/2014 05:56 PM, Ирина Тетеревкова wrote:
Hi!

I have a problem with Dia sofware. When i want to open svg file, Dia says: "PyDia Error (../../../plug-ins/python/diamodule.c:295): <type 'exceptions.NotImplementedError'>NotImplementedError('Unknown unit Q',)Traceback (most recent call last):
  File "/usr/share/dia/python/diasvg_import.py", line 717, in import_svg
    imp.Parse(f.read())
  File "/usr/share/dia/python/diasvg_import.py", line 658, in Parse
    p.Parse(sData)
File "/usr/share/dia/python/diasvg_import.py", line 632, in start_element
    _eval(s, locals())
  File "/usr/share/dia/python/diasvg_import.py", line 78, in _eval
    return eval (s, {'__builtins__' : None }, _locals)
  File "<string>", line 1, in <module>
  File "/usr/share/dia/python/diasvg_import.py", line 409, in d
    xc = Scaled(sp[j]); yc = Scaled(sp[j+1])
  File "/usr/share/dia/python/diasvg_import.py", line 65, in Scaled
    raise NotImplementedError("Unknown unit %s %s" % (s[:-2], s[-2:]))"


What should I do with this error?

Can we have a look at the SVG file? It's hard to tell this way.
As an idea, look if your file is really a SVG one, or is an ilustrator file.

Dima.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]