Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NLua.Exceptions.LuaScriptException: [string "main"]:856: attempt to index local 'file' (a nil value) #21

Open
XGDegi opened this issue May 4, 2023 · 3 comments

Comments

@XGDegi
Copy link

XGDegi commented May 4, 2023

I've been getting this error forever now i have no idea whats the issue, The only thing i have editing is the config to
--_M.BizhawkDir = "C:/Users/mmill/Downloads/BizHawk-2.2/"
_M.BizhawkDir = "K:/BizHawk-2.9.1-win-x64"

and i have no idea what i need to do to fix it.
the error is
NLua.Exceptions.LuaScriptException: [string "main"]:856: attempt to index local 'file' (a nil value)

@JobbeDeluxe
Copy link

i had the same....
the line in main is
"....
file:write(pool.generation .. "\n")
...."

the folder pool is writeable, i do not why this will come up.

@kylechallis
Copy link

I've been getting this error forever now i have no idea whats the issue, The only thing i have editing is the config to --_M.BizhawkDir = "C:/Users/mmill/Downloads/BizHawk-2.2/" _M.BizhawkDir = "K:/BizHawk-2.9.1-win-x64"

and i have no idea what i need to do to fix it. the error is NLua.Exceptions.LuaScriptException: [string "main"]:856: attempt to index local 'file' (a nil value)

are you using BizHawk 2.2 or 2.2.2?

also what version of the PreReqs are you using?

@XGDegi
Copy link
Author

XGDegi commented Nov 30, 2023

Bizhawk version 2.2.2 and PreReqs version 2.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants