python / tkinter interaction

Intrinsic Spin spin at freakbait.com
Sat Jan 17 00:42:36 UTC 2004


Chris,

Please see my bug# 113746 
http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=113746

There's a patch so that you can rebuild tcl/tk and tkinter to fix the 
problem (if you are so inclined).  

-Spin



On Dec 02, 2003, Chris Wright wrote:
-----------------------------------

Tkinter seems to fail

[root localhost caw]# apt-get install tkinter
Reading Package Lists... Done
Building Dependency Tree... Done
tkinter is already the newest version.
0 upgraded, 0 newly installed, 0 removed and 0 not upgraded.
[root localhost caw]# 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
>>>

What's the right place to help sort this out?

cheers

Chris





More information about the fedora-devel-list mailing list