[Python-bugs-list] [ python-Bugs-431899 ] tkfileDialog on NT makes float fr specif

noreply@sourceforge.net noreply@sourceforge.net
Fri, 29 Mar 2002 01:37:29 -0800


Bugs item #431899, was opened at 2001-06-10 22:20
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=431899&group_id=5470

Category: Tkinter
Group: Platform-specific
>Status: Closed
>Resolution: Works For Me
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: tkfileDialog on NT makes float fr specif

Initial Comment:
If I use the line: (Tkinter 8.3 for Python 2.0)
file = tkFileDialog.askopenfilename(...)
on an NT french workstation, that turn off floats 
using dot but comma separator for Tcl...
then if your have defined a Text widget, calling 
self.yview('moveto', '1.0') failed with an unavailable 
type error:
TclError: expected floating-point number but got "1.0"
this appends in lib-tk\Tkinter.py line 2846 in yview
self.tk.call((self._w, 'yview') + what)

But the bugs in my opinion comes from Tcl tkFileDialog 
which activate a flag about float memory 
representation for tcl.

The problem is that I'm unable to find the turnarround 
i.e. finding tcl methode to turn on US float 
representation.

All help may be pleased.

Jerry alias the foolish dracomorpheus
python french fan ;-)



----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2002-03-29 10:37

Message:
Logged In: YES 
user_id=21627

No feedback forthcoming, closing the report.

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2002-02-24 18:17

Message:
Logged In: YES 
user_id=21627

I can't reproduce that problem. I only have a German XP
installation, but it should behave similarly in these
respect. I've been using Python 2.2.

Can you attach a small script to this report which
demonstrates the problem?

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=431899&group_id=5470