Re: [Pipmak-Users] Troubles in Linux
Status: Alpha
Brought to you by:
cwalther
From: Christian W. <cwa...@gm...> - 2006-10-15 18:40:39
|
Dennis wrote: > Term: Error loading Lua file resources/defaults.lua:223: malformed > number near > `0.001' Aha! Found the problem! It seems that Lua takes into account the current locale when interpreting literal numbers in scripts, and so it fails if you're using a locale that uses a comma as the decimal point. Stupid. This is fixed in Subversion. I also added better error reporting, so that future bugs of this type should be easier to find, without users having to compile from source and run Pipmak in a debugger. As a workaround for people who neither want to compile from SVN nor wait for the next release, you can get Pipmak to run by setting the LC_NUMERIC environment variable to "C" ('export LC_NUMERIC=C' in bash) beforehand. Thanks for the help, Dennis! -Christian |