Re: [X2Go-User] pyhoca 0.5.0.2 freeze in debian wheezy

2014-10-29 Thread Jan Kowalsky


Am 29.10.2014 17:13, schrieb Pavel HanĂ¡k:
 Hi Mike,
 
 The problem is in the version of python-gevent package which was still
 from stable version (0.13.6-1+nmu3). With testing version (1.0.1-1)
 everything works as expected.
 
 So it would be useful to change Depends field in debian/control
 accordingly...
 
 Pavel
 
 ___
 x2go-user mailing list
 x2go-user@lists.x2go.org
 http://lists.x2go.org/listinfo/x2go-user
 

Hi Mike,

thanks for investigations.

You use the heuler section?

I tried to debug it today too (but without real python knowledge ;-( ) -
and I triggered it down to this location in

paramiko/packet.py

def readline(self, timeout):
print packetizer debug 1 *

Read a line from the socket.  We assume no data is pending after the
line, so it's okay to attempt large reads.

buf = self.__remainder
while not linefeed_byte in buf:
buf += self._read_timeout(timeout)
n = buf.index(linefeed_byte)
self.__remainder = buf[n + 1:]
buf = buf[:n]
if (len(buf)  0) and (buf[-1] == cr_byte_value):
buf = buf[:-1]
return u(buf)


it hangs after the line 281

buf += self._read_timeout(timeout)



no idea why and if this is related to your findings.

Installed the python-gevent from heuer and everythin works.

Thanks.
Jan
___
x2go-user mailing list
x2go-user@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-user


[X2Go-User] pyhoca 0.5.0.2 freeze in debian wheezy

2014-10-28 Thread Jan Kowalsky
Hi all,

I have a problem with an newly installed pyhoca-gui

while I can connect from an debian-wheezy with pyhoca-gui 0.4.0.9
without problems, an newly installed pyhoca-gui at another computer with
version 0.5.0.2 pyhoca-gui freezes at the moment when it tries to
establish the ssh connection.

Same with the heuler-version.

This is the output:

pyhoca-gui -d --libdebug

Xlib.protocol.request.QueryExtension
pyhoca-gui[19049] (PyHoca-GUI) DEBUG: PyHoca-GUI's user interface
language is: de_DE.
pyhoca-gui[19049] (x2goinifiles-pylib) INFO: proposed config files are
['/home/user/.x2goclient/sessions']
pyhoca-gui[19049] (x2goinifiles-pylib) INFO: config files found:
['/home/user/.x2goclient/sessions']
pyhoca-gui[19049] (x2goinifiles-pylib) INFO: proposed config files are
['/home/user/.x2goclient/settings']
pyhoca-gui[19049] (x2goinifiles-pylib) INFO: config files found:
['/home/user/.x2goclient/settings']
pyhoca-gui[19049] (x2goinifiles-pylib) INFO: proposed config files are
['/home/user/.x2goclient/printing']
pyhoca-gui[19049] (x2goinifiles-pylib) INFO: config files found:
['/home/user/.x2goclient/printing']
pyhoca-gui[19049] (PyHoca-GUI) INFO: PyHoca GUI is starting up
pyhoca-gui[19049] (PyHoca-GUI) INFO: start TaskBarIcon of type:
('__WXGTK__', 'wxGTK', 'unicode', 'gtk2', 'wx-assertions-off',
'SWIG-1.3.29')
pyhoca-gui[19049] (PyHoca-GUI) WARN: the current release of PyHoca-GUI
does not support client configuration
pyhoca-gui[19049] (x2goguardian-pylib) DEBUG: Entering X2Go Guardian
client management loop...

pyhoca-gui[19049] (x2goguardian-pylib) DEBUG: Entering X2Go Guardian
client management loop...
pyhoca-gui[19049] (x2gosession-pylib) DEBUG: X2Go control session
parameters for profile server1:
pyhoca-gui[19049] (x2gosession-pylib) DEBUG: username: user
pyhoca-gui[19049] (x2gosession-pylib) DEBUG: key_filename:
pyhoca-gui[19049] (x2gosession-pylib) DEBUG: unique_hostkey_aliases:
False
pyhoca-gui[19049] (x2gosession-pylib) DEBUG: look_for_keys: True
pyhoca-gui[19049] (x2gosession-pylib) DEBUG: allow_agent: True
pyhoca-gui[19049] (x2gosession-pylib) DEBUG: X2Go terminal session
parameters for profile server1:
pyhoca-gui[19049] (x2gosession-pylib) DEBUG: client_encoding: UTF-8
pyhoca-gui[19049] (x2gosession-pylib) DEBUG: set_session_title: False
pyhoca-gui[19049] (x2gosession-pylib) DEBUG: snd_system: none
pyhoca-gui[19049] (x2gosession-pylib) DEBUG: session_type: desktop
pyhoca-gui[19049] (x2gosession-pylib) DEBUG: server_encoding: UTF-8
pyhoca-gui[19049] (x2gosession-pylib) DEBUG: snd_port: 4713
pyhoca-gui[19049] (x2gosession-pylib) DEBUG: rdp_server:
pyhoca-gui[19049] (x2gosession-pylib) DEBUG: kbtype: auto
pyhoca-gui[19049] (x2gosession-pylib) DEBUG: applications:
['TERMINAL', 'WWWBROWSER', 'MAILCLIENT', 'OFFICE']
pyhoca-gui[19049] (x2gosession-pylib) DEBUG: published_applications:
False
pyhoca-gui[19049] (x2gosession-pylib) DEBUG: link: lan
pyhoca-gui[19049] (x2gosession-pylib) DEBUG: xdmcp_server: localhost
pyhoca-gui[19049] (x2gosession-pylib) DEBUG: kbvariant: null
pyhoca-gui[19049] (x2gosession-pylib) DEBUG: geometry: maximize
pyhoca-gui[19049] (x2gosession-pylib) DEBUG: rdp_options: -u
X2GO_USER -p X2GO_PASSWORD
pyhoca-gui[19049] (x2gosession-pylib) DEBUG: cmd: XFCE
pyhoca-gui[19049] (x2gosession-pylib) DEBUG: convert_encoding: False
pyhoca-gui[19049] (x2gosession-pylib) DEBUG: clipboard: both
pyhoca-gui[19049] (x2gosession-pylib) DEBUG: kblayout: null
pyhoca-gui[19049] (x2gosession-pylib) DEBUG: session_title:
pyhoca-gui[19049] (x2gosession-pylib) DEBUG: dpi: 96
pyhoca-gui[19049] (x2gosession-pylib) DEBUG: pack: 16m-jpeg-9
pyhoca-gui[19049] (x2gosession-pylib) DEBUG: X2Go sshproxy parameters
for profile server1:
pyhoca-gui[19049] (x2gosession-pylib) DEBUG: sshproxy_host:
proxyhost.mydomain
pyhoca-gui[19049] (x2gosession-pylib) DEBUG: sshproxy_port: 22
pyhoca-gui[19049] (x2gosession-pylib) DEBUG: sshproxy_look_for_keys:
True
pyhoca-gui[19049] (x2gosession-pylib) DEBUG: sshproxy_allow_agent: True
pyhoca-gui[19049] (x2gosession-pylib) DEBUG: sshproxy_key_filename:
pyhoca-gui[19049] (x2gosession-pylib) DEBUG: sshproxy_user:
pyhoca-gui[19049] (x2gosession-pylib) DEBUG: initializing X2GoControlSession
pyhoca-gui[19049] (x2gosessregistry-pylib) NOTICE: registering X2Go
session server1...
pyhoca-gui[19049] (x2gosessregistry-pylib) DEBUG: registering X2Go
session with UUID 1966ec22-5e7d-11e4-9bd8-001e0b6404a3
pyhoca-gui[19049] (x2goclient-pylib) NOTICE: initializing X2Go session...
pyhoca-gui[19049] (x2gocontrolsession-pylib) NOTICE: connecting to
[server1.fritz.box]:22
pyhoca-gui[19049] (x2gocontrolsession-pylib) DEBUG: trying SSH key
discovery or agent authentication with server

~~~

- at this point pyhoca-gui seems to freeze - there is no output anymore
and the gui doesn't react anymore.

Any idea or similar problems?

Thanks in advance and best regards

Jan

Re: [X2Go-User] pyhoca 0.5.0.2 freeze in debian wheezy

2014-10-28 Thread Jan Kowalsky
Hi Mike,

thanks for your quick answer!

Am 28.10.2014 10:11, schrieb Mike Gabriel:
 Hi Jan,
 
 On  Di 28 Okt 2014 09:41:06 CET, Jan Kowalsky wrote:
 
 Hi all,

 I have a problem with an newly installed pyhoca-gui

 while I can connect from an debian-wheezy with pyhoca-gui 0.4.0.9
 without problems, an newly installed pyhoca-gui at another computer with
 version 0.5.0.2 pyhoca-gui freezes at the moment when it tries to
 establish the ssh connection.

 Same with the heuler-version.

 This is the output:

 pyhoca-gui -d --libdebug

 Xlib.protocol.request.QueryExtension
 pyhoca-gui[19049] (PyHoca-GUI) DEBUG: PyHoca-GUI's user interface
 language is: de_DE.
 pyhoca-gui[19049] (x2goinifiles-pylib) INFO: proposed config files are
 ['/home/user/.x2goclient/sessions']
 pyhoca-gui[19049] (x2goinifiles-pylib) INFO: config files found:
 ['/home/user/.x2goclient/sessions']
 pyhoca-gui[19049] (x2goinifiles-pylib) INFO: proposed config files are
 ['/home/user/.x2goclient/settings']
 pyhoca-gui[19049] (x2goinifiles-pylib) INFO: config files found:
 ['/home/user/.x2goclient/settings']
 pyhoca-gui[19049] (x2goinifiles-pylib) INFO: proposed config files are
 ['/home/user/.x2goclient/printing']
 pyhoca-gui[19049] (x2goinifiles-pylib) INFO: config files found:
 ['/home/user/.x2goclient/printing']
 pyhoca-gui[19049] (PyHoca-GUI) INFO: PyHoca GUI is starting up
 pyhoca-gui[19049] (PyHoca-GUI) INFO: start TaskBarIcon of type:
 ('__WXGTK__', 'wxGTK', 'unicode', 'gtk2', 'wx-assertions-off',
 'SWIG-1.3.29')
 pyhoca-gui[19049] (PyHoca-GUI) WARN: the current release of PyHoca-GUI
 does not support client configuration
 pyhoca-gui[19049] (x2goguardian-pylib) DEBUG: Entering X2Go Guardian
 client management loop...

 pyhoca-gui[19049] (x2goguardian-pylib) DEBUG: Entering X2Go Guardian
 client management loop...
 pyhoca-gui[19049] (x2gosession-pylib) DEBUG: X2Go control session
 parameters for profile server1:
 pyhoca-gui[19049] (x2gosession-pylib) DEBUG: username: user
 pyhoca-gui[19049] (x2gosession-pylib) DEBUG: key_filename:
 pyhoca-gui[19049] (x2gosession-pylib) DEBUG: unique_hostkey_aliases:
 False
 pyhoca-gui[19049] (x2gosession-pylib) DEBUG: look_for_keys: True
 pyhoca-gui[19049] (x2gosession-pylib) DEBUG: allow_agent: True
 pyhoca-gui[19049] (x2gosession-pylib) DEBUG: X2Go terminal session
 parameters for profile server1:
 pyhoca-gui[19049] (x2gosession-pylib) DEBUG: client_encoding: UTF-8
 pyhoca-gui[19049] (x2gosession-pylib) DEBUG: set_session_title: False
 pyhoca-gui[19049] (x2gosession-pylib) DEBUG: snd_system: none
 pyhoca-gui[19049] (x2gosession-pylib) DEBUG: session_type: desktop
 pyhoca-gui[19049] (x2gosession-pylib) DEBUG: server_encoding: UTF-8
 pyhoca-gui[19049] (x2gosession-pylib) DEBUG: snd_port: 4713
 pyhoca-gui[19049] (x2gosession-pylib) DEBUG: rdp_server:
 pyhoca-gui[19049] (x2gosession-pylib) DEBUG: kbtype: auto
 pyhoca-gui[19049] (x2gosession-pylib) DEBUG: applications:
 ['TERMINAL', 'WWWBROWSER', 'MAILCLIENT', 'OFFICE']
 pyhoca-gui[19049] (x2gosession-pylib) DEBUG: published_applications:
 False
 pyhoca-gui[19049] (x2gosession-pylib) DEBUG: link: lan
 pyhoca-gui[19049] (x2gosession-pylib) DEBUG: xdmcp_server: localhost
 pyhoca-gui[19049] (x2gosession-pylib) DEBUG: kbvariant: null
 pyhoca-gui[19049] (x2gosession-pylib) DEBUG: geometry: maximize
 pyhoca-gui[19049] (x2gosession-pylib) DEBUG: rdp_options: -u
 X2GO_USER -p X2GO_PASSWORD
 pyhoca-gui[19049] (x2gosession-pylib) DEBUG: cmd: XFCE
 pyhoca-gui[19049] (x2gosession-pylib) DEBUG: convert_encoding: False
 pyhoca-gui[19049] (x2gosession-pylib) DEBUG: clipboard: both
 pyhoca-gui[19049] (x2gosession-pylib) DEBUG: kblayout: null
 pyhoca-gui[19049] (x2gosession-pylib) DEBUG: session_title:
 pyhoca-gui[19049] (x2gosession-pylib) DEBUG: dpi: 96
 pyhoca-gui[19049] (x2gosession-pylib) DEBUG: pack: 16m-jpeg-9
 pyhoca-gui[19049] (x2gosession-pylib) DEBUG: X2Go sshproxy parameters
 for profile server1:
 pyhoca-gui[19049] (x2gosession-pylib) DEBUG: sshproxy_host:
 proxyhost.mydomain
 pyhoca-gui[19049] (x2gosession-pylib) DEBUG: sshproxy_port: 22
 pyhoca-gui[19049] (x2gosession-pylib) DEBUG: sshproxy_look_for_keys:
 True
 pyhoca-gui[19049] (x2gosession-pylib) DEBUG: sshproxy_allow_agent:
 True
 pyhoca-gui[19049] (x2gosession-pylib) DEBUG: sshproxy_key_filename:
 pyhoca-gui[19049] (x2gosession-pylib) DEBUG: sshproxy_user:
 pyhoca-gui[19049] (x2gosession-pylib) DEBUG: initializing
 X2GoControlSession
 pyhoca-gui[19049] (x2gosessregistry-pylib) NOTICE: registering X2Go
 session server1...
 pyhoca-gui[19049] (x2gosessregistry-pylib) DEBUG: registering X2Go
 session with UUID 1966ec22-5e7d-11e4-9bd8-001e0b6404a3
 pyhoca-gui[19049] (x2goclient-pylib) NOTICE: initializing X2Go session...
 pyhoca-gui[19049] (x2gocontrolsession-pylib) NOTICE: connecting to
 [server1.fritz.box]:22
 pyhoca-gui[19049] (x2gocontrolsession-pylib) DEBUG: trying SSH key