It is currently Wed Nov 11, 2026 1:30 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 73 posts ]  Go to page Previous  1, 2, 3, 4
Author Message
 Post subject: Re: My Scripts don't show
PostPosted: Sat Nov 12, 2011 11:58 am  (#61) 
Offline
GimpChat Member

Joined: Mar 29, 2011
Posts: 346
Location: Wisconsin
MrBiggz wrote:
I ran across a few scripts that I have that are dups.

What to do now?? :?:

I would keep the newer script and delete the older one.
- If the script name contains a version number, I'd keep the new version.
- Otherwise I'd delete the one with the older file date.

If the scripts are indeed different scripts and you want both of them, then you'll need to change the script's internal name and the menu entry string.
But I really suspect that they are indeed duplicates and you only want to keep the newer one.

_________________
Image


Top
 Post subject: Re: My Scripts don't show
PostPosted: Sat Nov 12, 2011 12:27 pm  (#62) 
Offline
GimpChat Member

Joined: Mar 29, 2011
Posts: 346
Location: Wisconsin
MrBiggz wrote:
I ran across a few scripts that I have that are dups.
What to do now?? :?:

If you really want to know if the scripts are different, run them through a file comparison program.

A good Windows file comparison program is WinMerge - http://winmerge.org/
I assume Linux includes a similar utility.
Don't know anything about Mac's.

_________________
Image


Top
 Post subject: Re: My Scripts don't show
PostPosted: Sat Nov 12, 2011 2:08 pm  (#63) 
Offline
GimpChat Member
User avatar

Joined: Jul 04, 2011
Posts: 395
Location: Indianapolis, IN
I have an easier solution! I just took out everything from my scripts folder and as I add it back in one at a time run the dup check script.

I did try changing the internal names and menu name and after a refresh and even a restart it didn't show. My only thinking is the people that write these script with duplicate names actually meant to replace the script that came with Gimp as the few I've looked at seem to be enhanced. Granted I'm no Gimp expert!

I know most of the scripts that I've collected along my travels have been from the Gimp Registry. So without going back and seeing actually how old the script is may be difficult. I'm sure at one point there was no 'users' folder to keep what Gimp came with and what you added separate.

Should be interesting!

_________________
"That which does not kill us makes us stronger." ~ Friedrich Nietzsche


Top
 Post subject: Re: My Scripts don't show
PostPosted: Sat Nov 12, 2011 9:17 pm  (#64) 
Offline
Script Coder
User avatar

Joined: Jul 14, 2010
Posts: 697
MrBiggz wrote:
I'm sure at one point there was no 'users' folder to keep what Gimp came with and what you added separate.


Nope. From the beginning, Gimp was developed for linux which is inherently multi-user where the concept of a home/user/ folder is standard. Any user customizations get placed there. Anything in the program directory is common for all users. This would let different users have different configurations/settings with the program installed only once on the system.

-Rob A>

_________________
Image
Fantasy Cartography and Mapping by RobA


Top
 Post subject: Re: My Scripts don't show
PostPosted: Sat Nov 12, 2011 9:55 pm  (#65) 
Offline
GimpChat Member

Joined: Mar 14, 2011
Posts: 998
molly wrote:
Sorry ofnuts. I should have typed out the whole path. This is where they are: C:\Users\Molly\.gimp-2.6\scripts

The same problem is happening in Gimp 2.7.4
C:\Users\Molly\.gimp-2.7\plug-ins\share\gimp\2.0\scripts

Molly,

The second path does not look right. I think you may have installed my build in your home folder and somehow inside the user folder. Please use the control panel to completely remove gimp-2.7.4 and install my version in a separate location other than your home .gimp-2.7 folder. If you don't like to use gimp-2.7.4 as your default gimp (and I don't know why ;)), you can install the portable version on an USB drive.

Partha


Top
 Post subject: Re: My Scripts don't show
PostPosted: Sat Nov 12, 2011 10:37 pm  (#66) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
She may install the portable also on the main HD
I suggest that instead then fight with messed up folders, also the portable has a .gimp "user folder" but since is portable is not in the user directory but contained inside.

A last suggestion if you are using 7 DON'T install the portable in Program Files
Install where you like, directly in C, or in Document but not in program files

because if is there Win 7 will prevent you in any way to add or remove script, plugins and whatelse

_________________
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: My Scripts don't show
PostPosted: Sat Nov 12, 2011 10:41 pm  (#67) 
Offline
GimpChat Member

Joined: Mar 14, 2011
Posts: 998
PhotoComix wrote:
She may install the portable also on the main HD
I suggest that instead then fight with messed up folders, also the portable has a .gimp "user folder" but since is portable is not in the user directory but contained inside.

A last suggestion if you are using 7 DON'T install the portable in Program Files
Install where you like, directly in C, or in Document but not in program files

because if is there Win 7 will prevent you in any way to add or remove script, plugins and whatelse

Right. :)

The only issue from a user perspective is that the with the regular version, you can have Gimp as the default program for your graphics file like jpeg, tiff, etc. With portable version, you cannot double-click and open a file with gimp. Other than this, you are all set.


Top
 Post subject: Re: My Scripts don't show
PostPosted: Sun Nov 13, 2011 4:46 am  (#68) 
Offline
Script Coder
User avatar

Joined: Jun 22, 2010
Posts: 1171
Location: Here and there
I'm answering something Molly posted in the thread for Test for duplicate scripts

molly wrote:
Anyway, I did another run with your script and it is down to 18 so called dupes now but I don't think they are really dupes.
One of them for instance is the saulgoode calendar and the saulgoode year calendar, they are two different scripts, but come up as dupes. one is to make a monthly calendar and the other one a yearly one. Not a big deal as long as I know what they are.


I'm surprised as saulgoode is a good scriptwriter, (something of an understatement ;) ) and is usually very careful not to duplicate script procedure names.

If you have a look in both files and find the line(s) containing script-fu-register you may find that one of them has two register entries, and that file may supersede the other.

Kevin


Top
 Post subject: Re: My Scripts don't show
PostPosted: Sun Nov 13, 2011 5:00 am  (#69) 
Offline
GimpChat Member
User avatar

Joined: Apr 07, 2010
Posts: 14182
I totally agree about Saul's script writing, I love every one of his scripts.

_________________
Image


Top
 Post subject: Re: My Scripts don't show
PostPosted: Sun Nov 13, 2011 1:02 pm  (#70) 
Offline
GimpChat Member

Joined: Mar 29, 2011
Posts: 346
Location: Wisconsin
Molly,
You probably have the residue from testing Saul's scripts as they evolved.

I'd suggest deleting the three scripts you have and going to Saul Goode's site (http://chiselapp.com/user/saulgoode/rep ... pt-fu/home) to get the current scripts. He currently has only two calendar scripts and there are no duplicate entries in them.

_________________
Image


Top
 Post subject: Re: My Scripts don't show
PostPosted: Sun Nov 13, 2011 2:10 pm  (#71) 
Offline
GimpChat Member
User avatar

Joined: Apr 07, 2010
Posts: 14182
thank you, did you include the platonic calendar?

_________________
Image


Top
 Post subject: Re: My Scripts don't show
PostPosted: Sun Nov 13, 2011 3:26 pm  (#72) 
Offline
GimpChat Member
User avatar

Joined: Jul 04, 2011
Posts: 395
Location: Indianapolis, IN
RobA wrote:
MrBiggz wrote:
I'm sure at one point there was no 'users' folder to keep what Gimp came with and what you added separate.


Nope. From the beginning, Gimp was developed for linux which is inherently multi-user where the concept of a home/user/ folder is standard. Any user customizations get placed there. Anything in the program directory is common for all users. This would let different users have different configurations/settings with the program installed only once on the system.

-Rob A>


Thank you sir! I wasn't sure how Gimp progressed along the way for windows and I've really only been using linux on and off for about six years now. And the past year and a half really dove head first into the world of Gimp-dome! Don't mind standing corrected!

Now .. I just need to learn how to write these scripts! >O.o<

_________________
"That which does not kill us makes us stronger." ~ Friedrich Nietzsche


Top
 Post subject: Re: My Scripts don't show
PostPosted: Sun Nov 13, 2011 10:29 pm  (#73) 
Offline
GimpChat Member

Joined: Mar 29, 2011
Posts: 346
Location: Wisconsin
molly wrote:
thank you, did you include the platonic calendar?

There's two calendar script files, Calendar and Platonic Calendar. The Calendar file contains two scripts (Calendar... and Calendar Year...), so there's a total of three scripts in the two files.

_________________
Image


Top
Post new topic Reply to topic  [ 73 posts ]  Go to page Previous  1, 2, 3, 4

All times are UTC - 5 hours [ DST ]


cron

* Login  



Powered by phpBB3 © phpBB Group