Conky-for-macOS / conky-for-macOS

macOS port of the Light-weight system monitor for X.
https://github.com/Conky-for-macOS/conky-for-macOS/wiki
GNU General Public License v3.0
157 stars 9 forks source link

unable to load the 'mem' file of the 'Conky Rings' project #16

Closed npyl closed 6 years ago

npyl commented 6 years ago

Downloaded the project from: link

Converted the 'mem' file to the new (1.10) conky syntax but once it starts it fails with the error: Floating point exception: 8

(By commenting out the lines use_xft = true, xftalpha = 0.8, the error disappears but still the 'mem' file doesn't appear on screen (it crashes without printing error message). By calling the command conky -t '${top_mem mem 1}' it shows the same error! )

npyl commented 6 years ago

UPDATE: it seems like info.cpu_count is not initialised when used in calc_cpu_total(). This can easily be fixed by adding the call get_cpu_count() at the beginning of get_top_info().

I will look into it a bit more and see for the optimal solution! ( in order to conform with linux implementation for example )

npyl commented 6 years ago

Now we can uncomment the lines use_xft = true, xftalpha = 0.8,... It works just fine!

npyl commented 6 years ago

Proof it works

proof

npyl commented 6 years ago

Issue has been fixed