Switch to full style
Ask all general Gimp related questions here
Post a reply

Re: Python Phrase brush install help needed.

Fri Nov 19, 2010 2:15 pm

Woot! I got it working in Win 7 (64 bit)

Going to repost the file here in a few. Check back in a few minutes.

Re: Python Phrase brush install help needed.

Fri Nov 19, 2010 2:19 pm

I just put it in again, the one you just posted mahvin. I put it in Gimp 6 . 11 plugin folder. I rebooted gimp. It doesn't show up anywhere, not even in file > create.... nothing there either.

Re: Python Phrase brush install help needed.

Fri Nov 19, 2010 2:20 pm

Look forward to it Mahvin. Also the solution too. I'm sure there's got to be other scripts that are experiencing this issue. :)

Re: Python Phrase brush install help needed.

Fri Nov 19, 2010 2:22 pm

lol; we posted the same time Molly. Yeah; that is the issue. I believe you are using Win7 32-bit arn't you? It has to be the part of the script that's trying to identify the OS that's causing the problem. I'm no coder, but Mahvin apparently has come up with a solution that he says he's going to post soon. :)

Re: Python Phrase brush install help needed.

Fri Nov 19, 2010 2:22 pm

I haven't reposted the new file yet. Doing that now. This works on WIN 7 (64 bit). It should work on Vista as well.

http://www.mahvin.com/images/Win7-64phrase_brush.zip ***UPDATED the zip @ 12:30 pm***

Try that one. :)

I'm hanging around long enough to hear back from you, Lyle and Molly. It should work in both 32 and 64 bit (I don't see why it wouldn't, the deprecation issue was updated and it should cover them both).

Re: Python Phrase brush install help needed.

Fri Nov 19, 2010 2:43 pm

OK Marvin; it does see the plugin now, but I get this error. :)

Re: Python Phrase brush install help needed.

Fri Nov 19, 2010 2:44 pm

Spoke too soon, didn't I? It's making two calls to .gimp/brushes and the slash syntax is off. Working on that now.

Re: Python Phrase brush install help needed.

Fri Nov 19, 2010 2:49 pm

No lyle, I am using Windows XP 32 bit.....

edit: Mahvin. I have downloaded it fresh 3 times. place it in the plugin folder in my gimp 2.6.11 folder. rebooted gimp. looked all over and it is not there or under File > create. nothing. I go back to folder and it is there. When I type in that file under Gimp > help > plug in browser. it doesn't come up there either. So, it is lost somewhere in between......

Re: Python Phrase brush install help needed.

Fri Nov 19, 2010 2:56 pm

I got it to work Mahvin. I replace the line with this:

Code:
BRUSH_DIR = "%s/%s/brushes" % (os.path.expanduser('~'), gimp_dir)


Also, don't end your characters with a smiley face since it won't save the brush right. lol

Re: Python Phrase brush install help needed.

Fri Nov 19, 2010 2:59 pm

hey it is there in mine now. I just put your new one in Mahvin. you are an angel..... thanx muchly.... woo hoo

I spoke too soon. I got an error when trying to use it.
Image

Re: Python Phrase brush install help needed.

Fri Nov 19, 2010 3:00 pm

Forgot to add that I definitely appreciate what you've done here. I would never have even figured all this stuff out. Not a coder (sometimes a good guesser; lol). :)

Re: Python Phrase brush install help needed.

Fri Nov 19, 2010 3:26 pm

I have a very large and heavy Python manual, lol. Not that it always solves my problems (I found the information for this on the Python website). I actually feel more like its luck on my part. My COBOL and Assembler background helps, but not always.

You're welcome (it was luck and lots of reading).

Image

Re: Python Phrase brush install help needed.

Fri Nov 19, 2010 3:33 pm

Molly:

I just added the updated and working file. It's back on page 3.

Re: Python Phrase brush install help needed.

Fri Nov 19, 2010 3:35 pm

molly wrote:hey it is there in mine now. I just put your new one in Mahvin. you are an angel..... thanx muchly.... woo hoo

I spoke too soon. I got an error when trying to use it.
Image


Lyle what did you do to fix this error. it looks like the same one you had.... I still get it, even tho I now have the file in my file > create new brush.....

Re: Python Phrase brush install help needed.

Fri Nov 19, 2010 3:42 pm

Molly, you need to delete/remove the old file, then add the new updated one I reposted on page 3. I'm sure you already know you have to close GIMP and restart it, but reminding just in case.

Re: Python Phrase brush install help needed.

Fri Nov 19, 2010 3:49 pm

I did that mahvin. I always do. I take out the old file before I put in the new one. Then I reboot Gimp, always,... I still get that message that Lyle was getting... BTW, why does the error say it is looking in brushes. It isn't in brushes, it is in plugins.....

Re: Python Phrase brush install help needed.

Fri Nov 19, 2010 4:00 pm

Just tested your update Mahvin; it works of course. I did modify it some more; I just saved the file with a static name {Phrasetxt.gih} so now I can end my message with a smile. lol

:)

Re: Python Phrase brush install help needed.

Fri Nov 19, 2010 4:01 pm

Molly, you may have done what I did, and left the "other" older file in the plug-ins folder ("phrase_brush.py"). I bet I rebooted my computer 5 times before I realized that I still had the original older file in my plug-ins folder.

Re: Python Phrase brush install help needed.

Fri Nov 19, 2010 4:08 pm

Lyle:

If worst came to worst, you could always open the .gih file and add a new layer with the smiley intact. Just a thought. (Remember to use the same font size, if that matters to you)

Re: Python Phrase brush install help needed.

Fri Nov 19, 2010 4:12 pm

Don't have to with the static name; only issue I have is that the GIMP brush name itself still is the typed phrase so I have to hunt down the brush in the brush dialogue each time. lol

Not going to even dicipher how to fix this one. Have a headache already (hated coding in college; hate it now; lol). :)
Post a reply