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

"unable to obtain AdvancedLuaErrorReporter" when requiring module #47

Closed
CheezusChrust opened this issue Mar 24, 2023 · 5 comments
Closed
Assignees
Labels

Comments

@CheezusChrust
Copy link

CheezusChrust commented Mar 24, 2023

As the title says, when I require("luaerror") I'm receiving the error in the title, alongside my server crashing immediately. Server is running on Windows Server 2019, GMod version is the latest version of the main branch. I am on the latest version of luaerror.

This only started happening after I updated the GMod server today (first time in around 3 months), if it helps.

My other installed modules:
https://github.com/Metastruct/gm_enginespew
https://github.com/FredyH/GWSockets
https://github.com/WilliamVenner/gmsv_reqwest

@CheezusChrust
Copy link
Author

CheezusChrust commented Apr 26, 2023

Just tested on a fresh server with no other modules installed, still happening. Hoping this can get looked at soon as I'm using a couple of addons that depend on this.

In case it helps, here's the results of the two commands you had the other guy with this issue run.

lua_run print(debug.getregistry()[1])
> print(debug.getregistry()[1])...
function: 0x26462348
lua_run PrintTable(debug.getinfo(debug.getregistry()[1], "flnSu"))
> PrintTable(debug.getinfo(debug.getregistry()[1], "flnSu"))...
currentline     =       -1
func    =       function: 0x26462348
isvararg        =       true
lastlinedefined =       -1
linedefined     =       -1
namewhat        =
nparams =       0
nups    =       0
short_src       =       [C]
source  =       =[C]
what    =       C

@brandonsturgeon
Copy link

brandonsturgeon commented Apr 27, 2023

After talking with them and some other gm_luaerror users, it seems like this issue is specific to windows (perhaps windows server, in particular), and is still present in the latest build. Linux users with the latest build do not have this issue.

@MoskalykA
Copy link

Problem also present on Windows 11

@danielga
Copy link
Owner

This should be fixed in 1.5.9-rc2.

@MoskalykA
Copy link

This should be fixed in 1.5.9-rc2.

Everything is corrected for me, thank you <3

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

No branches or pull requests

4 participants