Menu

#2 Problem running - 'faceName' is an invalid keyword argument

open
nobody
None
5
2004-11-06
2004-11-06
Edwin Evans
No

I ran into a problem trying to run THE on Windows.

E:\Projects\THE\THE_Alpha_v4>the

E:\Projects\THE\THE_Alpha_v4>D:\Python23\python -u
convertFromHPY.py

E:\Projects\THE\THE_Alpha_v4>D:\Python23\python -u
test.py
tt_init():
starting run_on_win.run()
start Win32HostApp.__init__
about to clear the Win32HostApp data members
OnInit
error with wx.App.__init__(self,0)
Traceback (most recent call last):
File "test.py", line 158, in ?
run_on_win.run()
File "E:\Projects\THE\THE_Alpha_v4\run_on_win.py",
line 659, in run
host_App = Win32HostApp()
File "E:\Projects\THE\THE_Alpha_v4\run_on_win.py",
line 100, in __init__
wx.App.__init__(self, 0)
File "D:\PYTHON23\Lib\site-packages\wx\core.py", line
5042, in __init__
self._BootstrapApp()
File "D:\PYTHON23\Lib\site-packages\wx\core.py", line
4791, in _BootstrapApp
return _core.PyApp__BootstrapApp(*args, **kwargs)
File "E:\Projects\THE\THE_Alpha_v4\run_on_win.py",
line 122, in OnInit
faceName="Lucida Console")
File "D:\PYTHON23\Lib\site-packages\wx\gdi.py", line
1616, in __init__
newobj = _gdi.new_Font(*args, **kwargs)
TypeError: 'faceName' is an invalid keyword argument for
this function

Also, I'm not sure how to run on Mac since I can't
execute a .bat file.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.