zk-phi / symon

Tiny graphical system monitor
289 stars 26 forks source link

Error running timer: (void-variable memavailable) #40

Open testinggithub1222 opened 5 years ago

testinggithub1222 commented 5 years ago

I am running emacs on ubuntu 18.04 lte minimal and got this error. I have tried checking " cat /proc/meminfo " and i got output as following:

MemTotal:        8076796 kB
MemFree:         1658856 kB
MemAvailable:    4415608 kB
Buffers:         1053868 kB
Cached:          2060788 kB
SwapCached:            0 kB
Active:          4082964 kB
Inactive:        1523712 kB
Active(anon):    2475552 kB
Inactive(anon):   573852 kB
Active(file):    1607412 kB
Inactive(file):   949860 kB
Unevictable:         112 kB
Mlocked:             112 kB
SwapTotal:      23068664 kB
SwapFree:       23068664 kB
Dirty:               492 kB
Writeback:             0 kB
AnonPages:       2492164 kB
Mapped:           676532 kB
Shmem:            557384 kB
Slab:             625964 kB
SReclaimable:     506296 kB
SUnreclaim:       119668 kB
KernelStack:       17520 kB
PageTables:        77000 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:    27107060 kB
Committed_AS:   12399852 kB
VmallocTotal:   34359738367 kB
VmallocUsed:           0 kB
VmallocChunk:          0 kB
HardwareCorrupted:     0 kB
AnonHugePages:     20480 kB
ShmemHugePages:        0 kB
ShmemPmdMapped:        0 kB
CmaTotal:              0 kB
CmaFree:               0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
DirectMap4k:      382072 kB
DirectMap2M:     6866944 kB
DirectMap1G:     2097152 kB

Please let me know how can i fix this error because it always float and so annoying.

pierceglenn12345 commented 3 years ago

Also getting this error with Ubuntu 20 and emacs 27.2. Also getting the same problem when loading emojify. might share a similar root cause?

pierceglenn12345 commented 3 years ago

Not sure about the original poster, but once I sent this I realized the problem. I loaded this package through guix. After deleting and re-downloading through melpa, the problem resolves. I'll leave open in case there are other issues.

esko997 commented 2 years ago

Having the same issue when getting symon via straight.el.

Per @pierceglenn12345, when installing with MELPA I have no issues.

EDIT: Maybe there is a regression in git master?

For more info, I am running Void Linux and have expected cat /proc/meminfo behavior.

stanleyjwpp commented 2 years ago

see fix here: https://gitlab.com/stanleyj/symon/-/commit/fe180ab1fde1a90b47635be5b4c96c7feb71205c