It is currently Wed Jul 29, 2026 6:55 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Paste as new brush error message
PostPosted: Thu Apr 19, 2012 7:40 am  (#1) 
Offline
GimpChat Member
User avatar

Joined: Apr 18, 2012
Posts: 18
GIMP Version: 2.6.11
Operating System: Windows
OS Version: XP - SP3
GIMP Experience: Beginner Level

List any ERROR messages you received:
Error while executing script-fu-paste-as-brush:
Error: Procedure execution of gimp-context-set-brush failed on invalid input arguments: Brush 'Green Leaf' not found




I have used search in this forum and tried various file formats to paste a copied image as a new brush. I keep getting the same error message. This is the image I am using:
Attachment:
Black Leaf.png
Black Leaf.png [ 1.38 KiB | Viewed 2567 times ]


If more info is needed I will supply that info. Any ideas would be greatly appreciated.

_________________
Image Happy Trails


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: Paste as new brush error message
PostPosted: Thu Apr 19, 2012 12:15 pm  (#2) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
Are you using the build in function or are you trying with a script downloaded somewhere ?

Anyway you may try to
1) start gimp
2) Edit/preferences/folder , expand "folder" (to expand click the tiny black triangle/arrow close to the word) and chose "brush
3) in the windows that open check if the boxes you will see before the 2 paths are marked
If not check both boxes to make them writable
EDIT
4) Before close the window CLICK OK to confirm or nothing will happen !

NB

if you use VISTA or 7 and a portable version of gimp, move away the portable from "Program" or "Program(x86)", any other place is good but there Windows place a lock that prevent change in the program files...and add a new brush is a change

_________________
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: Paste as new brush error message
PostPosted: Thu Apr 19, 2012 1:25 pm  (#3) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16139
Are you going to Edit>Copy Visible
Then Edit>Paste as >New Brush?

Also does this dialog popup?
Image

Brush attached
Attachment:
LeafBrush_RD3.gbr [22.95 KiB]
Downloaded 92 times

_________________
Image


Top
 Post subject: Re: Paste as new brush error message
PostPosted: Thu Apr 19, 2012 1:30 pm  (#4) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
i think you got it Rod:
to paste first is needed to copy, so obvious that i did not think about

_________________
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: Paste as new brush error message
PostPosted: Thu Apr 19, 2012 2:13 pm  (#5) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16139
PhotoComix wrote:
i think you got it Rod:
to paste first is needed to copy, so obvious that i did not think about


I hope its that simple PC. :)
Otherwise some rc file deletion may be the fix.

Possibly a corrupted rc file. I would blame gimprc as it usually causes folder errors if something is awry.
I once added a folder inside the patterns folder thinking WRONGLY that gimp would see and load those sorted patterns for me like 8bf's will load, and gimp wouldn't start until i deleted the pattern folder PATH location within the gimprc file. :lol

Took me a while to figure that one out. :gaah

_________________
Image


Top
 Post subject: Re: Paste as new brush error message
PostPosted: Thu Apr 19, 2012 2:41 pm  (#6) 
Offline
GimpChat Member
User avatar

Joined: Apr 18, 2012
Posts: 18
Thanks for the response PhotoComix and Rod. I'm trying what you suggested PhotoComix and yes Rod that is the method I am trying to use. I'll return when I have tried what has been suggested.

_________________
Image Happy Trails


Top
 Post subject: Re: Paste as new brush error message
PostPosted: Thu Apr 19, 2012 3:13 pm  (#7) 
Offline
GimpChat Member
User avatar

Joined: Apr 18, 2012
Posts: 18
Perhaps a little explanation about the way I installed Gimp.
I have it installed on an external hard drive so I can use Gimp elsewhere. When I checked preferences_folders_brushes I found one brush folder on my external drive. I added another brush folder from my internal hard drive. When I did some more checking I found I had several copies of the brush I had wanted to save in my internal hard drive brush folder. The method edit_paste as new brush is working for me now.

Quick question.....Is it neccessary to have 2 folder locations in preference_folders_brushes; patterns; palettes (ect.)?

_________________
Image Happy Trails


Top
 Post subject: Re: Paste as new brush error message
PostPosted: Thu Apr 19, 2012 4:09 pm  (#8) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
Some scripts expect it,(and even need the 2nd location "writable" for the rest in theory , No is not strictly needed

But is needed to avoid a mess:
if you install new brush pattern script etc. in the same folder where are that bundled in...how you could distinguish what is a extra from what is part of the program?
because if you delete even a stupid ugly pattern that you will never use, but is a part of the program, then something i.e some filter may stop to work because it expect that pattern there

that is the reason of the duplicated folders, 1 is for the program file the other one is for user's addon, keep them separated avoid many possible problems

_________________
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 new topic Reply to topic  [ 8 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group