It is currently Sat Jun 06, 2026 5:19 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: Sun May 22, 2011 4:31 pm  (#21) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4812
Oregonian wrote:
I changed from v0.1 to v0.2 and it is working fine for me. I can't tell any difference in the versions.
They differ only in the way they crash :)

_________________
Image


Top
 Post subject: Re: Cheesy random ellipses generator
PostPosted: Sun May 22, 2011 4:51 pm  (#22) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6946
Location: Somewhere in GIMP
ofnuts wrote:
Oregonian wrote:
I changed from v0.1 to v0.2 and it is working fine for me. I can't tell any difference in the versions.
They differ only in the way they crash :)
:rofl

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


Top
 Post subject: Re: Cheesy random ellipses generator
PostPosted: Sun May 22, 2011 7:32 pm  (#23) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16011
Okay i changed the density and that worked.
I can not run the script over 26 in density or it will error. :)

Hope that helps ofnuts.

_________________
Image


Top
 Post subject: Re: Cheesy random ellipses generator
PostPosted: Sun May 22, 2011 7:57 pm  (#24) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16011
I will download 02 and see if that works. :)

Okay i installed the new 02 version and ran with the defaults - ran perfect no errors.
So i decided why not flip through randomly and make some changes (shown ), and run it again to be sure and i get this error again.
Image

_________________
Image


Top
 Post subject: Re: Cheesy random ellipses generator
PostPosted: Sun May 22, 2011 8:00 pm  (#25) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16011
I shouldn't have said "it quits" actually it just throws the "9" error, and then leaves the image in an undo state. :)
Sorry about that ofnuts.

_________________
Image


Top
 Post subject: Re: Cheesy random ellipses generator
PostPosted: Mon May 23, 2011 1:36 am  (#26) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4812
Hmm. The only file the script handles (implicitly) is the gradient it creates on-the-fly for each ellipse. The gradient is called "#Random ellipse#" (and if it exists already, Gimp renames it to "#Random ellipse##1","#Random ellipse##2"... etc). Anything special with your gradients directory?

_________________
Image


Top
 Post subject: Re: Cheesy random ellipses generator
PostPosted: Mon May 23, 2011 10:19 pm  (#27) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16011
Nope just a few added SVG gradients. :)
WAIT! - i do have a number of gradients with a name like "sepia-#1" , 'Photo-Palladium-#1"
Would that make a difference? cause i can just rename them.

_________________
Image


Top
 Post subject: Re: Cheesy random ellipses generator
PostPosted: Tue May 24, 2011 1:23 am  (#28) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4812
Normally that shouldn't make any difference...

_________________
Image


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

Joined: May 22, 2008
Posts: 6946
Location: Somewhere in GIMP
Image

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


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

Joined: May 16, 2010
Posts: 16011
O is that blue cheese? :)

_________________
Image


Top
 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