You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is my first bug report so if I make any mistake please guide me.
Describe the bug
OS: Arch Linux
Kernel: 6.12.6-arch1-1
Device: Asus VivoBook X415EA
I use the minimal example provided in the document with sysinfo 0.33 and the components list is empty. However the same code works if the crate is down graded to 0.32.1 and the result contains:
I think I figured out the bug, it is the wrong logic when checking that the DirEntry is a file and not a directory in the method from_hwmon(). The current code is:
if !entry.file_type().is_ok_and(|file_type| file_type.is_dir()){continue;}
While the correct one should be:
if !entry.file_type().is_ok_and(|file_type| !file_type.is_dir()){continue;}
This is my first bug report so if I make any mistake please guide me.
Describe the bug
OS: Arch Linux
Kernel: 6.12.6-arch1-1
Device: Asus VivoBook X415EA
I use the minimal example provided in the document with sysinfo 0.33 and the components list is empty. However the same code works if the crate is down graded to 0.32.1 and the result contains:
Version 0.33 can partially work if I refresh the components list once more after it is created, but only contains:
To Reproduce
The minimal example from the document is:
This code produces empty list for version 0.33 but works fine with version 0.32.1
The code that partial works for 0.33 is:
The text was updated successfully, but these errors were encountered: