[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Another Pygame 1.9.2 pre-alpha release for Win32


I just tested it with the Zanthor game... and get an error on OS X 10.7.

  File "/Users/rene/dev/zanthor/zanthor/intro.py", line 111, in update
    img = fnt.render(text,1,(0,0,0))
  File "/usr/local/Cellar/python/2.7.2/lib/python2.7/site-packages/pygame/ftfont.py", line 68, in render
    s, r = super(Font, self).render(text, color, background)
SystemError: error return without exception set

The 'text' variable there is "you".

Zanthor can be found here...
    svn checkout http://zanthor.googlecode.com/svn/trunk/ zanthor-read-only

On Sun, Feb 19, 2012 at 3:32 AM, Christoph Gohlke <cgohlke@xxxxxxx> wrote:

On 2/18/2012 3:52 PM, Lenard Lindstrom wrote:
On 18/02/12 01:26 PM, Christoph Gohlke wrote:

On 2/16/2012 8:12 PM, Lenard Lindstrom wrote:
Hi everyone,

Some more Windows installers and prebuilt libraries: md5sums

ca388c44dbb51f46dff53b93558f1abc *prebuilt-pygame1.9.2-msvcr90-win32.zip
e5cfda898096e66ea5e1bf75c5f7424b *pygame-1.9.2a0.win32-py2.7.msi
0578a2514b73e0bf7e22d6d0f2d56b39 *pygame-1.9.2a0.win32-py3.2.msi

Please help test the new pygame.freetype module. Just set the
PYGAME_FREETYPE environment to some value, then use Pygame as normal. If
you don't notice anything different then freetype is working fine.


Lenard Lindstrom

Hi Lenard,

I didn't try those builds. But, FWIW, my own win32 and win-amd64 msvc9
builds pass all tests with and without PYGAME_FREETYPE. The examples
work well too.

Hi Christoph,

The prebuilt binaries are not important in testing freetype. When the
PYGAME_FREETYPE environment variable is defined, the SDL_ttf based
pygame.font extension module is replaced with the pygame.freetype based
pygame.ftfont Python module. That freetype keeps passing its unit tests
is good news. But I am also interested in seeing it used in actual games.

I don't have an actual game to test. Maybe releasing a beta version (assuming pygame-1.9.2 is feature complete) would encourage more users/developers to test.

By the way, how did you deal with smpeg? I finally gave up with MinGW
and built smpeg with Visual Studio 9.0. I mean to provide instructions
on building the libraries with msys_build_deps,py, where smpeg is
assumed to be already compiled. But I am still working out a systematic
approach: Build SDL first, create a LIB for SDL, build smpeg with the
SDL library added to the library search path, then build everything else.

I build everything with msvc9, the whole stack of dependencies including SDL and smpeg. But the process is not automated. It is important to recompile smpeg, SDL_Image etc. against the same SDL version used by pygame.


Lenard Lindstrom