Results 1 to 6 of 6

Thread: Conky problem with cairo engine. Please help

  1. #1

    Default 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.

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,254
    Blog Entries
    15

    Default Re: Conky problem with cairo engine. Please help

    Quote Originally Posted by greekleo
    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.

    -> no file '/usr/local/share/lua/5.1/cairo.lua'
    Hi
    How did you install conky, via rpm? If it's the default one, does it
    have the cairo and lua bindings active?
    [/CODE]
    conky -v
    [/CODE]
    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


  3. #3
    Join Date
    Nov 2010
    Location
    Youngstown, OH
    Posts
    155

    Default Re: Conky problem with cairo engine. Please help

    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.

  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,254
    Blog Entries
    15

    Default Re: Conky problem with cairo engine. Please help

    Hi
    @Habitual, that version has them disabled;
    https://build.opensuse.org/package/v...e974f364c3af5c

    My version on OBS has it enabled, plus nvidia.
    https://build.opensuse.org/package/v...edf00991a3ace6
    Code:
    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
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  5. #5
    Join Date
    Nov 2010
    Location
    Youngstown, OH
    Posts
    155

    Default Re: Conky problem with cairo engine. Please help

    IDK then.
    I rarely use cairo stuff anymore.

    Sorry about that.

  6. #6
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,254
    Blog Entries
    15

    Default Re: Conky problem with cairo engine. Please help

    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.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •