brndnmtthws / conky

Light-weight system monitor for X, Wayland (sort of), and other things, too
https://conky.cc
GNU General Public License v3.0
7.17k stars 615 forks source link

Problem with the function " lua gradbar ", please help.SOLVED! #1099

Closed Special-Niewbie closed 1 year ago

Special-Niewbie commented 3 years ago

System OS

Ubuntu 21.04

Issue

I don't know why on Ubuntu, everything it works, except and I have the problem with the function lua gradbar?! In Debian it works but on Ubuntu doesn't, I need the function lua gradbar to work the graphical bar with my widget, some one it has the solution on that?

The error from terminal seems this:

conky: llua_do_call: function conky_gradbar execution failed: allcombined.lua:19: attempt to call a nil value (global 'loadstring')

SOLUTION: To whom will have the same problem of the Graphical Bars that doesn't show or doesn't work, go into your downloaded Widget and on the principal lua file setting (that can have any name on the base of the widget project) go to find the line loadstring and change int load. This because, the loadstring function since Lua 5.2, has been replaced by load that it's vital to let work properly the Graphical Bars (CPU /GPU and so on) under the lua gradbar coding.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 365 days with no activity. Remove stale label or comment, or this issue will be closed in 30 days.

github-actions[bot] commented 1 year ago

This issue was closed because it has been stalled for 30 days with no activity.