[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[pygsear] penguin errors
From: |
john fleming |
Subject: |
[pygsear] penguin errors |
Date: |
Thu, 10 Apr 2003 11:53:08 -0700 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030312 |
Lee,
"funcs should just be a list of about 30 or so strings. Try
printing it out instead of shuffling:
funcs = self.pete.testfuncs()
print funcs
#random.shuffle(funcs)"
results:
python penguin.py
['cCircles', 'rCircles', 'spiral', 'cSpiral', 'rStar', 'trouble',
'swirl', 'storm', 'tree', 'grid', 'wander', 'rose', 'updown',
'circleWrite', 'slowWrite', 'blast', 'innerCircle', 'twist', 'crescent',
'wordRose', 'squareTwist', 'circleSquares', 'jag', 'curve', 'spill',
'sine', 'innerFlow', 'yinyang', 'squareWave', 'sineWave', 'moire',
'star', 'starrose', 'starryNight', 'gradient', 'backgrounds',
'transactions']
Traceback (most recent call last):
File "penguin.py", line 918, in ?
demo.mainloop()
File "penguin.py", line 900, in mainloop
f()
File "penguin.py", line 47, in welcome
self.forward(280)
File "/usr/lib/python2.2/site-packages/pygsear/Drawable.py", line
1628, in forward
self.move()
File "penguin.py", line 827, in demomove
Penguin.move(self)
File "/usr/lib/python2.2/site-packages/pygsear/Drawable.py", line 839,
in move
self.setClosest()
File "/usr/lib/python2.2/site-packages/pygsear/Drawable.py", line 797,
in setClosest
self.setPosition(self.getPosition())
File "/usr/lib/python2.2/site-packages/pygsear/Drawable.py", line 117,
in setPosition
self._setPosition((x, y))
File "/usr/lib/python2.2/site-packages/pygsear/Drawable.py", line 97,
in _setPosition
self.rect[1] = y - self.cy
TypeError: Must assign numeric values
"To me this looks like a problem with your python installation.
I remember seeing a few weeks ago people reporting some weird
stuff between python gentoo and glibc."
I did update glibc last week or so as part of a gentoo update.
So I believe you called it.
Thanx,
John
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [pygsear] penguin errors,
john fleming <=