attempt to index local 'awesompd' (a boolean value)
mqus opened this issue · 2 comments
i have the exact same issue as maniqui (#26)
except my lua version is 5.1 (awesome 3.4 from ubuntu repo):
/home/markus/.config/awesome/rc.lua:212: attempt to index local 'awesompd' (a boolean value)
line 212 (copied the lines from http://awesome.naquadah.org/wiki/Awesompd/3.4):
musicwidget = awesompd:create() -- Create awesompd widget
i used the awesompd for awesome 3.4 (the master branch returned another error)
i had no time to figure out the lua console yet. (i'm a total newb to lua, just used it for awesome)
i figured it out, the lines in the wiki are just wrong, right in the first line there is
local awesompd=require("awesompd/awesompd")
i changed it to
require("awesompd/awesompd")
and it works, thanks anyway :)
Hello,
Sorry I had little time to look into this issue. It is great that you managed to resolve the issue yourself. Although I'm not sure this solution will work for Awesome 3.4/Lua 5.2 if anyone uses that. Perhaps the wiki version can stay like you've changed it until something runs into the reverse issue.