Ikemen-GO icon indicating copy to clipboard operation
Ikemen-GO copied to clipboard

MacOS main Lua file error

Open python-nerder opened this issue 2 years ago • 3 comments

So, I got your code and everything, but whenever I double-click Ikemen_GO_MacOS, I get an error that says "Main lua file "external/script/ main.lua" error. open external/script/main.lua: no such file or directory"

After downloading your file from https://github.com/ikemen-engine/Ikemen-GO/releases/tag/0.98.2, I double-clicked the command...

And got the error.

So, I went back to compile it - but I didn't have the privileges - even though my Mac said I could read and write.

I was expecting the engine to run smoothly. error2

error1

My platform is MacBook Air (13-inch, 2017)

Please fix this - or tell me what I'm doing wrong.

PS: I've already installed Lua.

python-nerder avatar Sep 02 '22 11:09 python-nerder

Seems like the Ikemen_GO_MacOS lacks executable permissions.

Open a terminal and write: sudo sudo chmod u+x "path_to_Ikemen_GO_MacOS" Where "Ikemen_GO_MacOS" is the path to where the executable is located.

You can also just write sudo sudo chmod u+x (with a space at the end) and drag the Ikemen_GO_MacOS file to the terminal.

Windblade-GR01 avatar Sep 04 '22 17:09 Windblade-GR01

I did exactly as you said- I wrote Users/Onesimus/Dropbox/Mac/Downloads/Ikemen_GO_v0/Ikemen_GO_MacOS after the sudo, but...

A - NOTHING happened, even after I entered my password. mama

B - The selfsame error occurred again. no lol

python-nerder avatar Sep 05 '22 09:09 python-nerder

It is now saying: panic: Main lua file "external/script/main.lua" error. open external/script/main.lua: no such file or directory goroutine 1 [running, locked to thread]: main.main() github.com/Windblade-GR01/Ikemen_GO/src/main.go:82 +0x7e7

python-nerder avatar Sep 05 '22 09:09 python-nerder

I have the same issue this problem isn't closed.

Christian-Nerd avatar Apr 30 '23 12:04 Christian-Nerd

panic: Main lua file "external/script/main.lua" error.
open external/script/main.lua: no such file or directory

goroutine 1 [running, locked to thread]:
main.main()
	/Users/runner/work/Ikemen-GO/Ikemen-GO/src/main.go:80 +0x529

Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

shinriyo avatar May 07 '24 03:05 shinriyo

I've been having this issue whenever I try opening it

Timeless-Xeno avatar Jun 08 '24 23:06 Timeless-Xeno