← Back to team overview

mudlet-makers team mailing list archive

[Bug 495741] Re: LuaGlobal.lua not found - won't start after updating

 

Okay, commented out the line "file_lua.setPermissions( QFile::WriteOwner
| QFile::ReadOwner );" in main.cpp. After that, I didn't get the
LUA_ERROR's. Don't know why. I did get a strange segfault after a while,
never got past the splash. Turns out it works, up until the line
"mpDebugArea->hide();" in mudlet.cpp. After commenting this one out on a
long shot, Mudlet starts up and seems to run fine.

I don't speak C++ (beyond "hello world") or Qt, so I have absolutely no
idea what's going on here.

-- 
LuaGlobal.lua not found - won't start after updating
https://bugs.launchpad.net/bugs/495741
You received this bug notification because you are a member of Mudlet
Makers, which is subscribed to Mudlet.

Status in Mudlet the MUD client: New

Bug description:
After updating mudlet (a few minutes before posting this) from git and remaking, Mudlet won't start but hangs at the splash with "LUA_ERROR: Lua error:cannot open /home/username/.config/mudlet/LuaGlobal.lua:  File not found". Here's a copy/paste snippet:

[rh@clodius src]$ mudlet
deleting old manual< "/home/rh/.config/mudlet/mudlet_documentation.html" > 
Debug: deleting old manual< "/home/rh/.config/mudlet/mudlet_documentation.html" > 
OK deleted file 
Debug: OK deleted file 
LUA_ERROR:  Lua error:cannot open /home/rh/.config/mudlet/LuaGlobal.lua: Filen eller katalogen finns inte 
Debug: LUA_ERROR:  Lua error:cannot open /home/rh/.config/mudlet/LuaGlobal.lua: Filen eller katalogen finns inte 
^C
[rh@clodius src]$ cp /usr/share/mudlet/LuaGlobal.lua ~/.config/mudlet/
[rh@clodius src]$ mudlet
deleting old manual< "/home/rh/.config/mudlet/mudlet_documentation.html" > 
Debug: deleting old manual< "/home/rh/.config/mudlet/mudlet_documentation.html" > 
OK deleted file 
Debug: OK deleted file 
LUA_ERROR:  Lua error:cannot open /home/rh/.config/mudlet/LuaGlobal.lua: Filen eller katalogen finns inte 
Debug: LUA_ERROR:  Lua error:cannot open /home/rh/.config/mudlet/LuaGlobal.lua: Filen eller katalogen finns inte 
^C
[rh@clodius src]$





Follow ups

References