#Getting Olympus error after installation of Lua, how to fix it?

22 messages · Page 1 of 1 (latest)

round temple
#

I am a video game developer so I install Lua (with the command scoop install main/lua) on my Window computer to deal with some work. However, I found that if I launch Olympus by executing the main.exe in the Olympus folder after the installation of Lua, I got an error said :

Error

sharp.lua:441: Failed running (Win32RegSet)(main)#1 Win32RegSet: sharp thread died


Traceback

[love "callbacks.lua"]:228: in function 'handler'
[C]: in function 'error'
sharp.lua:441: in function 'setKey'
modinstaller.lua:21: in function 'register'
main.lua:609: in function 'load'
[love "callbacks.lua"]:136: in function '_love_run'
main.lua:97: in function <main.lua:96>
[C]: in function 'xpcall'
[C]: in function 'xpcall'
gaunt walrus
#

this is a known issue, olympus doesn't play nicely with lua despite it literally being made with löve2d

#

we never figured out the cause

round temple
#

And if I uninstall Lua, everything goes back to normal. Olympus can launch successfully after uninstalling it from my computer.
Is there any way to keep Lua installed and Olympus running normally together?

gaunt walrus
#

not that i know of

#

you can look at olympus' logs at %localappdata%\Olympus and see if this tells you anything

round temple
gaunt walrus
round temple
#

I am a Chinese speaker. "远程主机强迫关闭了一个现有的连接" means "An existing connection was forcibly closed by the remote host" in English.

gaunt walrus
#

that is normal

#

the log-sharp.txt is old because the sharp process isn't launching at all due dependencies not being able to be found

#

like i said, i don't know what causes lua being installed to make dependencies suddenly be not found

round temple
gaunt walrus
#

i know this isn't the answer you're seeking but you're on your own if you'd like to debug this issue

other than, you know, doing what you just said

round temple
#

Fine. I understand that. Dependencies are usually hard to deal with. Perhaps I will try to debug this in the future.
Thank you for answering my questions! 👍

hoary barn
#
[[main]] module 'lsqlite3' not found:
    no field package.preload['lsqlite3']
    no 'lsqlite3' in LOVE game directories.
    no file 'lsqlite3' in LOVE paths.
    no file 'C:\Users\VonBrank\scoop\apps\lua51\current'
    no file 'C:\Users\VonBrank\scoop\apps\lua51\current'

I wonder if it messes with whatever determines where Lua (or maybe love2d) looks up modules thinkeline

#

lsqlite3 ships as lsqlite3complete.dll and gets installed to %localappdata%\Olympus, which is where Olympus is

#

Random Stack Overflow Thread #5435 mentions a LUA_PATH variable, does it happen to set it?

round temple
hoary barn
#

there's also LUA_CPATH

round temple
#

It seems that Olympus use the Lua version that the operating system provides rather than the bundled one ( lua51.dll).