[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: tcl and xcin input problem



Petr Simon wrote:

Hi,
the program that works great with chinese and diacritics is TreeLine (http://www.bellz.org/treeline/). Basically I was loking for something taht would display data in a tree as Leo does and that would allow me to make a lot of notes around, define relations etc. The TreeLine is not that great (Leo really is!, you know it if you have used it). Strange thing is that I was able to input directly into Leo under Windows. So it should work under Linux too. Strange thing is that I can run Leo only from xcinterm-big5. When I press shift-alt xcin comes up, but when I type it input normal keys from my keyboard and ignores xcin completely.
If I try to run it from xcinterm-gb2312 it gives me this error:
Traback (most recent call last):
   File "./leo.py", line 195, in ?
       run()
   File "./leo.py", line 130, in run
       root = Tkinter.Tk()
   File "/usr/lib/python2.2/lib-tk/Tkinter.py", line 1538, in __init__
       self.tk = _tkinter.create(screenName, baseName, className)
_tkinter.TclError: Cant't find a usable init.tcl in the following directories: /usr/lib/tcl8.4 / then begins some mess with chinese characters and spaces and then it says:
This probably means that Tcl isn't installed properly.

Well, I understand it only to the extent that I can say that I should reinstall Tcl. I did it,both dpkg-reconfigure and that from source. Nothing. Well I would guess that gb is maybe more sensitive (?) and that the error shows up in big5 only in the way, that I can't type.
Any ideas?
Thanks
Petr
This is normal return for any application not supporting XIM ( X
input method that xcin used ) I'm not sure TK support it .... may
be you can search for info between XIM support in Python and TK
TK is out of my area... hope that help.
Peace out
Alex




Reply to: