It is currently Thu May 23, 2013 8:08 am


Latest GIMP Scripts & Plug-ins

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 101 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7 ... 11  Next
Author Message
 Post subject: Re: Text along path
PostPosted: Mon Apr 09, 2012 3:08 pm  (#31) 
Offline
GimpChat Member
User avatar

Joined: Apr 22, 2010
Posts: 86
The script works for me only with python 2.6.No matter what version of Gimp :noiseblower
Image

_________________
Image


Top
 Profile  
 

 Post subject: Re: Text along path
PostPosted: Mon Apr 09, 2012 3:21 pm  (#32) 
Offline
GimpChat Member
User avatar

Joined: Oct 25, 2010
Posts: 1296
pogogogo wrote:
The script works for me only with python 2.6.No matter what version of Gimp

What does it say on python 2.7?

_________________
Image


Top
 Profile  
 
 Post subject: Re: Text along path
PostPosted: Mon Apr 09, 2012 3:27 pm  (#33) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 6974
I am using Gimp-2.6.12 in Linux Fedora 16

_________________
Image


Top
 Profile  
 
 Post subject: Re: Text along path
PostPosted: Mon Apr 09, 2012 3:53 pm  (#34) 
Offline
GimpChat Member
User avatar

Joined: Oct 25, 2010
Posts: 1296
Is there anyone using Windows that can make the script work?

Otherwise can one try to change line 28 to:
Code:
debug=False

_________________
Image


Top
 Profile  
 
 Post subject: Re: Text along path
PostPosted: Mon Apr 09, 2012 3:55 pm  (#35) 
Offline
GimpChat Member
User avatar

Joined: Oct 25, 2010
Posts: 1296
molly wrote:
I am using Gimp-2.6.12 in Linux Fedora 16

Can you start Gimp from a terminal session, and see if you get any messages in the terminal session when the script runs?

I can try but I never did that before so someone will have to tell me how to do it. I have only been using Fedora a couple of months so still learning.

_________________
Image


Top
 Profile  
 
 Post subject: Re: Text along path
PostPosted: Mon Apr 09, 2012 3:56 pm  (#36) 
Offline
GimpChat Member
User avatar

Joined: Apr 22, 2010
Posts: 86
ofnuts wrote:
What does it say on python 2.7?

Image
The same error in xubuntu GIMP 2.6.12 and 2.8-RC1
Gimp 2.8 on Windows 7 with python 2.7 is the same problem.

_________________
Image


Top
 Profile  
 
 Post subject: Re: Text along path
PostPosted: Mon Apr 09, 2012 4:03 pm  (#37) 
Offline
GimpChat Member
User avatar

Joined: Oct 25, 2010
Posts: 1296
pogogogo wrote:
ofnuts wrote:
What does it say on python 2.7?

Image
The same error in xubuntu GIMP 2.6.12 and 2.8-RC1
Gimp 2.8 on Windows 7 with python 2.7 is the same problem.

Since you are on Linux, can you try same after starting Gimp from a terminal session? Messages in the terminal may be a bit more complete and may help pinpointing the problem.

_________________
Image


Top
 Profile  
 

 Post subject: Re: Text along path
PostPosted: Mon Apr 09, 2012 4:14 pm  (#38) 
Offline
GimpChat Member
User avatar

Joined: Oct 25, 2010
Posts: 1296
RobA wrote:
Code:
pdb.gimp_fonts_get_list("sans")[1][0]


...which will return the text name of the first font with "sans" in it.
Doesn't seem to work in this case, the PDB (or wire_read channel) isn't initialized yet at registration time.

_________________
Image


Top
 Profile  
 
 Post subject: Re: Text along path
PostPosted: Mon Apr 09, 2012 4:27 pm  (#39) 
Offline
GimpChat Member
User avatar

Joined: Apr 22, 2010
Posts: 86
I have a message.
Image

_________________
Image


Top
 Profile  
 
 Post subject: Re: Text along path
PostPosted: Mon Apr 09, 2012 5:02 pm  (#40) 
Offline
GimpChat Member
User avatar

Joined: Oct 25, 2010
Posts: 1296
pogogogo wrote:
I have a message.

Very strange. The second message come from the destructor of the Text object. So the text object has been created. But the workimage is created in its initializer, so it should be there. Unless the problem is indeed when creating this image. Can you try to change the line:
Code:
self.workImage=gimp.Image(fontSize*4, fontSize*4, RGB)

to
Code:
self.workImage=gimp.Image(int(fontSize*4),int(fontSize*4), RGB)

_________________
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 101 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7 ... 11  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

* Login   * Subscribe to RSS Feed


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group