gping: Not working on Ubuntu 19.10 ?

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

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 18 (5 by maintainers)

Most upvoted comments

Yep, but there are a large number of LC_ variables (https://pubs.opengroup.org/onlinepubs/007908799/xbd/envvar.html).

Ok, thanks for the feedback. LC_ALL seems to take precidence, so I’ll modify pinger to pass that on UNIX systems. Thanks!

Hey all, Thank you for the feedback here. I’ve fixed the issue by passing the two environment variables, and I’m releasing 0.1.7 to fix it. It will be on crates.io and homebrew soon, I’d love it if you could test it out and confirm it works 👍

I’ve come to significantly dislike ping after working on this project 😂. I guess I need to explicitly pass all the locale environment variables to ensure that the output is parsable. Can you possibly try this:

LC_ALL=C LANG=C ping -O -i0.2 google.com and see if that fixes it? I need to find the correct set of variables to pass.

Running localectl status and putting the output here would also help.

I can confirm it works on

  • Ubuntu 20.04.1 LTS
  • echo $LANG = de_DE.UTF-8

Thanks for the fast fix ❤️

LANG=C gping google.com Doesn’t work on ubuntu 20.04 LTS in fish shell

LANG=C ping -O -i0.2 google.com doesn’t work either for me, neither in bash nor fish? ping: bad timing interval: 0.2

Yep thats it the following works:

LANG=C gping google.com
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