Hello Mohsen,

>From awesome 3.5, you have to assign variables to modules you load.
I think this is part of a more clean architecture as modules instead of
global everywhere.
I suspect you have:

require("wibox")
where it should now be:

local wibox = require("wibox")

Hoping this will help you
Best regards

2015-10-01 18:47 GMT+02:00 Mohsen Pahlevanzadeh <moh...@pahlevanzadeh.org>:

> Dear All,
>
> I have the following lua code:
>
> ---------------
> mywidget = wibox.widget.textbox()
> ----------------
> Then I get the following error:
>
> -----------------
> attempt to index global 'wibox' (a nil value)
> -----------------
>
> 1. What's the given error?
> 2. How can solve it?
>
> Note: I use awesome 3.5
>
> --Best regards
> Mohsen
>
> --
> To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.
>

Reply via email to