On Sat, Jan 2, 2010 at 8:27 AM, Michael George <mdgeo...@cs.cornell.edu>wrote:
> In 0.0.4: > > ImportError: Bad magic number in lib/game_globals.pyc > in file > "/home/mdgeorge/tmp/trolls_outta_luckland/Trolls_Outta_Luckland.py" > Traceback (most recent call last): > File "Trolls_Outta_Luckland.py", line 1012, in <module> > main() > File "Trolls_Outta_Luckland.py", line 989, in main > jukebox = gumm_sound.Jukebox() > NameError: global name 'gumm_sound' is not defined > > > Hm... Taking a guess: ./lib/ or /home/mdgeorge/tmp/trolls_outta_luckland/lib needs to be in your sys.path. The game automatically adds ./lib/ so this should work: $ cd /home/mdgeorge/tmp/trolls_outta_luckland $ ./Trolls_Outta_Luckland.py Gumm