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
Not working on Ubuntu 19.10 ? #71
Comments
Would you mind running |
ping -O -i0.2 google.com
ping: bad timing interval: 0.2 I dont think ping on ubuntu supports decimal timing intervals at all. tested on 20.04, and gping also shows blank screen, installed via cargo |
Same Problem on Fedora 33 installed via cargo black screen, blinking cursor, however I can use decimal timing: ❯ ping -O -i0.2 google.com
PING google.com (172.217.22.206) 56(84) bytes of data.
64 Bytes von muc11s01-in-f14.1e100.net (172.217.22.206): icmp_seq=1 ttl=118 Zeit=15.9 ms
64 Bytes von muc11s01-in-f14.1e100.net (172.217.22.206): icmp_seq=2 ttl=118 Zeit=15.7 ms
64 Bytes von muc11s01-in-f14.1e100.net (172.217.22.206): icmp_seq=3 ttl=118 Zeit=15.4 ms
64 Bytes von muc11s01-in-f14.1e100.net (172.217.22.206): icmp_seq=4 ttl=118 Zeit=15.4 ms
64 Bytes von muc11s01-in-f14.1e100.net (172.217.22.206): icmp_seq=5 ttl=118 Zeit=15.4 ms
64 Bytes von muc11s01-in-f14.1e100.net (172.217.22.206): icmp_seq=6 ttl=118 Zeit=15.9 ms
64 Bytes von muc11s01-in-f14.1e100.net (172.217.22.206): icmp_seq=7 ttl=118 Zeit=16.2 ms |
🤦 I’ve hard-coded English field names in the regex. I’ll push a fix later today, should be simple enough. Thank you both for sharing the output |
Yep thats it the following works: LANG=C gping google.com |
works |
Works in WSL2 with Ubuntu 20.04 |
those comments look like it is fixed but it is not for non english languages... #71 (comment) is a workaround. |
|
@irexiz mhm you could try |
@enaut I am using iputils ping program, is it not the default? |
Alright I found the issue :D My environment is set up to have a decimal delimiter defined as
|
I've come to significantly dislike
Running |
The issue is in pinger crate :) https://github.com/orf/pinger/blob/master/src/linux.rs#L11 Edit: With |
Yep, but there are a large number of Ok, thanks for the feedback. |
Hey all, |
I can confirm it works on
Thanks for the fast fix ❤️ |
Works on Fedora 33 too |
Hi, Installed it with cargo. (my os is 64 bit)
when I do
gping somehost
I only see the blinking cursor in the top left. Normal ping works.Also tested it as root / with sudo.
here is a demo video: https://youtu.be/RusyEIyL_K4
The text was updated successfully, but these errors were encountered: