Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

${top mem 1} reports inf when used without $mem or $swap #960

Closed
simotek opened this issue Apr 14, 2020 · 9 comments
Closed

${top mem 1} reports inf when used without $mem or $swap #960

simotek opened this issue Apr 14, 2020 · 9 comments
Labels
bug Bug report or bug fix PR

Comments

@simotek
Copy link
Contributor

simotek commented Apr 14, 2020

Issue
As per the title ${top mem 1} reports inf when used without $mem or $swap

Information

This issue was reported on openSUSE Tumbleweed which is using conky 1.11.5 but with the fix for #878 backported if this issue doesn't happen in conky from git I guess I need to figure out what else to backport.

Broken Config extract:

conky.text = [[
${color grey}Name              PID   CPU%   MEM%
${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
]]

Working Config Extract:

conky.text = [[
$mem
$hr
${color grey}Name              PID   CPU%   MEM%
${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
]]

Downstream bug report: https://bugzilla.opensuse.org/show_bug.cgi?id=1169363

@simotek simotek changed the title ${top mem 1} reports inf when used without %mem or %swap ${top mem 1} reports inf when used without $mem or $swap Apr 14, 2020
@micrococo
Copy link

I'm using openSUSE Tumbleweed and I built conky from git because of this. The issue is still present without the $men workaround.

@terpentin4code
Copy link

terpentin4code commented Jun 17, 2020

Hi, I can confirm failure occur on Manjaro 20.0.3 as well. Same conky version as described (1.11.5) in place.

06:34:46-$ uname -r
5.4.44-1-MANJARO
06:34:54-
$ ipaclistinstalled |grep -i conky
conky 1.11.5+2+g0d449029-1

In case further information is required, let me know ;-)

@ernesto1
Copy link

I'm on 1.11.6_pre on fedora 31 and I have the same problem with ${top_mem mem 1} evaluating to inf as well.

@renyhp
Copy link

renyhp commented Oct 12, 2020

I have 1.11.7_pre on Ubuntu 20.04, and have this issue too. I just built conky from git; IIRC on the ppa version there was no such issue.

@github-actions
Copy link

This issue is stale because it has been open 365 days with no activity. Remove stale label or comment, or this issue will be closed in 30 days.

@github-actions github-actions bot added the Stale Issue that requires attention because it hasn't been updated for over a year label Mar 26, 2023
@github-actions
Copy link

This issue was closed because it has been stalled for 30 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 26, 2023
@bi4k8
Copy link
Collaborator

bi4k8 commented Apr 26, 2023

I can confirm this bug.

@bi4k8 bi4k8 reopened this Apr 26, 2023
@github-actions github-actions bot removed the Stale Issue that requires attention because it hasn't been updated for over a year label Apr 27, 2023
@ernesto1
Copy link

ernesto1 commented Feb 2, 2024

Not quite a solution but if your distro allows it, downgrade conky to version 1.11.5. This is the last known version where this bug does not exist.

@Caellian Caellian added the bug Bug report or bug fix PR label Apr 12, 2024
@Caellian
Copy link
Collaborator

This seems to be addressed by #1518, as noted in #1036. Closing. Leave a comment to reopen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug report or bug fix PR
Projects
None yet
Development

No branches or pull requests

7 participants