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

Flatpak version errors out when running any project code #1191

Open
rjbradleyling opened this issue Nov 30, 2024 · 1 comment
Open

Flatpak version errors out when running any project code #1191

rjbradleyling opened this issue Nov 30, 2024 · 1 comment

Comments

@rjbradleyling
Copy link

As per the title, the flatpak doesn't work. The IDE loads, but attempting to run any code always results in the following error:

execvp(/app/share/zbstudio/bin/linux/x64/lua, -e, io.stdout:setvbuf('no'), /home/rling/Documents/Projects/Erd/main.lua) failed with error 2!

It would, of course, be great if we knew what error 2 exactly was......

I've tried this on multiple machines running multiple different Linux distros, including Linux Mint, Debian, and Ubuntu. They all have the same problem.

Can anyone throw me a bone here? Any idea what an execvp error 2 is?

@pkulchenko
Copy link
Owner

Error 2 is usually "file not found" error. It looks like flatpak expects that install.sh script runs, which installs the IDE under /app/share, but for some reason that didn't happen. Do you see the lua executable available under that path? The IDE itself requires a lua executable to run, so it's a bit strange that it runs, but can't execute anything else.

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

2 participants