This is an automated email from the git hooks/post-receive script. x2go pushed a change to branch master in repository python-x2go. from f4e64e8 Make X2GoClient's constructor aware of non-usable X-Server ports. new 9f2d9ec Windows: Fix crash while attempting to find the session window. The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: debian/changelog | 1 + x2go/backends/terminal/plain.py | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/python-x2go.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository python-x2go. commit 9f2d9ecba4200b9248786174a740c06d4a8700db Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Wed Apr 16 12:49:33 2014 +0200 Windows: Fix crash while attempting to find the session window. --- debian/changelog | 1 + x2go/backends/terminal/plain.py | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index df75e29..320fda0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -36,6 +36,7 @@ python-x2go (0.5.0.0-0x2go1) UNRELEASED; urgency=low - Session profiles: default value type for exports session profile option is an empty dictionary. - Make X2GoClient's constructor aware of non-usable X-Server ports. + - Windows: Fix crash while attempting to find the session window. * debian/control: + Add dependencies: python-requests, python-simplejson. * python-x2go.spec: diff --git a/x2go/backends/terminal/plain.py b/x2go/backends/terminal/plain.py index ef1898d..235de1d 100644 --- a/x2go/backends/terminal/plain.py +++ b/x2go/backends/terminal/plain.py @@ -1046,8 +1046,11 @@ class X2GoTerminalSession(object): window = utils.find_session_window(self.session_info.name) if window is not None: - self.logger('Session window ID for session %s is: %s' % (self.session_info.name, window.id), loglevel=log.loglevel_DEBUG) - self.session_window = window + if _X2GOCLIENT_OS == "Windows": + self.logger('Session window handle for session %s is: %s' % (self.session_info.name, window), loglevel=log.loglevel_DEBUG) + else: + self.logger('Session window ID for session %s is: %s' % (self.session_info.name, window.id), loglevel=log.loglevel_DEBUG) + self.session_window = window break gevent.sleep(1) -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/python-x2go.git