d-j-a-y / Gimp2Synfig

fork of synfigexport.py - Gimp python fu plugin for exporting to Synfig Studio file format (.sifz)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error when trying to export from not saved file (and no output path)

d-j-a-y opened this issue · comments

Gimp > new file > export > error

AttributeError: 'NoneType' object has no attribute 'split'

Traceback (most recent call last):
File "/usr/lib/gimp/2.0/python/gimpfu.py", line 735, in response
dialog.res = run_script(params)
File "/usr/lib/gimp/2.0/python/gimpfu.py", line 361, in run_script
return apply(function, params)
File "/home/frijol/.gimp-2.8/plug-ins/synfigexportut.py", line 182, in python_fu_exportsynfig
default_prefix = img.filename.split('.xcf')[0]
AttributeError: 'NoneType' object has no attribute 'split'