Closed ExecutorElassus closed 6 months ago
Add require 'cairo_xlib'
. See https://github.com/brndnmtthws/conky/issues/1867.
Sorry, my mistake (I posted the gentoo USE flags for 1.19.1, not 1.21.1). If I un-block 1.21.1, these are the USE flags:
# emerge -pv conky
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 11.29 s (backtrack: 1/20).
[ebuild U ] app-admin/conky-1.21.1::gentoo [1.19.8::gentoo] USE="X bundled-toluapp colour-name-map%* curl hddtemp iconv imlib lua-cairo lua-cairo-xlib%* lua-imlib lua-rsvg ncurses portmon rss truetype wayland -apcupsd -cmus -doc -extras -ical -intel-backlight -iostats -irc -math -moc -mpd -mysql -nvidia -pulseaudio -systemd -test -thinkpad -webserver -wifi -xinerama -xmms2" LUA_SINGLE_TARGET="lua5-4" 0 KiB
Total: 1 package (1 upgrade), Size of downloads: 0 KiB
As you can see, lua-cairo-xlib is included. This does not resolve the issue (ie, I still get this error).
whoops, sorry I misunderstood what you meant. I've added require 'cairo_xlib'
at the top of the .lua file right below require 'cairo'
and BOOM now it works.
Thanks for sorting me out.
You helped me also. Thank you, you are the legend until the day you die. Love you.
What happened?
On conky-1.21.1, the following function:
fails to draw the various graphs on my conky setup. I get the following error:
Downgrading to conky stable (1.19.8) works around the problem.
I'm using conky on gentoo Linux. My settings are:
Do I need to update the syntax here? Or is there something else wrong?
Version
1.21.1
Which OS/distro are you seeing the problem on?
Gentoo
Conky config
No response
Stack trace
No response
Relevant log output
No response