-
Notifications
You must be signed in to change notification settings - Fork 31
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 with Gdk requirement from lgi and math.pow problem #24
Comments
It seems related to #22. Thanks for confirming the assumption I did.
Are you sure about that? lgi and awesome both doesn't support lua 5.4. |
@Air-One i'm sure because i'm under Fedora-34 and there is only Lua-5.1 and Lua-5.4 packages to choose that can be installed. Also, i didn't install some other than Lua-5.4 packages and no manual installation of any Lua other. |
I'm not familiar with Fedora, so maybe they have some kind of magic in their packaging system... I'm actually quite surprised because you are the first user I see, reporting running awesome with lua 5.4 as a "daily driver" and not just experimentally. AFAIK, we have issues upstream with lua 5.4 that can not be supported currently by awesome because LGI don't fully support it. (Please take a look at issues and PR on the awesome repo for the last past year) I guess we can bring support to lua 5.4 in awesome by fixing the problems such an upgrade implies (like the random generator fix that was proposed 1-ish year ago). But this couldn't be tagged as a stable version of awesome tho, as (again) lgi does NOT support lua 5.4 in its stable release. Anyway, I feel curious about the changes you did, and you're welcome to share them with upstream projects 😊 |
Is there any progress with this issue? awesome nice plugin work or not? |
I think you are referring this comment on reddit : https://www.reddit.com/r/awesomewm/comments/mdqzuj/module_ruled_not_found_rclua_line_26/gsgh72s?utm_medium=android_app&utm_source=share&context=3 In this case, I was talking about replacing the line https://github.com/mut-ex/awesome-wm-nice/blob/master/init.lua#L57 by : local gdk = lgi.require('Gdk', '3.0') (It's still untested, tho...) You can test it by manually editing the |
Works! |
@raven2cz check also that you have no error for colors. µIf then, remove deprecated code (as i shown upper). |
All tested and works correctly. I created PR. |
Thank god github seo is really good. I have installed awesome yesterday and then though to install it and it was throwing errors. This one liner help was useful. Merge it baby it's been requested 6 months back. |
@mut-ex Hello. I see that your contribution stats is very low last year. |
mut-ex#24: Error with Gdk requirement from lgi and math.pow problem.
issue
which
how to fix
PS
I use this with lua-5.4
The text was updated successfully, but these errors were encountered: