philippelatulippe / gitso

Automatically exported from code.google.com/p/gitso
1 stars 0 forks source link

Helpers vncviewer is closed immediately #32

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I've tested the current svn (0.6) and found a problem on Linux systems with
a non-English language setting in the shell. The vncviewer on the helpers
side is closed immediately because GitsoThread.py method checkStatus does
not detect the connection. The problem is the check against the strings
ESTABLISHED and LISTEN. If the shell language is i.e. German, netstat will
report in German not in English! 

I've also found a fix. 
Simply use "LANG=C netstat...". Working example: 

connection = os.popen('LANG=C netstat -an | grep 5500 | grep
ESTABLISHED').readlines()

This will make sure that netstat reports in English.

Gitso is great and I used 0.5 multiple times to support others!

Cheers,
Steffen

Original issue reported on code.google.com by steffeng...@yahoo.de on 13 Dec 2009 at 5:08

GoogleCodeExporter commented 8 years ago
This has been implemented in SVN. Will be included in the next release.

Original comment by gerbe...@gmail.com on 22 Feb 2010 at 2:05