GIMP Chat
http://gimpchat.com/

Plugin directory issue
http://gimpchat.com/viewtopic.php?f=9&t=12626
Page 1 of 1

Author:  Feather [ Mon Jun 08, 2015 9:23 pm ]
Post subject:  Plugin directory issue

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.

Author:  Wallace [ Mon Jun 08, 2015 9:24 pm ]
Post subject:  Re: Plugin directory issue

What the heck is pythonw.exe?

Author:  ofnuts [ Tue Jun 09, 2015 2:08 am ]
Post subject:  Re: Plugin directory issue

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

Author:  jontait2 [ Tue Jun 09, 2015 2:12 am ]
Post subject:  Re: Plugin directory issue

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?

Author:  Feather [ Tue Jun 09, 2015 10:06 am ]
Post subject:  Re: Plugin directory issue

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.

Author:  Feather [ Tue Jun 09, 2015 12:25 pm ]
Post subject:  Re: Plugin directory issue

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

Author:  rob_brz1 [ Wed Jun 10, 2015 9:53 am ]
Post subject:  Re: Plugin directory issue

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.

Author:  CrandellWS [ Sun Oct 04, 2015 12:34 am ]
Post subject:  Re: Plugin directory issue

After having the same basic problem :gaah and trying to figure out the how to fix the error
Quote:
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
os.getcwd()
:ninja
(PF_DIRNAME, "directory", "Directory", os.getcwd()),


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

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/