Menu

#323 conky 1.8.1 apcupsd not recognized anything

open
nobody
Code (277)
5
2014-10-06
2010-10-08
Anonymous
No

Conky 1.8.1 don't recognized anything about apcupsd.

I use

${apcupsd localhost 3551}${color0}Autonomia:${apcupsd_timeleft}m ${alignr}Capacità: ${apcupsd_charge}%
${color0}Carico:${apcupsd_load}%

Discussion

  • pavelo

    pavelo - 2010-10-15
    • status: open --> closed-invalid
     
  • pavelo

    pavelo - 2010-10-15

    your conky was probably compiled without apcupsd support. Look at the output of "conky -v" to verify. If your distro doesn't provide that, you'll have to compile conky from source.

     
  • pavelo

    pavelo - 2010-12-19

    reopening because <https://bugs.archlinux.org/task/22010> seems to indicate this is our bug

    i didn't see the attachment, sorry.
    i'll take a look at this as soon as i find some time.
    in the meantime try, to explain what does "don't recognize" mean... what does the output look like? does conky print something to the console, etc.

    ps: are you sure you weren't able to comment this bug? i thought i left that open....

     
  • pavelo

    pavelo - 2010-12-19
    • status: closed-invalid --> open
     
  • Anonymous

    Anonymous - 2011-03-19

    same bug -
    ${apcupsd localhost 3551}${color0}Autonomia:${apcupsd_timeleft}m ${alignr}Capacità: ${apcupsd_charge}%
    ${color0}Carico:${apcupsd_load}%

    shows N/A for all fields.

    > conky -v | grep apc
    * apcupsd
    >

    Here is original link - https://bugs.archlinux.org/task/22010
    Seems author solved it by downgrading to 1.8.0.

    Priority of this issue should be "stopper", cos apcupsd seems completely doesn't work in conky 1.8.1

     

    Last edit: Anonymous 2016-10-21
  • Nobody/Anonymous

    Still broken with 1.8.2-r1. I'm running Gentoo on an Intel box. I fell back to version 1.8.0.-r1 to get things to work again.

     
  • Vincent C.

    Vincent C. - 2011-12-02

    This bug is also present in Debian & Ubuntu's version of conky, where apcupsd support is compiled in. Launchpad bug report can be found at:

    https://bugs.launchpad.net/bugs/897495

     
  • Matthias Czapla

    Matthias Czapla - 2012-04-10

    All the apcupsd_* variables print "N/A", there is nothing printed on the console, even with -DD. I had to specify ${apcupsd localhost 3551} even though this should be the default, but w/o this it would constantly print "Conky: APCUPSD getaddrinfo: Name or service not known" to the console. This is with conky 1.8.1 running on Ubuntu 11.10 x64. The Ubuntu bug report https://bugs.launchpad.net/ubuntu/+source/conky/+bug/897495 says they patched it by reverting back to the 1.8.0 apcupsd code.

    Conky 1.8.1 compiled Wed Aug 10 16:02:54 UTC 2011 for Linux 2.6.24-27-server (x86_64)

    Compiled in features:

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

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

    Music detection:
    * MPD
    * MOC

    General:
    * math
    * hddtemp
    * portmon
    * Curl
    * RSS
    * Weather (METAR)
    * Weather (XOAP)
    * wireless
    * support for IBM/Lenovo notebooks
    * nvidia
    * eve-online
    * config-output
    * Imlib2
    * apcupsd
    * iostats
    * ncurses
    * Lua

    Lua bindings:
    * Cairo
    * Imlib2

     
  • pavelo

    pavelo - 2012-06-05

    lalert: lemme check if I understand you correctly.

    if you don't specify $apcupsd it prints N/A, but when you specify the values manually, it works correctly. Is that right?

    If true, then this bug should be pretty easy to fix. (The reason that this isnt fixed is because I don't have the ability to test it, but fixing default values should be doable)

     
  • Matthias Czapla

    Matthias Czapla - 2012-06-07

    No, I wasn't clear enough I'm afraid. The getaddrinfo messages are an additional minor problem. It prints N/A in *any* case, i.e. with or without $apcupsd.

     
  • Jim Nutt

    Jim Nutt - 2013-09-07

    This is still happening in 1.9.0, I'm a bit surprised since debian patched it over a year ago

     
  • SinClaus

    SinClaus - 2014-10-06

    ArchLinux, conky 1.9.0-4
    String "${apcupsd localhost 3551} UPS $apcupsd_model on $apcupsd_cable charge ${apcupsd_charge UPS1}" still returns all N/A

     

Log in to post a comment.