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

Re: [pygame] BUG: PyGame tries to import scrap when you 'import pygame.sprite'



Hello,

Can you please try the subversion pygame?

Details are here:
http://www.pygame.org/wiki/cvs

We moved to using subversion a while ago... I didn't know the cvs
server was still up.

Cheers,

On 11/27/06, David Gowers <00ai99@xxxxxxxxx> wrote:
(I am using the CVS version of PyGame, and CVS Python (2.5+))
This bug prevents programs using pygame.sprite from running if pygame.scrap
is not available.

In the build/lib.linux-i686-2.5/ directory,

__init__.py reads:


try: import pygame.scrap except (ImportError,IOError), msg:sprite=MissingModule("scrap", msg, 1)


Where it should read:


try: import pygame.scrap except (ImportError,IOError), msg:scrap=MissingModule("scrap", msg, 1)



making this fix allowed my program to work again.