Closed glitsj16 closed 8 months ago
Hi, Thank You for opening this Issue.
netscanner
is using external third-party applications for getting WiFi information. For Linux iw
and for MacOS airport
.
I will try to implement a parsing case for iwd
but now you may try to make an alias for iwd
to iw
. That may help for now.
In the future, I will make better parsing and handling errors from parsing those outputs. In the next version of course.
Added a fix for handling unwrapping parsed values for interfaces in this commit - https://github.com/Chleba/netscanner/commit/cd1f1f3ddce9fd1bcc00e7edaa37106a3e4a1021. Hopefully, that will help.
try to make an alias for iwd to iw
iw is already present on Arch Linux:
$ pacman -Q iw
iw 6.7-1
It's this package from the core repo.
FYI, I've build from git and netscanner still crashed with the exact same report... Thanks for looking into it though!
netscanner is using external third-party applications for getting WiFi information. For Linux iw ...
In that case the AUR packages need to add iw
to the depends() array...
In that case the AUR packages need to add iw to the depends() array...
Done!
Hi, I noticed this package entering the AUR and gave it a try. I needed to change from stable to nightly channel to build netscanner. Obviously nothing needed changing using the netscanner-bin package.
But on both the app crashes with the below report:
$ cat netscanner.crash.report
``` "name" = "netscanner" "operating_system" = "Arch Linux Rolling Release [64-bit]" "crate_version" = "0.4.0" "explanation" = """ Panic occurred in file 'src/components/interfaces.rs' at line 103 """ "cause" = "called `Option::unwrap()` on a `None` value" "method" = "Panic" "backtrace" = """ 0: 0x5b9aca5ac5f3 -Hope you can figure out what went wrong. Feel free to ping if I can present anything else that can help debugging. I use iwd BTW.