It is currently Sat Sep 19, 2026 6:52 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 23 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Error Message
PostPosted: Tue Jun 26, 2012 2:38 pm  (#1) 
Offline
GimpChat Member
User avatar

Joined: Aug 24, 2011
Posts: 1785
Location: Dallas, TX
GIMP Version: 2.6.11
Operating System: Windows
OS Version: XP - SP3
GIMP Experience: Intermediate Level

List any relevant plug-ins or scripts:
Photoeffects

List any ERROR messages you received:
See screenshot



I keep getting this error message for this script everytime I try to refresh my scripts. Is the dern thing corrupt now or what?

Secondly, what does "unmatched parentheses: 2" mean?

I'm getting two other errors on two other scripts but let's just address one at a time for now.


Attachments:
Script error msg.jpg
Script error msg.jpg [ 44.47 KiB | Viewed 3105 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: Error Message
PostPosted: Tue Jun 26, 2012 3:29 pm  (#2) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2012
Posts: 583
I get those to. I forget how I fixed it really. I think it is just an error on the a procedural call that is missing a ). If you can find where that ) is missing than you can fix it.

_________________


"In the face of adversity, there's three things: fly, freeze or fight; We're choosing to fight..."- Guy Boucher, Tampa Bay Lighting Head Coach


Top
 Post subject: Re: Error Message
PostPosted: Tue Jun 26, 2012 3:40 pm  (#3) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
Quote:
Is the dern thing corrupt now or what?

Secondly, what does "unmatched parentheses: 2" mean?


Means what literally say : script fu uses a lot of parenthesis and each opening parentheses should be matched by a closing one

Almost always the error came by copy and paste ..so download again the script should fix

That the easier way to fix but if you have a text editor with syntax highlight supporting scheme (doesn't need to support script fu, scheme is sufficient ,maybe even Lisp ) it should highlight the errors

Or you may feel lucky and just try :usually the misses parentheses are at the very end, so adding 2 at the end may even fix

_________________
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: Error Message
PostPosted: Tue Jun 26, 2012 4:08 pm  (#4) 
Offline
GimpChat Member
User avatar

Joined: Aug 24, 2011
Posts: 1785
Location: Dallas, TX
Thanks PC. I'll try downloading them again. Got a new 500GB hard drive for my C drive so now I have 1 TB between C & F. I completely removed gimp (which was mostly loaded on my F drive) and reinstalled to my C drive. I've been all day configuring it to get it back to the way it was. Probably was a copy paste thing.

I reloaded GMIC, GAP, Python, Themes, Voronoi, Felimage, reset all my preferences but I still can't get that stupid (*#^)!@+*%&}=$ Mathmap to work. :gaah I thought for sure I could get it to work this time. Must still be something lingering in my user folder that's interfering.

_________________
Image


Top
 Post subject: Re: Error Message
PostPosted: Tue Jun 26, 2012 4:33 pm  (#5) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
That way i always suggest to place MM exe and dll in a dedicated folder...so in case you may just copy the folder

maybe the best for you is download again, may be easier than trace all the lost component that have names not even vaguely related with mathmap

BTW the version i am hosting on sourceforge contain all extra script (except the few new posted here in this last week )
http://sourceforge.net/projects/gimp-pa ... p/download

_________________
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: Error Message
PostPosted: Tue Jun 26, 2012 4:47 pm  (#6) 
Offline
GimpChat Member
User avatar

Joined: Aug 24, 2011
Posts: 1785
Location: Dallas, TX
I started from scratch with everything except my user folder. I may have something left over from the mistake I made way back when I downloaded 2.7 insstead of 2.6. Maybe some left over dll files but I don't know which ones to delete.

I'll try a dedicated MM folder next and see if that helps.

On another note.....I downloaded fresh copies of the three scripts that were throwing errors and reinstalled them, but it only fixed the first one. Here's what I get with the other two now.


Attachments:
Error Messages.jpg
Error Messages.jpg [ 71.09 KiB | Viewed 3058 times ]

_________________
Image
Top
 Post subject: Re: Error Message
PostPosted: Wed Jun 27, 2012 3:12 am  (#7) 
Offline
Script Coder
User avatar

Joined: Jun 22, 2010
Posts: 1171
Location: Here and there
Draconian wrote:
On another note.....I downloaded fresh copies of the three scripts that were throwing errors and reinstalled them, but it only fixed the first one. Here's what I get with the other two now.


Can you point us to where you got those scripts from please.

Those are very odd messages to get from the Refresh Scripts, which suggests to me that the files have been corrupted somehow.

Kevin

edit: The plot thickens... I googled "Picture Frame.scm" and was sent to an error listing from Molly, which included the same two errors:
http://www.gimpchat.com/viewtopic.php?f ... =30#p56724
But there's no indication if those problems were fixed, or the offending script files just deleted...

edit part 2: I suspect that your pattern-from-image.scm file came from GimpScripts, because that version has been mangled: try replacing it with the version in the thread: http://www.gimpchat.com/viewtopic.php?f=9&t=3724


Top
 Post subject: Re: Error Message
PostPosted: Wed Jun 27, 2012 3:44 am  (#8) 
Offline
GimpChat Member
User avatar

Joined: Apr 07, 2010
Posts: 14182
Yes the plot thickens, lol.
BTW, Drac if you are using Gimp-2.8, to use that Picture frame.scm you need to change your wrap-map.py plug-in from 0.3 to 0.4 to make it work. Picture frame and wrapmap scripts work together. If you are using Gimp-2.6 leave the 0.3.py in

_________________
Image


Top
 Post subject: Re: Error Message
PostPosted: Wed Jun 27, 2012 5:40 am  (#9) 
Offline
Script Coder
User avatar

Joined: Jun 22, 2010
Posts: 1171
Location: Here and there
I started getting feelings of deja-vu - we looked at these same script files when Molly had problems with my test for duplicate scripts:
viewtopic.php?f=9&t=3057&p=54156#p54135

This time there's something odd going on with the version in the thread:
http://www.gimpchat.com/viewtopic.php?f=9&t=3994
as I get the same error after downloading and extracting from the zip file, but Graechan says that the zip should now have a corrected version of the script, although no-one has posted anything about having tried it since it was last updated. ??? (it contains a rel 0.2 version)

Kevin


Top
 Post subject: Re: Error Message
PostPosted: Wed Jun 27, 2012 5:56 am  (#10) 
Offline
GimpChat Member
User avatar

Joined: Apr 07, 2010
Posts: 14182
I just downloaded and re-installed Graechan's picture frame.scm and it works, has to have the 0.4 wrapmap.py installed to make it work above any Gimp version 7.4 or over. Gimp-2.6 or under needs wrapmap 0.3.py

Image

_________________
Image


Top
 Post subject: Re: Error Message
PostPosted: Wed Jun 27, 2012 6:26 am  (#11) 
Offline
GimpChat Member
User avatar

Joined: Aug 24, 2011
Posts: 1785
Location: Dallas, TX
Kevin - You are correct, I got the picture frame script from Gimpscripts yesterday and it was the Rel 0.2 version so I'm not sure what to do from here for that one.

I'll try replacing the pattern from image script with the one you suggested and get back to you.

Molly/Kevin - My desktop is 2.6.11 and my wrapmap is 0.3.py

Now what?

_________________
Image


Top
 Post subject: Re: Error Message
PostPosted: Wed Jun 27, 2012 6:31 am  (#12) 
Offline
GimpChat Member
User avatar

Joined: Apr 07, 2010
Posts: 14182
Drac, If you are running 2.6 Gimp, then you use the 0.3.py and put it in your plug-ins folder. If you have installed Graechan's picture frame. scm in your scripts, then after you refresh your Scripts or re-open Gimp, Your picture frame should be under script-fu->Edges->Picture frame.
Open an image, select all, then run the picture frame script.

_________________
Image


Top
 Post subject: Re: Error Message
PostPosted: Wed Jun 27, 2012 6:54 am  (#13) 
Offline
Script Coder
User avatar

Joined: Jun 22, 2010
Posts: 1171
Location: Here and there
But Molly, the question is where did you get your copy of the script, because it sounds like you've got a working version as opposed to the broken version I'm getting if I download Graechan's zip file.

Kevin


Top
 Post subject: Re: Error Message
PostPosted: Wed Jun 27, 2012 7:01 am  (#14) 
Offline
GimpChat Member
User avatar

Joined: Aug 24, 2011
Posts: 1785
Location: Dallas, TX
Kevin - Just dl the picture frame script from the link you provided and replaced the one I had. Opened Gimp and opened a new image, made a new transparent layer and filled a selection so I have two layers open. When I refreshed scripts, the same "illegal function" error popped up for the picture frame script.

It's not imperitive that I have this script but it's annoying enough to want to learn what may be causing this.

Molly - the wrapmap.py (0.3) is in my user\2.6\plug-ins folder with all the other python filters just like it was before this mess started.

Should I post the code for the picture frame script I have so that maybe some of these code writers or perhaps Graechan can eyeball it?

_________________
Image


Top
 Post subject: Re: Error Message
PostPosted: Wed Jun 27, 2012 7:06 am  (#15) 
Offline
Script Coder
User avatar

Joined: Jun 22, 2010
Posts: 1171
Location: Here and there
Draconian wrote:
Should I post the code for the picture frame script I have so that maybe some of these code writers or perhaps Graechan can eyeball it?


Yes, and also make sure you haven't got another copy of the file so try temporarily moving the one you think you're using out of your script folder and refreshing and make sure you haven't still got a menu entry.

Just re-read what you wrote more carefully. If you're only getting the error for the picture frame script, then replacing the pattern-from-image has fixed that problem.

Kevin


Top
 Post subject: Re: Error Message
PostPosted: Wed Jun 27, 2012 7:11 am  (#16) 
Offline
GimpChat Member
User avatar

Joined: Apr 07, 2010
Posts: 14182
Kevin, I got the script from Graechan's post at the very beginnng of his thread. attachment below


Attachments:
Picture Frame.scm.7z [3.01 KiB]
Downloaded 101 times

_________________
Image
Top
 Post subject: Re: Error Message
PostPosted: Wed Jun 27, 2012 7:17 am  (#17) 
Offline
GimpChat Member
User avatar

Joined: Aug 24, 2011
Posts: 1785
Location: Dallas, TX
Yes, that one's fixed but this picture frame thing is still throwing the illegal function error. I thought it might be a conflict between it and the mats and frames script but after I removed it, I still got the same error.

You ready for this......The script works flawlessly! Why the error message only on refreshing scripts?

_________________
Image


Top
 Post subject: Re: Error Message
PostPosted: Wed Jun 27, 2012 7:23 am  (#18) 
Offline
Script Coder
User avatar

Joined: Jun 22, 2010
Posts: 1171
Location: Here and there
Draconian wrote:
Yes, that one's fixed but this picture frame thing is still throwing the illegal function error. I thought it might be a conflict between it and the mats and frames script but after I removed it, I still got the same error.

You ready for this......The script works flawlessly! Why the error message only on refreshing scripts?


Because it's got a block of code at the bottom of the file that's invalid, but GIMP is apparently just ignoring it and registering the script anyway. To make the warning go away remove the following from the end of the script file:
                    ("the-picture-frame-highlights"                       
                    _"_picture-frame-Highlights"
                     _"Creates the Shadows & Highlights"
                    "Graechan"
                    "Graechan - http://gimpchat.com"
                    "2012"
                    "RGB* GRAY*"
                    SF-IMAGE      "image"      0
                    SF-DRAWABLE   "drawable"   0
                    SF-COLOR      _"Drop shadow color"       "black"
                                       SF-ADJUSTMENT _"Drop shadow opacity"     '(80 0 100 1 10 0 0)
                                       SF-ADJUSTMENT _"Drop shadow X offset"    '(8 -100 100 1 10 0 1)
                    SF-ADJUSTMENT _"Drop shadow Y offset"    '(8 -100 100 1 10 0 1)
                                       SF-ADJUSTMENT _"Drop shadow blur radius" '(15 0 255 1 10 0 1)
                                       SF-COLOR      _"Highlight color"         "white"
                                       SF-ADJUSTMENT _"Highlight X offset"      '(-2 -100 100 1 10 0 1)
                    SF-ADJUSTMENT _"Highlight Y offset"      '(-2 -100 100 1 10 0 1)
                                       SF-TOGGLE     _"Keep selection"          TRUE
)


And thanks Molly.


Top
 Post subject: Re: Error Message
PostPosted: Wed Jun 27, 2012 7:32 am  (#19) 
Offline
GimpChat Member
User avatar

Joined: Aug 24, 2011
Posts: 1785
Location: Dallas, TX
All of that? That's a chunk of code, care to clue me in on what's happening in a dumbed down vernacular.

_________________
Image


Top
 Post subject: Re: Error Message
PostPosted: Wed Jun 27, 2012 7:48 am  (#20) 
Offline
GimpChat Member
User avatar

Joined: Aug 24, 2011
Posts: 1785
Location: Dallas, TX
Problem Solved! Thanky, Thanky, Thanky. I deleted that block of code as suggested and it no longer throws that error. Just out of curiosity, I would still like to know what it was trying to tell it to do that was "illegal". (Should we call the cops, or just Graechan?)


Now where's the best place to get the 0.4 version of wrapmap.py so I can put it on my Win 7 laptop with 2.8.1?

_________________
Image


Last edited by Draconian on Wed Jun 27, 2012 7:49 am, edited 1 time in total.

Top
Post new topic Reply to topic  [ 23 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group