It is currently Sat Jun 06, 2026 2:50 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 36 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Cheesy random ellipses generator
PostPosted: Tue May 24, 2011 5:49 am  (#31) 
Offline
Script Coder
User avatar

Joined: Jun 22, 2010
Posts: 1171
Location: Here and there
I also got the error (Windows XP + GIMP 2.6.7) running it on the default new image (640x400) and default values for the plug-in.

By removing your "try... exception" code and just running with the r=randomEllipseRenderer r.run code I then got the traceback:

Traceback (most recent call last):
  File "C:\Program Files\GIMP-2.0\lib\gimp\2.0\python\gimpfu.py", line 692, in response
    dialog.res = run_script(params)
  File "C:\Program Files\GIMP-2.0\lib\gimp\2.0\python\gimpfu.py", line 353, in run_script
    return apply(function, params)
  File "D:\Profiles\xxxx\.gimp-2.6\plug-ins\random-ellipses-0.2.py", line 259, in randomEllipse
    r.run()
  File "D:\Profiles\xxxx\.gimp-2.6\plug-ins\random-ellipses-0.2.py", line 224, in run
    ellipse=self.newEllipse()
  File "D:\Profiles\xxxx\.gimp-2.6\plug-ins\random-ellipses-0.2.py", line 123, in newEllipse
    print 'New ellipse: %s' % ((x,y,size,flat,tilt),)
IOError: [Errno 9] Bad file descriptor


So I commented out the print 'New ellipse: %s' % ((x,y,size,flat,tilt),) line and it ran without error.

Kevin


Top
 Post subject: Re: Cheesy random ellipses generator
PostPosted: Tue May 24, 2011 6:25 am  (#32) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16011
Thanks Kevin. :) - even at a density of 93 it works very nicely ofnuts.
I went ahead and tried many variations and all are excellent.
Image

_________________
Image


Top
 Post subject: Re: Cheesy random ellipses generator
PostPosted: Tue May 24, 2011 8:53 am  (#33) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6946
Location: Somewhere in GIMP
Rod wrote:
O is that blue cheese? :)
:lol No, it's a slice of moldy Muenster.

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: Cheesy random ellipses generator
PostPosted: Wed Oct 19, 2011 5:47 am  (#34) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4812
Updated the script (now v.03) for you poor Windows users :)

https://sourceforge.net/projects/gimp-t ... s/scripts/

_________________
Image


Top
 Post subject: Re: Cheesy random ellipses generator
PostPosted: Wed Oct 19, 2011 5:42 pm  (#35) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16011
ofnuts wrote:
Updated the script (now v.03) for you poor Windows users :)

https://sourceforge.net/projects/gimp-t ... s/scripts/


Thank you for your pity upon us Ofnuts.

_________________
Image


Top
 Post subject: Re: Cheesy random ellipses generator
PostPosted: Thu Oct 20, 2011 3:41 am  (#36) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16011
Hey i tried it in Windows XP 32 bit Gimp versions 2.7.4, and Gimp-2.6.11 and it works in both. :)
Thanks Ofnuts.

_________________
Image


Top
Post new topic Reply to topic  [ 36 posts ]  Go to page Previous  1, 2

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group