Skip to content

lua-lgi-0.9.2-12 breaks lain widgets in awesome wm

Description:

While 0.9.2-12 may have fixed one awesome-wm issue, it also completely breaks the lain widgets from the AUR lain-git package. I had to disable every widget in rc.lua and remove the lain-git package before awesome-wm could start properly.

The errors I got were like this:

error while running function!
stack traceback:
    /usr/share/awesome/lib/awful/spawn.lua:485:in function 'awful.spawn.with_line_callback'
    (...tail calls...)
    /usr/share/lua/5.3/lain/widget/net.lua:36: in field 'get_devices'
    /usr/share/lua/5.3/lain/widget/net.lua:41: in function 'lain.widget.net'
    /home/madmax/.config/awesome/rc.lua:554: in main chunk
error: /usr/share/awesome/lib/awful/spawn.lua:485: attempt to index a nil value (field *UnixInputStream")

Additional info:

  • package version(s): lua-lgi-0.9.2-12 lua53-lgi-0.9.2-12 awesome-4.3-5
  • config and/or log files:
  • link to upstream bug report, if any:

Steps to reproduce:

  1. Step 1
  2. Step 2
  3. ...
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information