[issue10647] scrollbar crash in non-US locale format settings

Herm Fischer report at bugs.python.org
Wed Dec 8 00:03:41 CET 2010


Herm Fischer <fischer at markv.com> added the comment:

The attached test case demonstrates this issue, run on pthyon 3.1.3 x64 and included tkinter.

When running on US Locale, runs fine.  Numbers have the period decimal point, no exceptions raised.

Then select control panel, "Language or Region", "Change keyboards and input methods", Formats tab, and I selected Dutch(Netherlands), press ok.  Rerun.  (I'm running under Eclipse, so exceptions do not terminate the program).  Note these exceptions as listbox is filled and autoscrolls, and as well, if you manually scroll, same exceptions get raised:

  File "C:\Python31\lib\tkinter\__init__.py", line 1399, in __call__
    return self.func(*args)
  File "C:\Python31\lib\tkinter\__init__.py", line 2797, in set
    self.tk.call((self._w, 'set') + args)
_tkinter.TclError: expected floating-point number but got "0,02"

----------
Added file: http://bugs.python.org/file19973/ListboxScrollbarLocaleIssue.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10647>
_______________________________________


More information about the Python-bugs-list mailing list