cells
cells copied to clipboard
IndexError when running cells.py
Seen every time I run the master at the moment:
Traceback (most recent call last):
File "cells.py", line 547, in
Also seen by icefox on ubuntu karmic. Works on Fedora 12.
My pygame is 1.9.1release and numpy is 1.2.1 on the OS/X box that gets the error. On Fedora 12, where it works, they're 1.9.1release and 1.3.0 respectively.
UPDATE: when trying to get psycho working, I ran this to force python into 32-bit mode: defaults write com.apple.versioner.python Prefer-32-Bit -bool yes
it didn't work, but now I can run cells.py just fine on my OS/X box, too.
I didn't try to install psyco, but I tried the 32-bit mode trick - it changed the error message, but the game still won't run.
defaults write com.apple.versioner.python Prefer-32-Bit -bool yes
python cells.py minds/mind1.py minds/mind2.py
results in
Traceback (most recent call last):
File "cells.py", line 15, in <module>
import pygame, pygame.locals
File "/Library/Python/2.6/site-packages/pygame-1.9.1release-py2.6-macosx-10.6-universal.egg/pygame/__init__.py", line 95, in <module>
from pygame.base import *
ImportError: dlopen(/Library/Python/2.6/site-packages/pygame-1.9.1release-py2.6-macosx-10.6-universal.egg/pygame/base.so, 2): no suitable image found. Did find:
/Library/Python/2.6/site-packages/pygame-1.9.1release-py2.6-macosx-10.6-universal.egg/pygame/base.so: mach-o, but wrong architecture
OS X 10.6.3, Python 2.6.1, numpy 1.4.1, pygame 1.9.1
Nevermind, grabbed the latest version and everything is gravy.