kartoFlane wrote:I've found a bugCode: Select all
TclError: expected floating-point number but got "0,875"
Fixed in GMM 1.7. That was a subtle one.
The bug surfaces in non-US locales that have commas for decimal points in their numbers.
The gui library lets a comma sneak in somewhere when it does math, and it panics.
If you're impatient, you can get your copy working thusly:
Find this line in main.py, near the top.
Code: Select all
locale.setlocale(locale.LC_ALL, "")
Code: Select all
locale.setlocale(locale.LC_NUMERIC, "C") # Use period for numbers.
* Technically the locale poisoning wasn't truely fixed until Python 3.2, but this workaround is good for all versions.