[maemo-developers] [maemo-developers] pygame -- problems with initializing screen display
From: Christine Liu liuliuliu at gmail.comDate: Mon May 15 23:10:00 EEST 2006
- Previous message: [maemo-developers] Kernel issues on Nokia 770
- Next message: [maemo-developers] pygame -- problems with initializing screen display
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
hello all -
thanks for the supportive community.
having issues with pygame on my nokia 770:
Nokia770-51:/home/user# python2.4 ballbounce.py
Traceback (most recent call last):
File "ballbounce.py", line 8, in ?
screen = pygame.display.set_mode(size)
pygame.error: No video mode large enough for 320x240
i was having this error earlier on -- it doesnt like setting the
screen size! even if it's very obviously small, like 10 x 10 pixels,
or the fully correct res, 800 x 480. strange.
import sys, pygame
pygame.init()
size = width, height = 320, 240
screen = pygame.display.set_mode(size)
[it doesnt like the line above)
this also happens in the interactive (with test code from
http://pymaemo.sourceforge.net/cgi-bin/moin.cgi/)
>>> import pygame
>>> pygame.init()
(5, 0) <--- this returns (numpass, numfail)
>>> pygame.display.set_mode((800,480))
Traceback (most recent call last):
File "<stdin>", line 1, in ?
pygame.error: No video mode large enough for 800x480
help? also, i installed PIL, but i do not have XV and am having
problems compiling packages. if someone could help, i'd be so
grateful! once i get pygame rolling i will be all set. and HAPPY.
thank you! :)
best, christine
- Previous message: [maemo-developers] Kernel issues on Nokia 770
- Next message: [maemo-developers] pygame -- problems with initializing screen display
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
