It is currently Fri Aug 28, 2026 5:20 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: scriptfu
PostPosted: Tue Aug 09, 2011 11:21 am  (#1) 
Offline
GimpChat Member
User avatar

Joined: Jun 04, 2011
Posts: 254
GIMP Version: 2.7.3
Operating System: Windows
OS Version: vista-sp1
GIMP Experience: Basic Level



when I load scriptfu I get this crap, what going on?


Attachments:
tn__2011-08-08_21-15-51.png
tn__2011-08-08_21-15-51.png [ 367.42 KiB | Viewed 2096 times ]

_________________
Image
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: scriptfu
PostPosted: Tue Aug 09, 2011 11:37 am  (#2) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4812
Likely that you have duplicate scripts... check you script directories in Edit/Preferences, and check that you haven't got the same scripts in the general Gimp install (c:\Program files\...) and in your Gimp profile.

_________________
Image


Top
 Post subject: Re: scriptfu
PostPosted: Tue Aug 09, 2011 12:20 pm  (#3) 
Offline
Script Coder
User avatar

Joined: Apr 23, 2010
Posts: 1553
Location: not from Guildford after all
Could you show a screenshot of just one or two error messages at actual size*? I am unable to read what is being reported.

* For example, a full-size capture of the following region:
Attachment:
SSerr.png
SSerr.png [ 42.43 KiB | Viewed 2055 times ]

_________________
Any sufficiently primitive technology is indistinguishable from a rock.


Top
 Post subject: Re: scriptfu
PostPosted: Tue Aug 09, 2011 12:21 pm  (#4) 
Offline
GimpChat Member

Joined: Mar 29, 2011
Posts: 346
Location: Wisconsin
It would help immensely if you posted a screen shot with legible messages. The writing on the one you posted is too small to read accurately.
:ninja

_________________
Image


Top
 Post subject: Re: scriptfu
PostPosted: Tue Aug 09, 2011 3:24 pm  (#5) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
From what i may read the message is always the same

"plugin script fu exe
Attempt to register the menu item (Filters/... /....) for the procedure (script name)
The menu label contained in gimp_install_procedure already contain a path...
To make it work pass ???? ?? to gimp_install_procedure"


The first part is very clear the last line about how fix less (but i could not figure out a couple of words )

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: scriptfu
PostPosted: Wed Aug 10, 2011 4:12 am  (#6) 
Offline
Script Coder
User avatar

Joined: Jun 22, 2010
Posts: 1171
Location: Here and there
With a bit of squinting I can just about read the error message. :shock:

It's complaining that the scripts have specified where to install themselves in the menus twice.

This can happen when a script has been edited incorrectly to change it's menu location

How it should be:
(script-fu-register "script-fu-coffee-stain"
  _"_Coffee Stain..."
  _"Add realistic looking coffee stains to the image"
  "Chris Gutteridge"
  "1998, Chris Gutteridge / ECS dept, University of Southampton, England."
  "25th April 1998"
  "RGB*"
  SF-IMAGE       "The image"   0
  SF-DRAWABLE    "The layer"   0
  SF-ADJUSTMENT _"Stains"      '(3 1 10 1 1 0 0)
  SF-TOGGLE     _"Darken only" TRUE
)

(script-fu-menu-register "script-fu-coffee-stain" "<Image>/Filters/Decor")


If the line _"_Coffee Stain..." has got the menu path in it as well: (which was the old way of doing things)
(script-fu-register "script-fu-coffee-stain"
  _"<Image>/Filters/Decor/_Coffee Stain..."
  _"Add realistic looking coffee stains to the image"
  "Chris Gutteridge"
  "1998, Chris Gutteridge / ECS dept, University of Southampton, England."
  "25th April 1998"
  "RGB*"
  SF-IMAGE       "The image"   0
  SF-DRAWABLE    "The layer"   0
  SF-ADJUSTMENT _"Stains"      '(3 1 10 1 1 0 0)
  SF-TOGGLE     _"Darken only" TRUE
)


Then you can't have the line
(script-fu-menu-register "script-fu-coffee-stain" "<Image>/Filters/Decor")


Because you're trying to locate it twice, and get the error message:
Plug-in "script-fu.exe"
(C:\Program Files\GIMP-2.0\lib\gimp\2.0\plug-ins\script-fu.exe)
attempted to register the menu item "<Image>/Filters/Decor" for procedure "script-fu-coffee-stain".
The menu label given in gimp_install_procedure() already contained a path.  To make this work, pass just the menu's label to gimp_install_procedure().


Where it's probably going wrong for you is that if you have two versions of the script, that use both methods to locate itself, then you get the same error message.

Kevin


Top
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group