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

Specify awesome version beyond "git" #10

Closed
sztomi opened this issue May 3, 2020 · 5 comments · Fixed by #11
Closed

Specify awesome version beyond "git" #10

sztomi opened this issue May 3, 2020 · 5 comments · Fixed by #11
Assignees
Labels
bug Something isn't working

Comments

@sztomi
Copy link

sztomi commented May 3, 2020

I tried using the master of awesome (29f6387defd) but that doesn't work with this config. I also tried 6101ef51 (which is currently in the AUR PKGBUILD of awesome-git) but that also doesn't work. I'm getting the following error:

error while running function!
stack traceback:
	[C]: in function 'require'
	/home/tamas/.config/awesome/components/notifications.lua:16: in main chunk
	[C]: in function 'require'
	/home/tamas/.config/awesome/rc.lua:31: in main chunk
error: /home/tamas/.config/awesome/components/notifications.lua:16: module 'ruled' not found:
	no field package.preload['ruled']
	no file '/usr/local/share/lua/5.3/ruled.lua'
	no file '/usr/local/share/lua/5.3/ruled/init.lua'
	no file '/usr/local/lib/lua/5.3/ruled.lua'
	no file '/usr/local/lib/lua/5.3/ruled/init.lua'
	no file '/usr/share/lua/5.3/ruled.lua'
	no file '/usr/share/lua/5.3/ruled/init.lua'
	no file './ruled.lua'
	no file './ruled/init.lua'
	no file '/home/tamas/.config/awesome/ruled.lua'
	no file '/home/tamas/.config/awesome/ruled/init.lua'
	no file '/etc/xdg/xdg-awesome/awesome/ruled.lua'
	no file '/etc/xdg/xdg-awesome/awesome/ruled/init.lua'
	no file '/etc/xdg/awesome/ruled.lua'
	no file '/etc/xdg/awesome/ruled/init.lua'
	no file '/usr/local/share/awesome/lib/ruled.lua'
	no file '/usr/local/share/awesome/lib/ruled/init.lua'
	no file '/usr/local/lib/lua/5.3/ruled.so'
	no file '/usr/lib/x86_64-linux-gnu/lua/5.3/ruled.so'
	no file '/usr/lib/lua/5.3/ruled.so'
	no file '/usr/local/lib/lua/5.3/loadall.so'
	no file './ruled.so'
	no file '/home/tamas/.config/awesome/ruled.so'
	no file '/etc/xdg/xdg-awesome/awesome/ruled.so'
	no file '/etc/xdg/awesome/ruled.so'
	no file '/usr/local/share/awesome/lib/ruled.so'

This is pretty hard to google, but it seems like this is a part of awesome that's removed/renamed in more recent versions. So what's the latest version (git SHA) of awesome that works with this config?

@sztomi
Copy link
Author

sztomi commented May 3, 2020

FWIW, the error I get with master is different:

2020-05-03 18:36:20 W: awesome: luaA_dofunction:78: error while running function!
stack traceback:
	/usr/local/share/awesome/lib/awful/screen.lua:344: in function 'awful.screen.preferred'
	/home/tamas/.config/awesome/components/notifications.lua:167: in local 'func'
	/usr/local/share/awesome/lib/gears/object.lua:190: in function 'naughty.core.emit_signal'
	/usr/local/share/awesome/lib/naughty/notification.lua:1204: in function </usr/local/share/awesome/lib/naughty/notification.lua:1109>
	(...tail calls...)
	/home/tamas/.config/awesome/components/notifications.lua:107: in local 'func'
	/usr/local/share/awesome/lib/gears/object.lua:190: in function 'naughty.core.emit_signal'
	/usr/local/share/awesome/lib/naughty/init.lua:83: in function </usr/local/share/awesome/lib/naughty/init.lua:75>
	[C]: in metamethod '__index'
	/usr/local/share/awesome/lib/awful/screen.lua:344: in function 'awful.screen.preferred'
	/home/tamas/.config/awesome/components/notifications.lua:167: in local 'func'
	/usr/local/share/awesome/lib/gears/object.lua:190: in function 'naughty.core.emit_signal'
	/usr/local/share/awesome/lib/naughty/notification.lua:1204: in function </usr/local/share/awesome/lib/naughty/notification.lua:1109>
	(...tail calls...)
	/home/tamas/.config/awesome/components/wallpaper.lua:46: in main chunk
	[C]: in function 'require'
	/home/tamas/.config/awesome/rc.lua:36: in main chunk
error: /usr/local/share/awesome/lib/awful/screen.lua:344: attempt to index a nil value (local 'c')
error while running function!
stack traceback:
	/usr/local/share/awesome/lib/awful/screen.lua:344: in function 'awful.screen.preferred'
	/home/tamas/.config/awesome/components/notifications.lua:167: in local 'func'
	/usr/local/share/awesome/lib/gears/object.lua:190: in function 'naughty.core.emit_signal'
	/usr/local/share/awesome/lib/naughty/notification.lua:1204: in function </usr/local/share/awesome/lib/naughty/notification.lua:1109>
	(...tail calls...)
	/home/tamas/.config/awesome/components/wallpaper.lua:46: in main chunk
	[C]: in function 'require'
	/home/tamas/.config/awesome/rc.lua:36: in main chunk
error: /usr/local/share/awesome/lib/awful/screen.lua:344: attempt to index a nil value (local 'c')

@WillPower3309
Copy link
Owner

Thanks for the report! Previously the awesome-git package in the AUR worked perfectly, it would appear that awesome recently updated the API, effectively borking my config. Ill work on updating it this evening!

@WillPower3309 WillPower3309 self-assigned this May 5, 2020
@WillPower3309 WillPower3309 added the bug Something isn't working label May 5, 2020
@sztomi
Copy link
Author

sztomi commented May 6, 2020

Thanks! I think any -git package, by definition is a moving target. So it's better to pinpoint a SHA or tag if possible.

@WillPower3309
Copy link
Owner

WillPower3309 commented May 21, 2020

This is taking a lot longer than i anticipated, I'm essentially recreating the config piece by piece on the most recent non git branch (this will ensure stability and allow non arch distros to run it without compiling from github). That being said, have made a lot of progress and am aiming to push the new version out on friday

@WillPower3309
Copy link
Owner

WillPower3309 commented May 23, 2020

Looking like it will be a sunday release, all that is left to do it the left panel, however the icons are being difficult

Current changes are on branch 4.3

@WillPower3309 WillPower3309 linked a pull request May 26, 2020 that will close this issue
Merged
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

Successfully merging a pull request may close this issue.

2 participants