Re: [Gimp-user] Script error - how to fix?



On 17-01-10 04:23 PM, BristolGarry wrote:
Hi Folks - I was trying to add the Sepia script into Gimp (2.8.18, operating on
Ubuntu 16.10), and got the following error.  I have NO idea what this means or
how to fix it,
[snip]
Plug-in "script-fu"
(/usr/lib/gimp/2.0/plug-ins/script-fu)
attempted to register the menu item "<Image>/Filters/Combine" for procedure
"script-fu-pandora-combine".
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().

It sounds like you have include a menu path in the script-fu-register call instead of setting the path for the menu in script-fu-menu-register.

In the script-fu-register block the first thing you specify is the name of the script function to be called. The second entry is the menu entry for script without any menu path.

You set the path by including a menu register call such as this:

(script-fu-menu-register "script-fu-pandora-combine"
                         "<Image>/Filters/Combine")

--
Cheers!

Kevin.

http://www.ve3syb.ca/           |"Nerds make the shiny things that distract
Owner of Elecraft K2 #2172      | the mouth-breathers, and that's why we're
                                | powerful!"
#include <disclaimer/favourite> |             --Chris Hardwick


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]