GASP error in Linux Ubuntu Netbook edition
Hello,
I'm trying to learn Python and thats the primary reason I installed Ubuntu.
The GASP package does not currently support Windows so I think it would be smoother with Ubuntu on my netbook. Can someone running Ubuntu 10.10 and has GASP installed tell me if they can run the following code without issues:
Code:
from gasp import *
begin_graphics(800, 600, title="Catch", background=
set_speed(120)
ball_x = 10
ball_y = 300
ball = Circle((ball_x, ball_y), 10, filled=True)
dx = 4
dy = 1
while ball_x < 810:
ball_x += dx
ball_y += dy
move_to(ball, (ball_x, ball_y))
update_
end_graphics()
----
for me, a yellow screen appears only for a second and then I get:
>>> from gasptry import *
Exception in thread QueueFeederThread (most likely raised during interpreter shutdown):
Traceback (most recent call last):
File "/usr/lib/
File "/usr/lib/
File "/usr/lib/
<class 'cPickle.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- GASP Core Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- tsavas
- Solved:
- Last query:
- Last reply: