Closed acubas closed 6 years ago
Sorry to make you dig through the source trying to get a demo to work. I think these bugs are due to discrepencies between the most recent version of the code and the 0.1.1 release (show()
used to be called unhide()
, to answer your specific question). I just made a 0.1.2 release last night, so can you try pip install --upgrade glooey
and see if that works?
Oh, how silly of me. Yep, it runs. I should have been mindful of your releases. Thank you for the quick reply.
I was looking through the 'Making widgets from scraps' page and I decided to test out the
LineClock
example (here) for using OpenGL with glooey by running it. It seems that it does not run properly as it is. The error comes from initializing an instance of theLineClock
class because it tries to createRectangle
without a batch defined. I hard coded the the batch in the contructor ofLineClock
. It seems to have fixed that.Also, I found that your
color
here raised an error because it has not attributergb
.I replaced
color.rgb
withcolor.tuple[:3]
which seems to work.However, I haven't been able to figure out the latest error. It indicates that the
Rectangle
class does not have ashow
method because you used it in line 140. I can't find any signs of ashow
method in the artists file. Am I missing something? or was it forgotten?P.S.: Great project!