yaf icon indicating copy to clipboard operation
yaf copied to clipboard

Yaf on windows can't read kernel

Open Zakaria-ouertani opened this issue 2 years ago • 8 comments

When i run yaf it says : couldn't read kernel version error occurred while reading uptime file couldn't read the memory file

@PowerEdgeT100 ━━━━━━━━━━━━━━

▪ kernel not found ▪ shell ▪ uptime ▪ memory ▪ disk ▪ os windows

This happens even if i give it "-exclude kernel"

https://user-images.githubusercontent.com/75418838/150651464-cae9d1db-5ff2-4b75-a21f-1af07583d02b.mp4

Zakaria-ouertani avatar Jan 22 '22 18:01 Zakaria-ouertani

Seriously? I think that is pretty much a joke. this program only works on nix systems

imhemish avatar Jan 22 '22 19:01 imhemish

Seriously? I think that is pretty much a joke. this program only works on nix systems

Nice attitude :/

i mean even neofetch works on windows...

Zakaria-ouertani avatar Jan 22 '22 20:01 Zakaria-ouertani

@Zakaria-ouertani I didn't get a chance to test this on Windows but yes, Windows support is scarce right now because of how the system data is read, it's coupled for *nix systems.

deepjyoti30 avatar Jan 23 '22 06:01 deepjyoti30

I am getting the same error on a macOS 12.1.0 Monterey: likewise, uptime and memory are left black. It is probably due to this path and this path not being correct on other systems?

gennaro-tedesco avatar Jan 23 '22 11:01 gennaro-tedesco

@Zakaria-ouertani I didn't get a chance to test this on Windows but yes, Windows support is scarce right now because of how the system data is read, it's coupled for *nix systems.

Ok 👌

Zakaria-ouertani avatar Jan 23 '22 11:01 Zakaria-ouertani

@gennaro-tedesco MacOS support will be added in the next release. uptime and kernel version detection is already added. Memory detection will be added shortly and it will be ready for a release!

You can check out the latest commits of the feat/macos-support branch

deepjyoti30 avatar Feb 04 '22 18:02 deepjyoti30

Awesome, can't wait to try it out!

gennaro-tedesco avatar Feb 04 '22 19:02 gennaro-tedesco

@gennaro-tedesco Memory detection is now added, you can try it out if you want or wait for the next release (should be soon!)

deepjyoti30 avatar Feb 05 '22 14:02 deepjyoti30