Bugzilla – Bug 5225
timeout setting in ScreenSavers/settings.lua causing fh:read() to fail
Last modified: 2007-08-06 15:03:14 UTC
in ScreenSavers/settings.lua, the settings["timeout"] = 60000 line (i.e., the only non-string in this table) will generate a malformed number error when loading 142111:166 WARN (AppletManager.lua:510) - Error reading ScreenSavers settings: (load):1: malformed number near '30000settings' EXCEPT, if the timeout setting is pasted down to the last line in the file, then it causes no issue. I thought perhaps this was a newline issue, but even if I put in a newline char when the timeout setting is at the end, no error... settings = {} settings["whenPlaying"] = "None" settings["whenStopped"] = "None" settings["whenDocked"] = "None" settings["timeout"] = 60000 this feels like it might be a Lua bug...
fixed in r216 by adding semicolon to end of all lines saved to settings.lua files