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

Not found lua modules #631

Closed
Pro-pra opened this issue Aug 31, 2023 · 2 comments
Closed

Not found lua modules #631

Pro-pra opened this issue Aug 31, 2023 · 2 comments

Comments

@Pro-pra
Copy link

Pro-pra commented Aug 31, 2023

After local build and install i see in log:

$ gittyup
PANIC: unprotected error in call to Lua API (cannot open /builddir/build/BUILD/gittyup-6bf49f007a9fb0577910885607833373d0552101/conf/System.lua: No such file or directory)

file System.lua i found in /usr/share/Gittyup/themes/System.lua
option -DLUA_MODULES_PATH may be help me?

@Murmele
Copy link
Owner

Murmele commented Oct 4, 2023

the problem is that somehow the System.lua file is not found. Can you build with debug messages enabled so that you get more debug output?

https://github.com/Murmele/Gittyup/blob/master/src/conf/CMakeLists.txt

https://github.com/Murmele/Gittyup/blob/master/src/conf/Settings.cpp#L201-L280

@Pro-pra
Copy link
Author

Pro-pra commented Oct 6, 2023

thank you, i fixed issue.
May be help option:
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_INSTALL_DATADIR=share/%{name}
-DBUILD_SHARED_LIBS=OFF
-DDEBUG_OUTPUT=OFF
and drop option:
-DLUA_MODULES_PATH=%{_datadir}/lua \

@Pro-pra Pro-pra closed this as completed Oct 6, 2023
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