Hi, I know next to nothing about lua but it seems that in the clock_rings.lua script, the lua function "tonumber" does not work.
This is the function that is problematic: function conky_clock_rings() local function setup_rings(cr,pt) local str='' local value=0 str=string.format('${%s %s}',pt['name'],pt['arg']) str=conky_parse(str) value=tonumber(str) pct=value/pt['max'] draw_ring(cr,pct,pt) end The str is fine and I could print it out but the conversion to number always returns nill. When I put print(str), print(tobumber(str)) and print(tonumber('11.24')) this was the output: 11.48 nill nill But when I run lua in my terminal func tonumber('11.24') does return 11.24 as number. Any ideas? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1499828 Title: conky themes & lua rings not working in 15.04 and 15.10 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/conky/+bug/1499828/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs