It is currently Thu Jul 04, 2024 4:51 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 74 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
 Post subject: Re: Python Phrase brush install help needed.
PostPosted: Fri Nov 19, 2010 2:15 pm  (#21) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4050
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.

_________________
"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes


Top
 Post subject: Re: Python Phrase brush install help needed.
PostPosted: Fri Nov 19, 2010 2:19 pm  (#22) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
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.

_________________
Image


Top
 Post subject: Re: Python Phrase brush install help needed.
PostPosted: Fri Nov 19, 2010 2:20 pm  (#23) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12531
Look forward to it Mahvin. Also the solution too. I'm sure there's got to be other scripts that are experiencing this issue. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Python Phrase brush install help needed.
PostPosted: Fri Nov 19, 2010 2:22 pm  (#24) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12531
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. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Python Phrase brush install help needed.
PostPosted: Fri Nov 19, 2010 2:22 pm  (#25) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4050
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).

_________________
"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes


Last edited by mahvin on Fri Nov 19, 2010 3:30 pm, edited 1 time in total.

Top
 Post subject: Re: Python Phrase brush install help needed.
PostPosted: Fri Nov 19, 2010 2:43 pm  (#26) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12531
OK Marvin; it does see the plugin now, but I get this error. :)


Attachments:
error.png
error.png [ 89.49 KiB | Viewed 1369 times ]

_________________
Lyle

Psalm 109:8

Image
Top
 Post subject: Re: Python Phrase brush install help needed.
PostPosted: Fri Nov 19, 2010 2:44 pm  (#27) 
Offline
Global Moderator
User avatar

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

_________________
"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes


Top
 Post subject: Re: Python Phrase brush install help needed.
PostPosted: Fri Nov 19, 2010 2:49 pm  (#28) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
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......

_________________
Image


Top
 Post subject: Re: Python Phrase brush install help needed.
PostPosted: Fri Nov 19, 2010 2:56 pm  (#29) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12531
I got it to work Mahvin. I replace the line with this:

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


Attachments:
thanksaheap.png
thanksaheap.png [ 15.61 KiB | Viewed 1367 times ]

_________________
Lyle

Psalm 109:8

Image
Top
 Post subject: Re: Python Phrase brush install help needed.
PostPosted: Fri Nov 19, 2010 2:59 pm  (#30) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
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

_________________
Image


Last edited by molly on Fri Nov 19, 2010 3:03 pm, edited 1 time in total.

Top
 Post subject: Re: Python Phrase brush install help needed.
PostPosted: Fri Nov 19, 2010 3:00 pm  (#31) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12531
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). :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Python Phrase brush install help needed.
PostPosted: Fri Nov 19, 2010 3:26 pm  (#32) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4050
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

_________________
"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes


Top
 Post subject: Re: Python Phrase brush install help needed.
PostPosted: Fri Nov 19, 2010 3:33 pm  (#33) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4050
Molly:

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

_________________
"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes


Top
 Post subject: Re: Python Phrase brush install help needed.
PostPosted: Fri Nov 19, 2010 3:35 pm  (#34) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
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.....

_________________
Image


Top
 Post subject: Re: Python Phrase brush install help needed.
PostPosted: Fri Nov 19, 2010 3:42 pm  (#35) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4050
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.

_________________
"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes


Top
 Post subject: Re: Python Phrase brush install help needed.
PostPosted: Fri Nov 19, 2010 3:49 pm  (#36) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
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.....

_________________
Image


Top
 Post subject: Re: Python Phrase brush install help needed.
PostPosted: Fri Nov 19, 2010 4:00 pm  (#37) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12531
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

:)


Attachments:
newtxt.png
newtxt.png [ 18.01 KiB | Viewed 1496 times ]

_________________
Lyle

Psalm 109:8

Image
Top
 Post subject: Re: Python Phrase brush install help needed.
PostPosted: Fri Nov 19, 2010 4:01 pm  (#38) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4050
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.

_________________
"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes


Top
 Post subject: Re: Python Phrase brush install help needed.
PostPosted: Fri Nov 19, 2010 4:08 pm  (#39) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4050
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)

_________________
"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes


Top
 Post subject: Re: Python Phrase brush install help needed.
PostPosted: Fri Nov 19, 2010 4:12 pm  (#40) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12531
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). :)

_________________
Lyle

Psalm 109:8

Image


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

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) I was able to install Gimp with Python-Fu ( SOLVED )

2

No new posts Attachment(s) UPDATE - I was able to install Gimp with Python-Fu ( SOLVED )

0

No new posts GIMP 2.10 doesn't install my python plug-ins

1

No new posts Attachment(s) GTK help needed text in black needed

5

No new posts Convert GIMP plugin from Python 2 to Python 3

4



* Login  



Powered by phpBB3 © phpBB Group