linuxmint / cinnamon-spices-desklets

Desklets for the Cinnamon desktop
http://cinnamon-spices.linuxmint.com
GNU General Public License v2.0
152 stars 163 forks source link

hostcheck@schorschii: Language output in ping command #1193

Closed minutogit closed 4 months ago

minutogit commented 6 months ago

Desklet version/Build date

1.2

Cinnamon version

-

Distribution

Mint 21.2

Graphics hardware and driver used

-

Desklet name and maintainer

hostcheck@schorschii @schorschii

What happened?

Hostcheck Desklet suddenly stopped working. ping command outputs in German, causing string "0% packet loss" and "100% packet loss" not to be found. Changed string search to " 0%" " 100%" (with space) as a temporary fix.

Request: Fix to support ping outputs in multiple languages.

Other information

No response

schorschii commented 6 months ago

I'm using my system in German too with all language packs installed, but I have no clue how you can get ping to print German output. What did you do with your system to achieve this?

minutogit commented 6 months ago

That's a good question how I achieved that. I have only installed the language packs and Hostcheck has always worked. But at some point the ping with Hostcheck stopped working and then I looked to see what the problem was and realized that the English text was being parsed, but my ping output was now strangely in German. No idea how that happened.

Here the Screenshot: https://ibb.co/VQWWdfP

claudiux commented 4 months ago

Fixed by #1203