Gimp-Forum.net
Error on Windows Gimp 2.8.20+Python? - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: General questions (https://www.gimp-forum.net/Forum-General-questions)
+--- Thread: Error on Windows Gimp 2.8.20+Python? (/Thread-Error-on-Windows-Gimp-2-8-20-Python)



Error on Windows Gimp 2.8.20+Python? - dinasset - 03-05-2017

Hi,
just detected that the parameter "PF_DIRNAME" let the filter crash in Windows Gimp 2.8.20.
Try the test filter by Maldonado "test-batch-cartoon" (attached) or even "test-batch-invert":
after picking of the directory the filter crashes.
First detection was on "contactsheet" (see thread on Gimp-chat).
Is something missing in the environment? 
[attachment=364]

This is the error log, if it could be helpful
[attachment=365]


RE: Error on Windows Gimp 2.8.20+Python - dinasset - 03-05-2017

There is a work-around solution in Stackoverflow
https://stackoverflow.com/questions/40821245/python-fu-fails-on-directory-selection-pf-dirname

(as indicated my moroquendo on Gimp-chat)

Edit:
the bottom line for those who read this post is this:
1. if you have Gimp 2.8.20 and you want to use python filters with a parameter which asks you to select a directory, this will cause a pythonw crash
2. if you are able to edit the python filter in error, follow stackoverflow indications to fix it
3. if you aren't, you have to wait for a fix, either general (from Gimp) or specific (from filter's author)