[X2go-bugs] [Tickets #69] Crash if broken suspended/crashed session

bugs at x2go.org bugs at x2go.org
Mon May 30 10:25:36 CEST 2011


Ticket URL: http://code.x2go.org/horde4/whups/ticket/?id=69
------------------------------------------------------------------------------
  Ticket             | 69
  Created By         | dick.kniep at lindix.nl
  Summary            | Crash if broken suspended/crashed session
  Queue              | pyhoca-gui
  Version            | HEAD
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Operating System   | 5
  Owners             |
------------------------------------------------------------------------------


dick.kniep at lindix.nl (2011-05-30 10:25) wrote:

When a session has crashed (or has not been eded properly), it remains  
in the active sessions list. When one restarts pyhoca-gui (for  
instance the next day) and tries to reconnect to the crashed session,  
this traceback occurs

pyhoca-gui[8513] (x2gofwtunnel-pylib) ERROR: incoming request to  
[localhost]:30004 was rejected by the SSH server.
pyhoca-gui[8513] (PyHoca-GUI) NOTICE: [lindix - sessie fout]  
Forwarding tunnel request to [localhost]:30004 for session  
dick-51-1306402511_stRTERMINAL_dp24 was denied by remote X2go/SSH  
server. Session startup failed.
Traceback (most recent call last):
   File "/usr/lib/pymodules/python2.6/gevent/greenlet.py", line 405, in run
     result = self._run(*self.args, **self.kwargs)
   File "/home/dick/x2go/pyhoca-gui/x2go/client.py", line 1140, in  
resume_session
     return self.session_registry(session_uuid).resume()
   File "/home/dick/x2go/pyhoca-gui/x2go/session.py", line 915, in resume
     _terminal.start_printing()
   File  
"/home/dick/x2go/pyhoca-gui/x2go/backends/terminal/_stdout.py", line  
485, in start_printing
     self.share_local_folder(folder_name=spool_dir, folder_type='spool')
   File  
"/home/dick/x2go/pyhoca-gui/x2go/backends/terminal/_stdout.py", line  
607, in share_local_folder
     self.control_session._x2go_sftp_write(_x2go_key_fname, _x2go_key_bundle)
   File "/home/dick/x2go/pyhoca-gui/x2go/backends/control/_stdout.py",  
line 161, in _x2go_sftp_write
     remote_fileobj = self.sftp_client.open(remote_path, 'w')
   File "/usr/lib/pymodules/python2.6/paramiko/sftp_client.py", line  
245, in open
     t, msg = self._request(CMD_OPEN, filename, imode, attrblock)
   File "/usr/lib/pymodules/python2.6/paramiko/sftp_client.py", line  
628, in _request
     return self._read_response(num)
   File "/usr/lib/pymodules/python2.6/paramiko/sftp_client.py", line  
675, in _read_response
     self._convert_status(msg)
   File "/usr/lib/pymodules/python2.6/paramiko/sftp_client.py", line  
701, in _convert_status
     raise IOError(errno.ENOENT, text)
IOError: [Errno 2] No such file
<Greenlet at 0x3ae9408: <bound method PyHocaGUI.resume_session of  
<pyhoca.wxgui.frontend.PyHocaGUI; proxy of <Swig Object of type  
'wxPyApp *' at 0x358fba0>  
 >>(session_name='dick-51-1306402511_stRTERMINAL_dp24')> failed with  
IOError

pyhoca-gui[8513] (PyHoca-GUI) NOTICE: [lindix - hervatten] X2go Sessie  
wordt hervat... dick-51-1306402511_stRTERMINAL_







More information about the x2go-bugs mailing list