I am getting the error error: .../romildo/.config/awesome/radical/layout/vertical.lua:200: attempt to compare string with number when trying to show a menu based on the example from the README.md.
Here is the relevant part of my configuration file rc.lua:
local menu = radical.context{}
menu:add_item {text="Item 1"}
menu:add_item {text="Item 2"}
local mytextbox = wibox.widget.textbox("MENU")
mytextbox:set_menu(menu,1)
left_layout:add(mytextbox)
When mouse button 1 is pressed over the textbox, the following error is reported:
stack traceback:
.../romildo/.config/awesome/radical/layout/vertical.lua:200: in function 'compute_geo'
.../romildo/.config/awesome/radical/layout/vertical.lua:244: in function 'fit'
/home/romildo/.config/awesome/radical/base.lua:409: in function 'setter'
/home/romildo/.config/awesome/radical/object.lua:60: in function </home/romildo/.config/awesome/radical/object.lua:55>
/home/romildo/.config/awesome/radical/init.lua:29: in function 'press'
/usr/share/awesome/lib/awful/button.lua:42: in function </usr/share/awesome/lib/awful/button.lua:42>
[C]: in function 'emit_signal'
/usr/share/awesome/lib/wibox/widget/base.lua:59: in function </usr/share/awesome/lib/wibox/widget/base.lua:27>
(tail call): ?
/usr/share/awesome/lib/gears/object.lua:68: in function 'emit_signal'
/usr/share/awesome/lib/wibox/drawable.lua:279: in function </usr/share/awesome/lib/wibox/drawable.lua:273>
error: .../romildo/.config/awesome/radical/layout/vertical.lua:200: attempt to compare string with number
What may I be missing?
I am getting the error
error: .../romildo/.config/awesome/radical/layout/vertical.lua:200: attempt to compare string with numberwhen trying to show a menu based on the example from theREADME.md.Here is the relevant part of my configuration file
rc.lua:When mouse button 1 is pressed over the textbox, the following error is reported:
What may I be missing?