iinsertNameHere / catnap

A highly customizable systemfetch written in nim
https://catnap-fetch.xyz
MIT License
118 stars 9 forks source link

[Bug]: nim install fails to build #125

Closed TheHerowither closed 1 month ago

TheHerowither commented 1 month ago

Describe the bug:

When i try to run nim install it fails with this error:

home/myname/Documents/tools/catnap/src/catnaplib/platform/fetch.nim(38, 21) template/generic instantiation of `capture` from here
/usr/lib/nim/lib/pure/sugar.nim(234, 11) Error: node lacks field: strVal

There is not much more to this, and i can't find out why this happens.

Device:

yuki-was-taken commented 1 month ago

Can't reproduce, it builds just find for me on a newly cloned repo.

TheHerowither commented 1 month ago

Interesting

TheHerowither commented 1 month ago

I found a temporary solution, however this fix causes the disk_0 to seg fault. To fix the issue i had to comment out line 38 thru 40 in catnap/src/catnaplib/platform/fetch.nim

yuki-was-taken commented 1 month ago

Seems like a problem with the disk stat, specifically getting the mount points.

iinsertNameHere commented 1 month ago

I can't reproduce this. This would be helpful to resolve this error