Switch to full style
Post all Gimp scripts and script writing questions here
Post a reply

Plugin directory issue

Mon Jun 08, 2015 9:23 pm

Whenever I try to use a plugin which require you to find a file in a directory, I get an error message that says "pythonw.exe has stopped working", followed by two more error messages:

"Plug-in crashed: "<plugin file name>"
(<plug in location>)
The dying plug-in may have messed up GIMP's internal state. You may want to save your images and restart GIMP to be on the safe side."

and

"Unable to run GimpPdbProgress callback. The corresponding plug-in may have crashed."

I've tried scripts I've written myself, and scripts from others.

For example, if I try to use the tutorial script "exampleJpgToXcf" this is what'll happen:

I click on the plugin in the menu and open the dialog for that plugin, where it asks me to choose a directory. However, when I click on anything in the dropdown menu for the directory the plugin will crash.

Plugins which don't require me to choose a directory work fine.

Any ideas?


I use GIMP version 2.8.14 on Windows 7.

Re: Plugin directory issue

Mon Jun 08, 2015 9:24 pm

What the heck is pythonw.exe?

Re: Plugin directory issue

Tue Jun 09, 2015 2:08 am

It's the python interpreter that runs the plugin...

Re: Plugin directory issue

Tue Jun 09, 2015 2:12 am

When you say "Gimp 2.8.14" ..is that the official Gimp 2.8.14 from the official download site (http://www.gimp.org/downloads/)? Or did you get some nasty third-party package from a dubious source?

Re: Plugin directory issue

Tue Jun 09, 2015 10:06 am

ofnuts wrote:It's the python interpreter that runs the plugin...


Any way to fix this? As far as I know, I use the interpreter that come with Gimp.

jontait2 wrote:When you say "Gimp 2.8.14" ..is that the official Gimp 2.8.14 from the official download site? Or did you get some nasty third-party package from a dubious source?


I got it from the official site. I tried reinstalling it as well with a new download from that site.

Re: Plugin directory issue

Tue Jun 09, 2015 12:25 pm

I figured out the issue. I have to include "/tmp" at the end of the PF_DIRNAME register line, or else it'll crash.

Re: Plugin directory issue

Wed Jun 10, 2015 9:53 am

Hi,
It seems that GIMP Windows build has 'an horror of void'! Since you brought my attention to this, I tried " " ("[space]") with good result in Linux and Windows. But seems any valid character(s) will do.

Re: Plugin directory issue

Sun Oct 04, 2015 12:34 am

After having the same basic problem :gaah and trying to figure out the how to fix the error
Unable to run GimpPdbProgress callback. The corresponding plug-in may have crashed.


This thread was found and must Thank you for the idea
rob_brz1 wrote:tried " " ("[space]") with good result in Linux and Windows. But seems any valid character(s) will do.

:ditto :geeking

After thinking about it, change the line to use
Code:
os.getcwd()
:ninja
Code:
(PF_DIRNAME, "directory", "Directory", os.getcwd()),


Thanks Feather for posting your problem that enabled this solution discovery :thanku .
Post a reply