Am 2008-07-05 um 13:34 schrieb Pierre-Alain Dorange:
The source code :
import os, pygame
from pygame.locals import *
File
"/Volumes/Documents/PAD/Dev/PyGame/MicroWar/Source/dist/MicroWar.app/
Con
tents/Resources/microwar.py", line 1721, in main
pygame.mixer.music.load(fname)
AttributeError: 'module' object has no attribute 'music'
2008-07-05 13:30:40.741 MicroWar[918] MicroWar Error
2008-07-05 13:30:40.741 MicroWar[918] MicroWar Error
An unexpected error has occurred during execution of the main script
AttributeError: 'module' object has no attribute 'music'
Try importing pygame.mixer.music or add that dependency in your
setup.y, maybe the dependency tree is not traversable for setuptools.
Did you include your data files (esp. the music) in setup.py?
Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net
https://www.cacert.org (I'm an assurer)
_______________________________________________
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig