#2 1.0.0 source tarball missing images and overflow error

closed
nobody
None
5
2007-03-20
2007-03-14
Clive Crous
No

% python kimboot.py ~/local/games/kimboot-1.00
Options and scores are from user directory
Options and scores are from user directory
Options and scores are from user directory
Couldn't load image: menu/newgame.jpg
Couldn't load image: menu/options.jpg
Couldn't load image: menu/hiscores.jpg
Couldn't load image: menu/about.jpg
Couldn't load image: menu/quit.jpg
Couldn't load image: menu/options_in.jpg
Couldn't load image: menu/blamount.jpg
Couldn't load image: menu/blspread.jpg
Couldn't load image: menu/sndvol.jpg
Couldn't load image: menu/musvol.jpg
Couldn't load image: menu/resolution.jpg
Couldn't load image: menu/fullscr.jpg
Couldn't load image: menu/theme.jpg
Couldn't load image: menu/back.jpg
Couldn't load image: menu/hiscores_in.jpg
Couldn't load image: menu/back.jpg
Couldn't load image: menu/back.jpg
Couldn't load image: menu/really.jpg
Couldn't load image: menu/yes.jpg
Couldn't load image: menu/no.jpg
Traceback (most recent call last):
File "kimboot.py", line 157, in ?
main(sys.argv)
File "kimboot.py", line 54, in main
tlo = SurfaceTexture(pygame.image.load("menu/background.png"),(width,height))
File "/home/clive/local/games/kimboot-1.00/surftex.py", line 93, in __init__
self.texture = surfaceToOglTexture( surface, scale=scale, mipmap=mipmap )
File "/home/clive/local/games/kimboot-1.00/surftex.py", line 22, in surfaceToOglTexture
glBindTexture( GL_TEXTURE_2D, texture )
OverflowError: long int too large to convert to int

Discussion

  • Logged In: YES
    user_id=1362514
    Originator: NO

    Missing images aren't an error. Kimboot menu allows items to be images or text - when an image isn't available, it draws text. Since I didn't do any images, menu items are rendered as text and Kimboot writes information about that ("Couldn't load image...").
    About the overflow error: install latest PyOpenGL from http://pyopengl.sf.net. It should fix that problem.

     
    • status: open --> closed
     
  • Clive Crous
    Clive Crous
    2007-03-20

    Logged In: YES
    user_id=294278
    Originator: YES

    I have always had PyOpenGL installed:

    % python ~/local/games/kimboot-1.00
    Python 2.4.4 (#2, Jan 13 2007, 17:50:26)
    [GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> from OpenGL.GL import *
    >>> from OpenGL.GLU import *
    >>>

    The above works fine, kimboot-1.00 does not.

     
  • Clive Crous
    Clive Crous
    2007-03-20

    • status: closed --> open
     
  • Clive Crous
    Clive Crous
    2007-03-20

    • status: open --> closed
     
  • Clive Crous
    Clive Crous
    2007-03-20

    Logged In: YES
    user_id=294278
    Originator: YES

    Ah did not see "latest" in your previous comment, sorry my bad. Guess I'll wait for the debian packages of their latest release before I can play KimBoot again :(

     
  • Logged In: YES
    user_id=1362514
    Originator: NO

    Why don't you want to install PyOpenGL from source? There's also an .egg file on their site. (Python eggs are a sort of Python packages, they're easy to install (they automatically resolve dependencies etc.))