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

Awesome theme not loading #6

Closed
dcfreire opened this issue Aug 29, 2019 · 4 comments
Closed

Awesome theme not loading #6

dcfreire opened this issue Aug 29, 2019 · 4 comments

Comments

@dcfreire
Copy link

dcfreire commented Aug 29, 2019

Hey! I'm trying to use your awesome theme but i keep running into problems. I've tried modifying some lines here and there, but since I'm not proeficient in lua I don't know if i'm doing it right. Here is the log of a fresh install of your theme on my machine

[1] 23728
2019-08-29 13:02:50 W: awesome: luaA_dofunction:78: error while running function!
stack traceback:
	/home/shi/.config/awesome/rc.lua:139: in function </home/shi/.config/awesome/rc.lua:135>
	[C]: in metamethod '__index'
	/usr/share/awesome/lib/naughty/core.lua:651: in function 'naughty.init.notify'
	/home/shi/.config/awesome/rc.lua:106: in function </home/shi/.config/awesome/rc.lua:103>
	[C]: in metamethod '__div'
	/home/shi/.config/awesome/yaawl/subject/temperature.lua:30: in method '_update'
	/home/shi/.config/awesome/yaawl/subject/init.lua:69: in method 'update'
	/home/shi/.config/awesome/yaawl/subject/temperature.lua:61: in function 'yaawl.temperature'
	/home/shi/.config/awesome/config/brokers.lua:126: in function 'config.brokers.init'
	/home/shi/.config/awesome/rc.lua:156: in main chunk
error: /home/shi/.config/awesome/rc.lua:139: attempt to concatenate a table value (local 'c')
error while running function!
stack traceback:
	/home/shi/.config/awesome/yaawl/subject/temperature.lua:30: in method '_update'
	/home/shi/.config/awesome/yaawl/subject/init.lua:69: in method 'update'
	/home/shi/.config/awesome/yaawl/subject/temperature.lua:61: in function 'yaawl.temperature'
	/home/shi/.config/awesome/config/brokers.lua:126: in function 'config.brokers.init'
	/home/shi/.config/awesome/rc.lua:156: in main chunk
error: /home/shi/.config/awesome/yaawl/subject/temperature.lua:30: attempt to perform arithmetic on a nil value
2019-08-29 13:02:50 W: awesome: luaA_dofunction:78: error while running function!
stack traceback:
	/home/shi/.config/awesome/rc.lua:139: in function </home/shi/.config/awesome/rc.lua:135>
	[C]: in metamethod '__index'
	/usr/share/awesome/lib/naughty/core.lua:651: in function 'naughty.init.notify'
	/home/shi/.config/awesome/rc.lua:106: in function </home/shi/.config/awesome/rc.lua:103>
	[C]: in metamethod '__concat'
	/home/shi/.config/awesome/rc.lua:139: in function </home/shi/.config/awesome/rc.lua:135>
	[C]: in metamethod '__index'
	/usr/share/awesome/lib/naughty/core.lua:651: in function 'naughty.init.notify'
	/etc/xdg/awesome/rc.lua:25: in main chunk
error: /home/shi/.config/awesome/rc.lua:139: attempt to concatenate a table value (local 'c')
2019-08-29 13:02:50 W: awesome: luaA_dofunction:78: error while running function!
stack traceback:
	/home/shi/.config/awesome/rc.lua:139: in function </home/shi/.config/awesome/rc.lua:135>
	[C]: in metamethod '__index'
	/usr/share/awesome/lib/naughty/core.lua:651: in function 'naughty.init.notify'
	/etc/xdg/awesome/rc.lua:25: in main chunk
error: /home/shi/.config/awesome/rc.lua:139: attempt to concatenate a table value (local 'c')
2019-08-29 13:02:50 W: awesome: a_glib_poll:438: Last main loop iteration took 0.100958 seconds! Increasing limit for this warning to that value.
2019-08-29 13:02:52 E: awesome: a_xcb_io_cb:402: X server connection broke (error 1)
@dcfreire
Copy link
Author

dcfreire commented Aug 29, 2019

I fixed one of the problems, the thermal path was not the same on my machine, I also commented out the weather widget since it was giving me problems too. But now I'm getting problems with the net widget. I have both wifi-menu and dialog installed

[1] 2570
error while running function!
stack traceback:
	/home/shi/.config/awesome/yaawl/subject/net.lua:48: in method '_update'
	/home/shi/.config/awesome/yaawl/subject/init.lua:69: in method 'update'
	/home/shi/.config/awesome/yaawl/subject/net.lua:75: in function 'yaawl.net'
	/home/shi/.config/awesome/config/brokers.lua:200: in function 'config.brokers.init'
	/home/shi/.config/awesome/rc.lua:156: in main chunk
error: /home/shi/.config/awesome/yaawl/subject/net.lua:48: attempt to index a nil value
2019-08-29 18:37:13 E: awesome: a_xcb_io_cb:402: X server connection broke (error 1)

@dcfreire
Copy link
Author

Alright, so I fixed all the errors by commenting out all instances of weather and changing the net widget to just check for wireless. But now all I'm getting when is a black screen with the "no updates" notification. No errors thrown

@dcfreire
Copy link
Author

Changed screens.lua line 41 to awful.screen.connect_for_each_screen(. That fixed it

@alfunx
Copy link
Owner

alfunx commented Sep 17, 2019

Changed screens.lua line 41 to awful.screen.connect_for_each_screen(. That fixed it

Oh absolutely, I'm using the current development version of Awesome, where this has been introduced.

Thanks for reporting this, I will have a look and maybe change things. The yaawl stuff is still pretty immature, so I'm sorry for the inconvenience. Also sorry for the late response, I have been on holidays.

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