--------------Forwarded by SpamMotel--------------
--------------------------------------------------
--from Beda Kosata <address@hidden>--
--reply address@hidden
Spam Motel address created on 2004-10-03 10:38:54
This Message received on Mon Oct 4 03:06:03 EDT 2004
Last Message received on 2004-10-03 11:22:24
No. 15 Messages Forwarded: 5 Messages Received: 5
*** BKchem ***
address@hidden
--------------------------------------------------
Hi Per,
I have had a look at the internet and I have found the following
bugreport. I am not sure if it relates to your problem, but have a
look at it :
http://mail.python.org/pipermail/python-list/2003-November/196229.html.
As for now, I have two possible solutions - either
1/ upgrade at least Tcl/Tk to 8.4.x, the best would be to upgrade
python as well (to 2.3.4), or
2/ locate the file bkchem.py (it is the one you run in the single
deployment install, or it should be somewhere like
/usr/lib/python2.2/site-packages/bkchem/bkchem.py if you used the
setup.py script to install it). In this file lines 49 and 50 should be
import __builtin__
__builtin__.__dict__['_'] = lambda m: m
take them and copy them once again under it, without the starting
whitespace. You should get something like this:
import __builtin__
__builtin__.__dict__['_'] = lambda m: m
import __builtin__
__builtin__.__dict__['_'] = lambda m: m
now save the file and try it. In this case the localization will not
work (you will have only the english text, which does not matter as
there is not Swedish localization :)
Unfortunately I cannot test it on a RedHat right now, but my friend
has one, so once he will have time, I will make more experiments with
it and write some more.
Cheers
BEDA
Per Johansson wrote:
Hi,
I've just downloaded BKchem-0.8.0-pre2. When I start this in RedHat 9
(with python 2.2.2, tk-8.3.5 and tix 8.1.4) all the menus are garbled.
That is, instead of "File" it displays "F.i.l.e." where the "." is a
dotted square. I'm not sure why. My locale is Swedish UTF-8
(LANG=sv_SE.UTF-8).
How do I make BKchem look normal?
Best Regards,
Per Johansson
_______________________________________________
Bkchem-user mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/bkchem-user
_______________________________________________
Bkchem-user mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/bkchem-user