-
-
Notifications
You must be signed in to change notification settings - Fork 297
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error: Utf8Error #50
Comments
Ouch! Thanks for the report. Looks like you're inside tmux (or something similar?) - does it happen outside as well? |
yes I use tmux
|
sorry I forget to say the version bandwhich 0.6.0 |
Hmm, interested as to why this is happening, I wonder if anyone in the other thread (#31) has had this. |
@NoName2001 - I'm trying to figure out where this error is coming from. Could you run: |
hi imsnif, I don't know what happened, the error disappear and when I run "RUST_BACKTRACE=full sudo bandwhich -i en0" , I get the right frontend but no data |
@NoName2001 the absence of traffic seems to be related to #51 especially since you are on MacOS X. About the previous error, not sure if @imsnif wants to keep digging but I would suggest to close the issue and reopen it with a backtrace if it pops up again. |
today, I come to office(and use office wifi), and I get the error again, maybe depend on the wifi situation? |
@NoName2001 - could you run like this and give us the stack trace? will make it easier to understand where this issue is coming from:
|
is this what you want? |
@NoName2001 can you try with Edit: ah, nevermind. I see you were doing it in one of the above images. |
Hmm... can you try with --raw? I think that way the stack trace wouldn't get mangled up so much. |
Hmmm the root cause might that the user's system is using encodings other than UTF8, and some processes contain non-ASCII character, our |
@NoName2001 This error should be fixed on master. Would you try it on your machine && confirm? |
|
Thanks for confirming! Did you build bandwhich from source or did you install it via brew? The fix I pushed is only available on master branch, it is not included in a release yet. Do try build it from source though. |
I install with cargo, let me try master |
it works! |
Nice catch @zhangxp1998 !! Thanks for this. |
Nice catch @zhangxp1998 !! Thanks for this. +1 |
[os] mac os x catalina 10.15.1
[terminal] iTerm2
[shell] zsh
[bandwhich version] 0.6.0
when I run
$sudo bandwhich -i en0
get this error
error: Utf8Error { valid_up_to: 94056, error_len: Some(2) } }', src/libcore/result.rs:1165:5
note: run with
RUST_BACKTRACE=1
environment variable to display a backtrace.The text was updated successfully, but these errors were encountered: