While testing the tkFileDialog, I encountered a strange error : ~/dev/trunk$ ./python Lib/lib-tk/tkFileDialog.py Traceback (most recent call last): File "Lib/lib-tk/tkFileDialog.py", line 202, in <module> openfilename=askopenfilename(filetypes=[("all files", "*")]) File "Lib/lib-tk/tkFileDialog.py", line 125, in askopenfilename return Open(**options).show() File "/home/quentin/dev/trunk/Lib/lib-tk/tkCommonDialog.py", line 48, in show s = w.tk.call(self.command, *w._options(self.options)) _tkinter.TclError: expected floating-point number but got "0.0" Investigating a little, I discovered this is a known issue for some applications like Pyraf and that the following workaround is effective : "env LC_NUMERIC=C ./python Lib/lib-tk/tkFileDialog.py". Looking further, this seems to resolve an atof issue and the fact that Python assumes a C locale while my Linux box actually uses fr_FR.UTF-8, but I have a hard time determining if that a Python issue, a TCL issue or something else. Has someone already encountered this ? Quentin
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4