Bug 110372
Summary: | Python/Tkinter does not work because of Python - Tcl/Tk Unicode problem (UCS4 resp. UCS2) | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Thomas <pushcold> |
Component: | python | Assignee: | Mihai Ibanescu <mihai.ibanescu> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 1 | CC: | stephen.walton |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-04-02 13:14:54 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Thomas
2003-11-18 21:51:49 UTC
What exactly is the error you're seeing? I can answer this because I see it too:
$ python
Python 2.2.3 (#1, Oct 15 2003, 23:33:35)
[GCC 3.3.1 20030930 (Red Hat Linux 3.3.1-6)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import Tkinter
>>> Tkinter._test()
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/lib/python2.2/lib-tk/Tkinter.py", line 3118, in _test
label = Label(root, text=text)
File "/usr/lib/python2.2/lib-tk/Tkinter.py", line 2285, in __init__
Widget.__init__(self, master, 'label', cnf, kw)
File "/usr/lib/python2.2/lib-tk/Tkinter.py", line 1780, in __init__
self.tk.call(
SystemError: Py_UNICODE and Tcl_UniChar differ in size
$ rpm -q python
python-2.2.3-7
$ rpm -q tkinter
tkinter-2.2.3-7
I've uploaded some 2.3.2 RPMs to the python.org site in the normal locations for Fedora Core 1. These seem to run Idle ok, in a quick test, so they may be worth trying. http://www.python.org/2.3.2/rpms.html Sean What is the status of this bug? I'm getting this error april 2004. I have just installed fedora Core 1 and have installed all updates. Cheers, ram. This has been fixed in Fedora Core 2 test 1, which ships Python 2.3.3 and tcl/tk 8.4 Sorry, this bug is still in NEEDINFO and didn't appear in my queries. My fault. Sorry I didn't respond sooner: for a more immediate fix, I was able to install the python 2.2.3-26 and tkinter 2.2.3-26 rpms from http://www.python.org/2.2.3/rpms.html; while they are labeled as being for RH9 they seem to work fine on FC1. |