Al Sweigart writes:
>
>
> hey Pete,It might be a change for with a different version of Pygame.
> I never thought that passing (0, 0) for the resolution would work. I
> suppose before it was using a default resolution for you. (Though
>the fullscreen mode stretches the display sometimes, if yo
Hello,
I have a python application that I have written with pygame that used to work
fine. However, on upgrading to slackware 14 I get the following error:
pygame.error: Cannot set 0 sized display mode
Slackware uses SDL 1.2.14 - so I cannot see why I am getting that error. The
offending li
hive.
>
> Lenard probably remembers it much better than me.
>
> ... but you could also fix this by replacing thatvery convoluted
> clearScreen body with a simple self.screen.fill((0,0,0))
Yes, works, I also ought to put that function somewhere more sensible as
well...
Thanks All,
Pete
--
Peter Chant
http://www.petezilla.co.uk
self.screen.blit(clear,(0,0))
print "just blitted - ! does not get to here"
self.screen is initialised by the output of another class.
self.screen = h.screen
in class h
self.screen=pygame.display.get_surface()
Only fails on 32 bit Slack 13.0.
>
>
slack 13.0 to that used
in slack 12.2 - as everything works in 12.2. This does not find the bug but it
gets me up and running.
Pete
--
Peter Chant
http://www.petezilla.co.uk
ools. However, I have not understood packages and have imported
files directly as if I weren't using such a structure - I think - as I learn
I'll sort it out. Thanks for the reference.
Pete
--
Peter Chant
http://www.petezilla.co.uk
o luck. I renamed select.py pselect.py
and housekeeping.py phousekeeping.py.
Pete
--
Peter Chant
http://www.petezilla.co.uk
', 'GS_LIB': '/home/pete/.fonts', 'DBUS_SESSION_BUS_ADDRESS':
'unix:abstract=/tmp/dbus-4cHhYGc0Ek,guid=e904877d3778c7a281dbfe954aa28058',
'_': '/usr/bin/python', 'KDEDIRS': '/usr', 'XDG_CONFIG_DIRS':
'/etc/xdg:/etc/kde/xdg:/etc/xfce/xd
On Thursday 10 September 2009, Peter Chant wrote:
> On Thursday 10 September 2009, René Dudfield wrote:
> > to debug it, people would need some code to try and reproduce it.
>
> René, sorry, I'm not really a C hacker so I'm not quite sure what you'd
> want.
7;pslide.pyc', 'main.py', 'select.pyc', '__init__.pyc',
'paudio.py
c', 'housekeeping.py', 'select.py', 'pvideo.py', 'main.pyc']
Fatal Python error: Inconsistent interned string state.
Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb7c596c0 (LWP 3119)]
0xb7c86456 in raise () from /lib/libc.so.6
(gdb)
--
Peter Chant
http://www.petezilla.co.uk
On Saturday 05 September 2009, Peter Chant wrote:
>
> Fatal Python error: Inconsistent interned string state.
I've also reproduced this by installing my app on a fresh installation of
Slackware 13.0 32 bit running on VirtualBox.
Pete
--
Peter Chant
http://www.petezilla.co.uk
.
Python is version 2.6.2 and pygame is pygame-1.9.1release.
Note, firstly setuptools automagically installed pygame, but when I had
problems I downloaded it and built it to see if that made a difference.
Pete
--
Peter Chant
http://www.petezilla.co.uk
splay.unhide()
?
Or do I quit and then re-initialise the display?
Thanks,
Pete
--
Peter Chant
http://www.petezilla.co.uk
are aware.
Pete
--
Peter Chant
http://www.petezilla.co.uk
tablished repository run by Italian slackers.
--
Peter Chant
http://www.petezilla.co.uk
e else would have
spotted it by now?
Pete
--
Peter Chant
http://www.petezilla.co.uk
g for freesansbold, which even though it exists, can't be found:
bash-3.1$ locate freesansbold.ttf
/usr/lib/python2.5/site-packages/pygame/freesansbold.ttf
Note, I think your reference to default systems font is a windows reference.
I'm on linux.
Pete
--
Peter Chant
http://www.petezilla.co.uk
wever, it is a sunny day so perhaps I ought to take advantage of
it.
Pete
--
Peter Chant
http://www.petezilla.co.uk
On Friday 01 May 2009, René Dudfield wrote:
> where is freesansbold.ttf on your system? It should be installed with
> pygame.
bash-3.1$ locate freesansbold.ttf
/usr/lib/python2.5/site-packages/pygame/freesansbold.ttf
--
Peter Chant
http://www.petezilla.co.uk
to use liberationserif which
definitely is on my system I get a similar fault. Any suggestions on a
remedy? Running on linux (Slack 12.2) if that makes a difference.
Pete
--
Peter Chant
http://www.petezilla.co.uk
20 matches
Mail list logo