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.27k stars 620 forks source link

[Bug]: conky: unknown variable '$rss' #1861

Closed Adspectus closed 6 months ago

Adspectus commented 6 months ago

What happened?

I tried to use rss in an existing working conky configuration, but the output just shows ${rss}. In the log, conky said unknown variable '$rss'. I noticed that on my Ubuntu 22.04 installation there is a rather outdated version of conky ("conky 1.12.2 compiled 2022-02-23 for Linux x86_64"), so I installed the newest AppImage but even with that, the message is the same.

Version

1.12.2 and 1.20.2

Which OS/distro are you seeing the problem on?

Ubuntu

Conky config

conky -t '${rss https://www.heise.de/security/rss/news.rdf 60 item_titles 10}' -o -u 30 -x 10

Stack trace

No response

Relevant log output

conky: desktop window (0x800015) is subwindow of root window (0x3cc)
conky: window type - desktop
conky: drawing to created window (0x1a00002)
conky: drawing to double buffer
conky: unknown variable '$rss'
conky: FOUND: console
conky: FOUND: ncurses
conky: FOUND: file
conky: FOUND: http
conky: FOUND: x11
conky: FOUND: wayland
conky: 'ubuntu' wayland session running 'ubuntu:GNOME' destop
conky: can't open /sys/class/power_supply/BAT0/uevent: Datei oder Verzeichnis nicht gefunden
conky: can't open /proc/acpi/battery/BAT0/state: Datei oder Verzeichnis nicht gefunden
conky: can't open /proc/apm: Datei oder Verzeichnis nicht gefunden
brndnmtthws commented 6 months ago

What does conky -v display? Do you see * RSS?

Adspectus commented 6 months ago

No, I do not see it. Neither with 1.12.2:

conky 1.12.2 compiled 2022-02-23 for Linux x86_64

Compiled in features:

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

 General:
  * math
  * hddtemp
  * portmon
  * IPv6
  * Curl
  * Weather (METAR)
  * wireless
  * support for IBM/Lenovo notebooks
  * builtin default configuration
  * old configuration syntax
  * Imlib2
  * OSS mixer support
  * apcupsd
  * iostats
  * ncurses
  * Internationalization support
 X11:
  * Xdamage extension
  * Xinerama extension (virtual display)
  * Xshape extension (click through)
  * XDBE (double buffer extension)
  * Xft
  * ARGB visual
  * Own window
  * HSV Gradient

 Music detection:
  * CMUS
  * MPD
  * MOC

 Default values:
  * Netdevice: eno1
  * Local configfile: $HOME/.conkyrc
  * Localedir: /usr/share/locale
  * Maximum netdevices: 256
  * Maximum text size: 16384
  * Size text buffer: 256

Nor with 1.20.2:

conky 1.20.2 compiled for Linux x86_64

Compiled in features:

System config file: /etc/conky/conky.conf
Package library path: /tmp/AppImageLauncher-build-pUPl5C/AppDir/usr/lib/conky

 General:
  * math
  * hddtemp
  * portmon
  * HTTP
  * IPv6
  * IRC
  * ICal
  * iconv
  * MySQL
  * wireless
  * support for IBM/Lenovo notebooks
  * nvidia
  * builtin default configuration
  * old configuration syntax
  * Imlib2
  * OSS mixer support
  * apcupsd
  * iostats
  * ncurses
  * Internationalization support
  * PulseAudio

 Lua bindings:
  * Cairo
  * Imlib2
 X11:
  * Xdamage extension
  * Xinerama extension (virtual display)
  * Xshape extension (click through)
  * XDBE (double buffer extension)
  * Xft
  * Xinput
  * ARGB visual
  * Own window
  * Mouse events
 Wayland:
  * ARGB visual
  * Mouse events

 Music detection:
  * Audacious
  * CMUS
  * MPD
  * MOC
  * XMMS2

 Default values:
  * Netdevice: eno1
  * Local configfile: $HOME/.conkyrc
  * Localedir: /tmp/AppImageLauncher-build-pUPl5C/AppDir/usr/share/locale
  * HTTP-port: 10080
  * Maximum netdevices: 256
  * Maximum text size: 16384
  * Size text buffer: 256
brndnmtthws commented 6 months ago

Odd, the appimage should have it, but there could be a regression somewhere.

brndnmtthws commented 6 months ago

Looks like the behaviour was changed in 4936c74, previously it would enable cURL if RSS was enabled, but now it doesn't do that anymore.

Caellian commented 6 months ago

Related to #1846.