From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020408 Description of problem: The size of unicode characters is 4 bytes in python2 and 2 bytes in Tcl. This causes an error when using unicode in tkinter module. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1.Run simple python script (see additional info below). 2. 3. Actual Results: Error complaining about size mismatch between Py_UNICODE and Tcl_UniChar. Expected Results: Button display with "Hello" text. Additional info: import Tkinter RootWindow=Tkinter.Tk() LabelText=u"Hello" LabelWidget=Tkinter.Label(RootWindow,text=LabelText) LabelWidget.pack() RootWindow.mainloop()
Fixed in python-2.2.1-3