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

Error loading module 'socket.core' #126

Open
Hesimark opened this issue Oct 15, 2023 · 7 comments
Open

Error loading module 'socket.core' #126

Hesimark opened this issue Oct 15, 2023 · 7 comments
Labels
bug Something isn't working

Comments

@Hesimark
Copy link

What I expected to happen
When running code/simulation (F5 or F6)the error code:

Exception has occurred: error loading module 'socket.core' from file 'c:/Users/Johannes/.vscode/extensions/nameouschangey.lifeboatapi-0.0.33/assets/luasocket/dll/socket/core.dll':
The specified module could not be found.
stack traceback:
...uschangey.lifeboatapi-0.0.33/assets/luasocket/socket.lua:12: in main chunk
[C]: in function 'require'
...mmon/LifeBoatAPI/Tools/Simulator/SimulatorConnection.lua:7: in main chunk
[C]: in function 'require'
...ets/lua/Common/LifeBoatAPI/Tools/Simulator/Simulator.lua:12: in main chunk
[C]: in function 'require'
_build/_simulator.lua:8: in main chunk
[C]: in ?

Additional info
It worked last week, and no changes with updates or so on. Have tried uninstalling and reinstalling the extension without luck.

@Hesimark Hesimark added the bug Something isn't working label Oct 15, 2023
@D3anil
Copy link

D3anil commented Oct 15, 2023

This is my first installation of the extension.
I get the same error when I start debugging a script that is created automatically when creating a project.
Stacktrace is the same.
The assembly runs without errors.

@Koenqr
Copy link

Koenqr commented Oct 15, 2023

quick fix for now is to use lua debug [actboy 168] version 2.0.2 or 1.61.0 these should work

@SniperKillshot
Copy link

this is also causing issues with simulating scripts. i have had issues with running scripts and no errors show at all. downgrading Lua Debug to 1.61.0 fixed the issue.

@lvckydrip
Copy link

quick fix for now is to use lua debug [actboy 168] version 2.0.2 or 1.61.0 these should work

thank you that worked for me

@KingLexi
Copy link

For some reason, Lua Debug [actboy 168] version 2.0.2 did not work for me, but version 1.16.0 did.

@danlance
Copy link

Hi,
I'm getting the same issue following installation of the addon within VSCode on Mac, and attempting to simulate the example created in a new project.
I've tried using debug [actboy 168] 2.0.2, 1.61.0 and even 1.16.0 (which I suspect wat a typo) - and I get the same error with each.
Is there a way of getting this to work on mac?

@danlance
Copy link

Is there a way of getting this to work on mac?

Just seen the following Requirements section, right at the bottom of the Extension Details:

The LifeBoatAPI simulator was written for Windows, unfortunately as Nameous Changey has no access to a Mac - this is unlikely to change in the near future; unless there is significant demand for it to be ported.

Quick glance at the source code for the simulator, and I see it is using .Net Framework 4.7.2 - and Possibly also WPF?

Core .Net functionality is available on Mac - but WPF has never been directly ported - from what I understand, .NET MAUI is now available - but that is a completely new product which shares some commonality, but for which there is no direct migration path - so if this is being used, I rmaybe a PITA to migrate...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants