Tkui in Lyntin?
Mac Pimp <[email protected]> Mon, 18 May 2009 12:10:48 +0200
| Newsgroups | gmane.comp.games.mud.client.lyntin |
|---|---|
| Message-ID | <C63700C8.B8%[email protected]> |
I have having problems with this, and while still learning Python, I cannot
decipher what it means =)
I type:
runlyntin -ui tk
At the command prompt. I have never got it to work, and have just used the
basic, default textui for the past 2 or so months. But, since I want to
actually play some in the near future, I figure I might as well figure out
what is the issue here. =) Also, I will try to teach myself some python.
Anyway...sorry for so much dialogue. What I get, after typing the above is
this:
noname:~ workstation_1$ runlyntin -ui tk
Cannot start 'tk': bad event type or keysym "KP_Up"
Traceback (most recent call last):
File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packag
es/lyntin-4.2-py2.6.egg/lyntin/engine.py", line 1037, in main
uiinstance = base.get_ui(modulename)
File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packag
es/lyntin-4.2-py2.6.egg/lyntin/ui/base.py", line 35, in get_ui
return _module.get_ui_instance()
File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packag
es/lyntin-4.2-py2.6.egg/lyntin/ui/tkui.py", line 135, in get_ui_instance
myui = Tkui()
File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packag
es/lyntin-4.2-py2.6.egg/lyntin/ui/tkui.py", line 205, in __init__
insertwidth='2')
File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packag
es/lyntin-4.2-py2.6.egg/lyntin/ui/tkui.py", line 566, in __init__
self.bind("<KeyPress-KP_Up>", self.callKP8)
File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-tk/Tkin
ter.py", line 985, in bind
return self._bind(('bind', self._w), sequence, func, add)
File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-tk/Tkin
ter.py", line 940, in _bind
self.tk.call(what + (sequence, cmd))
TclError: bad event type or keysym "KP_Up"
Traceback (most recent call last):
File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packag
es/lyntin-4.2-py2.6.egg/lyntin/engine.py", line 1043, in main
sys.exit(0)
SystemExit: 0
goodbye.
I have Mac OS 10.4.11, and Python version 2.6.1, and Lyntin 4.2. I have not
done any altering or hacking to the client as of yet, so it should be pretty
straight forward. I did update Python to 2.6, from the default on the
system which I think was 2.2 or something old.
In the interim, I will try to figure it out...if I get too bored, or stuck,
then I will hit the Python learning...=) Oh, one last thing, cursesui seems
to work ok.
Thanks in advance.
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects