• Bugs
  • Gimp to Spine export plugin - Python 'NoneType' has no len()

Hi @Søren, @[삭제됨]

I tried using the latest Spine runtimes with the latest Gimp and got this error.

I followed the instructions from here spine-scripts/gimp at master · EsotericSoftware/spine-scripts
https://github.com/EsotericSoftware/spine-scripts/tree/master/gimp

Latest version of GIMP
https://www.gimp.org/

Is there something I'm missing? Thanks for the help! :scared:

Traceback (most recent call last):
  File "C:\Program Files\GIMP 2\lib\gimp\2.0\python/gimpfu.py", line 740, in response
    dialog.res = run_script(params)
  File "C:\Program Files\GIMP 2\lib\gimp\2.0\python/gimpfu.py", line 361, in run_script
    return apply(function, params)
  File "C:\Program Files\GIMP 2\lib\gimp\2.0\plug-ins\GimpToSpine\GimpToSpine.py", line 44, in spine_export
    name = os.path.splitext(os.path.basename(img.filename))[0]
  File "C:/Program Files/GIMP 2/lib/python2.7/ntpath.py", line 221, in basename
    return split(p)[1]
  File "C:/Program Files/GIMP 2/lib/python2.7/ntpath.py", line 193, in split
    d, p = splitdrive(p)
  File "C:/Program Files/GIMP 2/lib/python2.7/ntpath.py", line 128, in splitdrive
    if len(p) > 1:
TypeError: object of type 'NoneType' has no len()


Related Discussions
...

Sorry for that. Could you maybe send us your Gimp file?

2달 후
Mario wrote

Sorry for that. Could you maybe send us your Gimp file?

Hi Mario,

Sorry, I already deleted it. It was just a test file. Is Gimp working on your end? Might be my PSD file itself? :think: