raexera / yoru

A custom Linux environment built on AwesomeWM
GNU General Public License v3.0
3.48k stars 198 forks source link

attempt to concatenate a nil value (local 'color') [Bug] #164

Closed iChristwin closed 1 year ago

iChristwin commented 1 year ago

Ran into a an error after installation and restarting awesomewm. Unable to apply the Yoru's configs to awesomewm. I have no idea how to resolve the error on my own. Any help would be appreciated 🙂.

stack traceback: /home/ichristwin/.config/awesome/helpers/ui.lua:12: in function 'helpers.ui.colorize_text' ...istwin/.config/awesome/modules/lockscreen/lockscreen.lua:172: in upvalue 'activate_word' ...istwin/.config/awesome/modules/lockscreen/lockscreen.lua:188: in upvalue 'reset_time' ...istwin/.config/awesome/modules/lockscreen/lockscreen.lua:202: in local 'func' /usr/share/awesome/lib/gears/object.lua:164: in function 'modules.animation.emit_signal' [C]: in function 'xpcall' /usr/share/awesome/lib/gears/protected_call.lua:41: in function </usr/share/awesome/lib/gears/protected_call.lua:40> (...tail calls...) /usr/share/awesome/lib/gears/timer.lua:103: in function </usr/share/awesome/lib/gears/timer.lua:102> 2023-01-02 13:29:04 E: awesome: Error during a protected call: /home/ichristwin/.config/awesome/helpers/ui.lua:12: attempt to concatenate a nil value (local 'color') 2023-01-02_13-44

iChristwin commented 1 year ago

I was able to apply Yoru to Awesomewm after I discovered and followed the instructions in this closed issue --> #68 Checked the stderr again and discovered the error and traceback from earlier are gone.

However, there some logs saying 2023-01-02 21:32:55 W: awesome: xerror:1058: X error: request=GrabButton (major 28, minor 0), error=BadValue (2)

I have no idea if it's something that requires your attention or not, so please go ahead and close this issue if it's nothing important.

Yoru works for me now and I really appreciate it <3

image