On Thu, May 12, 2011 at 12:12:56PM +0200, Claudio Giordano wrote:
> Yes, they are the only errors.
What I suspect is happening is that it may be locale related as the
GeyserSetConstraint.lua file fiddles with the locale so it could be
significant.
I suspect the subsequent errors are just because we cannot define the
constraints because the GeyserSetConstraints script fails.
I will probably change the LuaGlobal script to use loadfile anyhow as it
gives better error messages.
I have attached a small lua script which hopefully you can run. It
basically loads the relevant lua files and makes sure they compile. It
is now looking like an upstream problem as the files are in the correct
place.
- Craig
--
Craig Small VK2XLZ http://www.enc.com.au/ csmall at : enc.com.au
Debian GNU/Linux http://www.debian.org/ csmall at : debian.org
GPG fingerprint: 1C1B D893 1418 2AF4 45EE 95CB C76C E5AC 12CA DFA5
function getMainWindowSize()
return 0
end
local
result,errstr=loadfile("/usr/share/games/mudlet/lua/geyser/GeyserGeyser.lua")
if result then
print("Geyser compiled ok")
result()
else
print("Geyser compile fail "..errstr)
exit()
end
local
result,errstr=loadfile("/usr/share/games/mudlet/lua/geyser/GeyserSetConstraints.lua")
if result then
print("GeyserSetConstraints compiled ok")
result()
else
print("GeyserSetConstraints compile fail"..errstr)
exit()
end