Conky problem with cairo engine. Please help

Hi,

im having problems running this conky script, i’ve done what the author said which is copy the files to the home directory, now when i run the files i get the error below, i have checked to see if i have the cairo engine installed and it’s installed fine, i am not sure where the problem stands.

greekleo@linux-7397:~> conky -c .conkyrc
Conky: llua_load: /home/greekleo/scripts/clock_rings.lua:109: module ‘cairo’ not found:
no field package.preload’cairo’]
no file ‘./cairo.lua’
no file ‘/usr/local/share/lua/5.1/cairo.lua’
no file ‘/usr/local/share/lua/5.1/cairo/init.lua’
no file ‘/usr/local/lib/lua/5.1/cairo.lua’
no file ‘/usr/local/lib/lua/5.1/cairo/init.lua’
no file ‘/usr/share/lua/5.1/cairo.lua’
no file ‘/usr/share/lua/5.1/cairo/init.lua’
no file ‘/usr/lib64/conky/libcairo.so’
no file ‘./cairo.so’
no file ‘/usr/local/lib/lua/5.1/cairo.so’
no file ‘/usr/lib64/lua/5.1/cairo.so’
no file ‘/usr/local/lib/lua/5.1/loadall.so’
Conky: desktop window (e000a7) is subwindow of root window (15a)
Conky: window type - override
Conky: drawing to created window (0x1e00001)
Conky: drawing to double buffer
Conky: llua_do_call: function conky_clock_rings execution failed: attempt to call a nil value
Conky: llua_do_call: function conky_clock_rings execution failed: attempt to call a nil value
Conky: llua_do_call: function conky_clock_rings execution failed: attempt to call a nil value
Conky: llua_do_call: function conky_clock_rings execution failed: attempt to call a nil value
Conky: llua_do_call: function conky_clock_rings execution failed: attempt to call a nil value
Conky: llua_do_call: function conky_clock_rings execution failed: attempt to call a nil value
Conky: llua_do_call: function conky_clock_rings execution failed: attempt to call a nil value
Conky: llua_do_call: function conky_clock_rings execution failed: attempt to call a nil value

Any help would be appreciated.

in terminal run conky -v
tell us the output especially the version and the listings under “Lua bindings:

What version of the rings.lua is this?
Have a gander at the CPS (The conky-pitstop)

I believe cairo functions are only available in conky > 1.8.x available as a 1-click install here…

Please let us know…

Thank you.

Hi
How did you install conky, via rpm? If it’s the default one, does it
have the cairo and lua bindings active?


conky -v

It’s looking in /usr/local for the files… that’s not the default for
an installed openSUSE rpm.


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.32.27-0.2-default
up 9 days 17:53, 2 users, load average: 0.08, 0.08, 0.03
GPU GeForce 8600 GTS Silent - Driver Version: 260.19.26

Hi
@Habitual, that version has them disabled;
https://build.opensuse.org/package/view_file?file=conky.spec&package=conky&project=openSUSE%3A11.3%3AContrib&srcmd5=929442125f19d02fbae974f364c3af5c

My version on OBS has it enabled, plus nvidia.
https://build.opensuse.org/package/view_file?file=conky.spec&package=conky&project=home%3Amalcolmlewis%3APython&srcmd5=ad49bcd937a55cf240edf00991a3ace6


Conky 1.8.1 compiled Fri Feb 11 17:28:58 UTC 2011 for Linux 2.6.32 (x86_64)

Compiled in features:

System config file: /etc/conky/conky.conf
Package library path: /usr/lib64/conky

 X11:
  * Xdamage extension
  * XDBE (double buffer extension)
  * Xft
  * ARGB visual

 Music detection:
  * MPD
  * MOC

 General:
  * math
  * hddtemp
  * portmon
  * wireless
  * nvidia
  * config-output
  * Imlib2
  * apcupsd
  * iostats
  * ncurses
  * Lua

  Lua bindings:
   * Cairo
   * Imlib2

IDK then.
I rarely use cairo stuff anymore.

Sorry about that.

No worries, not sure why they don’t just build tolua++ there is current discussion on Contrib’s role on the mailing lists and will probably be dropped. Once the dust settles from 11.4 release, I will probably push my version through including tolua++ and nvidia-settings.