Traceback (most recent calls last)
File "SHADOW.py", line 66, in <module>
File "SHADOW.py",line 60, in main
File "menu..pyc", line 235, in main
IOError:unable to read font filename
So i tried changing the non-system fonts in the program and used default font.
But then the error i get is:
Fatal python error: (pygame parachute) Segmentation fault
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
What am i doing wrong?
The setup.py file i used is :
from distutils.core import setup
import py2exe, glob,sys,os
origIsSystemDLL = py2exe.build_exe.isSystemDLL
def isSystemDLL(pathname):
if os.path.basename(pathname).lower() in ("libogg-0.dll", "sdl_ttf.dll"):
return 0
return origIsSystemDLL(pathname)
py2exe.build_exe.isSystemDLL = isSystemDLL
opts = {
"py2exe": {
'includes':[
]
}
}
setup(
console=['SHADOW.py'],
options=opts,
data_files = [
("frames", glob.glob("frames\\*.*")),
("ghost shadow", glob.glob("ghost shadow\\*.*")) ,
("resource", glob.glob("resource\\*.*")),
("sounds", glob.glob("sounds\\*.*"))
],
zipfile="lib/shared.zip"
)
This post has been edited by atraub: 23 August 2012 - 08:10 AM
Reason for edit:: Removed caps from topic name

New Topic/Question
Reply



MultiQuote


|