Inkscape export error

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Inkscape export error

Tomax63

Hello, I receive the following message:

 File "synfig_output.py", line 396
    raise AssertionError, "Unsupported param type %s" % (param_type)
                        ^
SyntaxError: invalid syntax

Whenever I try to export a file.

Same with HP plot file

Traceback (most recent call last):
  File "plt_output.py", line 25, in <module>
    from uniconv_output import run, get_command
  File "D:\Program Files\Inkscape\share\extensions\uniconv_output.py", line 66
    except Exception, inst:
                    ^

SyntaxError: invalid syntax

Can you help me export to Synfig?

Thanks

Thomas



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Inkscape-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/inkscape-devel
Reply | Threaded
Open this post in threaded view
|

Re: Inkscape export error

Shlomi Fish
Hi Thomas,

On Sun, 1 Oct 2017 09:02:02 +0200
Tomax63 <[hidden email]> wrote:

> Hello, I receive the following message:
>
>   File "synfig_output.py", line 396
>      raise AssertionError, "Unsupported param type %s" % (param_type)
>                          ^
> SyntaxError: invalid syntax
>
> Whenever I try to export a file.
>

the problem appears to be that you are using Python 3 (which isn't yet
supported) to run the python code instead of python 2.

Regards,

        Shlomi

> Same with HP plot file
>
> Traceback (most recent call last):
>    File "plt_output.py", line 25, in <module>
>      from uniconv_output import run, get_command
>    File "D:\Program Files\Inkscape\share\extensions\uniconv_output.py",
> line 66
>      except Exception, inst:
>                      ^
> SyntaxError: invalid syntax
>
> Can you help me export to Synfig?
>
> Thanks
>
> Thomas
>
>



--
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
Freecell Solver - http://fc-solve.shlomifish.org/

The difference between a good student and a bad student is that a bad student
forgets the material five minutes before the test, while a good student five
minutes afterwards.
    — One of Shlomi Fish’s Technion Lecturers

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Inkscape-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/inkscape-devel