It is currently Thu Jul 04, 2024 11:34 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Plugin directory issue
PostPosted: Mon Jun 08, 2015 9:23 pm  (#1) 
Offline
GimpChat Member

Joined: Jun 08, 2015
Posts: 6
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.


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Plugin directory issue
PostPosted: Mon Jun 08, 2015 9:24 pm  (#2) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13068
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
What the heck is pythonw.exe?

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: Plugin directory issue
PostPosted: Tue Jun 09, 2015 2:08 am  (#3) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4756
It's the python interpreter that runs the plugin...

_________________
Image


Top
 Post subject: Re: Plugin directory issue
PostPosted: Tue Jun 09, 2015 2:12 am  (#4) 
Offline
Script Coder
User avatar

Joined: Dec 27, 2014
Posts: 508
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?


Top
 Post subject: Re: Plugin directory issue
PostPosted: Tue Jun 09, 2015 10:06 am  (#5) 
Offline
GimpChat Member

Joined: Jun 08, 2015
Posts: 6
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.


Top
 Post subject: Re: Plugin directory issue
PostPosted: Tue Jun 09, 2015 12:25 pm  (#6) 
Offline
GimpChat Member

Joined: Jun 08, 2015
Posts: 6
I figured out the issue. I have to include "/tmp" at the end of the PF_DIRNAME register line, or else it'll crash.


Top
 Post subject: Re: Plugin directory issue
PostPosted: Wed Jun 10, 2015 9:53 am  (#7) 
Offline
GimpChat Member

Joined: Jul 13, 2014
Posts: 109
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.


Top
 Post subject: Re: Plugin directory issue
PostPosted: Sun Oct 04, 2015 12:34 am  (#8) 
Offline
New Member

Joined: Oct 04, 2015
Posts: 1
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 .


Top
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Script passes a 0 to the Displace plugin, and apparently it's an issue

0

No new posts Directory search not working

3

No new posts GEGL PLUGINS DIRECTORY FOR SNAP GIMP ON LINUX

0

No new posts Attachment(s) Gimp Gap Curves Issue

13

No new posts Rembg install issue

2



* Login  



Powered by phpBB3 © phpBB Group