[pygame] Re: pygame.error: Cannot set 0 sized display mode

2012-10-16 Thread Peter Chant
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

[pygame] pygame.error: Cannot set 0 sized display mode

2012-10-14 Thread Peter Chant
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

Re: [pygame] pygame parachute and inconsistent interned sting state - but only on Slackware 13.0 32 bit

2009-09-16 Thread Peter Chant
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

Re: [pygame] pygame parachute and inconsistent interned sting state - but only on Slackware 13.0 32 bit

2009-09-16 Thread Peter Chant
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. > >

Re: [pygame] pygame parachute and inconsistent interned sting state - but only on Slackware 13.0 32 bit

2009-09-15 Thread Peter Chant
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

Re: [pygame] pygame parachute and inconsistent interned sting state - but only on Slackware 13.0 32 bit

2009-09-12 Thread Peter Chant
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

Re: [pygame] pygame parachute and inconsistent interned sting state - but only on Slackware 13.0 32 bit

2009-09-11 Thread Peter Chant
o luck. I renamed select.py pselect.py and housekeeping.py phousekeeping.py. Pete -- Peter Chant http://www.petezilla.co.uk

Re: [pygame] pygame parachute and inconsistent interned sting state - but only on Slackware 13.0 32 bit

2009-09-11 Thread Peter Chant
', '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

Re: [pygame] pygame parachute and inconsistent interned sting state - but only on Slackware 13.0 32 bit

2009-09-10 Thread Peter Chant
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.

Re: [pygame] pygame parachute and inconsistent interned sting state - but only on Slackware 13.0 32 bit

2009-09-10 Thread Peter Chant
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

Re: [pygame] pygame parachute and inconsistent interned sting state - but only on Slackware 13.0 32 bit

2009-09-09 Thread Peter Chant
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

[pygame] pygame parachute and inconsistent interned sting state - but only on Slackware 13.0 32 bit

2009-09-05 Thread Peter Chant
. 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

Re: [pygame] Shutting down the video screen

2009-08-17 Thread Peter Chant
splay.unhide() ? Or do I quit and then re-initialise the display? Thanks, Pete -- Peter Chant http://www.petezilla.co.uk

Re: [pygame] Pygame font issues

2009-05-05 Thread Peter Chant
are aware. Pete -- Peter Chant http://www.petezilla.co.uk

Re: [pygame] Pygame font issues

2009-05-04 Thread Peter Chant
tablished repository run by Italian slackers. -- Peter Chant http://www.petezilla.co.uk

Re: [pygame] Pygame font issues

2009-05-03 Thread Peter Chant
e else would have spotted it by now? Pete -- Peter Chant http://www.petezilla.co.uk

Re: [pygame] Pygame font issues

2009-05-02 Thread Peter Chant
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

Re: [pygame] Pygame font issues

2009-05-02 Thread Peter Chant
wever, it is a sunny day so perhaps I ought to take advantage of it. Pete -- Peter Chant http://www.petezilla.co.uk

Re: [pygame] Pygame font issues

2009-05-01 Thread Peter Chant
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

[pygame] Pygame font issues

2009-04-30 Thread Peter Chant
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