The branch, master has been updated via 8a1d390676b43170edcf0146c1f20488393624ff (commit) from 6f8c10514fb270fe443d13e6c82db8295ba05429 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 8a1d390676b43170edcf0146c1f20488393624ff Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Thu Apr 12 13:04:30 2012 +0200 silently swallow down failing PubApp executions due to outdated widget IDs ----------------------------------------------------------------------- Summary of changes: pyhoca/wxgui/frontend.py | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) The diff of changes is: diff --git a/pyhoca/wxgui/frontend.py b/pyhoca/wxgui/frontend.py index 16ff51c..3d470cc 100644 --- a/pyhoca/wxgui/frontend.py +++ b/pyhoca/wxgui/frontend.py @@ -623,10 +623,13 @@ class PyHocaGUI(wx.App, x2go.X2goClient): def OnPubAppExecution(self, evt): self.current_profile_name = self._eventid_profilenames_map[evt.GetId()] _session_name = self._eventid_sessionnames_map[evt.GetId()] - _exec = self._eventid_pubapp_execmap[self.current_profile_name][evt.GetId()] - _s = self.get_session_of_session_name(_session_name, return_object=True) - if _s is not None and _s.is_alive(): - _s._X2goSession__exec_published_application(exec_name=_exec) + try: + _exec = self._eventid_pubapp_execmap[self.current_profile_name][evt.GetId()] + _s = self.get_session_of_session_name(_session_name, return_object=True) + if _s is not None and _s.is_alive(): + _s._X2goSession__exec_published_application(exec_name=_exec) + except KeyError: + pass def _disable_session_name(self, profile_name, session_name): if profile_name not in self._temp_disabled_session_names.keys(): hooks/post-receive -- pyhoca-gui.git (Python X2Go Client (wxPython GUI)) This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "pyhoca-gui.git" (Python X2Go Client (wxPython GUI)).