The branch, twofactorauth has been updated
via 5af17bdbc3dacf043c828a1a81b98d5fc906e16a (commit)
from 2e694ee23e906e22b276abe01d52fb543e9d1d71 (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 -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
setup.py |…
[View More] 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
The diff of changes is:
diff --git a/setup.py b/setup.py
index f1f5bdb..85bebe3 100755
--- a/setup.py
+++ b/setup.py
@@ -36,9 +36,11 @@ import os
import pyhoca.wxgui
#
-# to build .exe file, run on Windows
-# with: ,,python setup.py py2exe -p greenlet''
+# to build .exe file, run on Windows:
+# ,,python setup.py py2exe''
#
+# to update i18n .mo files (and merge .pot file into .po files) run on Linux:
+# ,,python setup.py build_i18n -m''
cmd_class = {}
data_files = []
@@ -114,6 +116,9 @@ setup(
options={
'py2exe': {
'dll_excludes': ['MSVCP90.DLL'],
+ 'includes': ['greenlet'],
+ 'compressed': 1,
+ 'optimize': 2,
}
}
)
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)).
[View Less]
The branch, twofactorauth has been updated
via f6b9bd6381fa0eb8dc8bee164ce1b2b75c4a07b3 (commit)
from 54c58fcbcd4fd11b83baee3a2ab3a054a96bc613 (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 -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
pyhoca/…
[View More]wxgui/frontend.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
The diff of changes is:
diff --git a/pyhoca/wxgui/frontend.py b/pyhoca/wxgui/frontend.py
index db712d9..b5a5e3f 100644
--- a/pyhoca/wxgui/frontend.py
+++ b/pyhoca/wxgui/frontend.py
@@ -334,9 +334,9 @@ class PyHocaGUI(wx.App, x2go.X2goClient):
except EOFError, e:
self.notifier.send(_(u'%s - connect error') % profile_name, _(u'Authentication protocol communication incomplete! Try again...'), icon='auth_error', timeout=4000)
self._temp_disabled_profile_names.remove(profile_name)
- #except:
- # self.notifier.send('%s - connect error' % profile_name, 'An unknown error occurred during authentication!', icon='auth_error', timeout=4000)
- # self._temp_disabled_profile_names.remove(profile_name)
+ except:
+ self.notifier.send('%s - connect error' % profile_name, 'An unknown error occurred during authentication!', icon='auth_error', timeout=4000)
+ self._temp_disabled_profile_names.remove(profile_name)
self.taskbar.SetIconIdle()
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)).
[View Less]
The branch, twofactorauth has been updated
via fc06569a08a14edd588667ed855945773fd57a22 (commit)
from e6a6b4910c26ddb60479f32e4ed0789312e970e5 (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 -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
debian/…
[View More]changelog | 8 ++++++++
debian/control | 2 +-
pyhoca/wxgui/__init__.py | 2 +-
pyhoca/wxgui/frontend.py | 5 +++--
4 files changed, 13 insertions(+), 4 deletions(-)
The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index 58a55a8..6c3cb3c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+pyhoca-gui (0.0.27-0~nwt1) lucid maverick testing unstable; urgency=low
+
+ * diverting stdout and stderr to %APPDATA%/temp/pyhoca-gui_*.log (on
+ Windows)
+ * improved setup.py (including greenlet for py2exe)
+
+ -- Mike Gabriel <mike.gabriel(a)das-netzwerkteam.de> Thu, 20 Jan 2011 23:00:00 +0100
+
pyhoca-gui (0.0.26-0~nwt2) lucid maverick testing unstable; urgency=low
* depending on python-x2go (>= 0.0.35)
diff --git a/debian/control b/debian/control
index 7235203..70af0fb 100644
--- a/debian/control
+++ b/debian/control
@@ -9,7 +9,7 @@ XS-Python-Version: >= 2.6
Package: pyhoca-gui
Architecture: all
-Depends: ${misc:Depends}, python, python-x2go (>=0.0.35-0~nwt1),
+Depends: ${misc:Depends}, python, python-x2go (>=0.0.36-0~nwt1),
python-argparse, python-notify, python-setproctitle (>=1.0.1-1),
wx-common(>=2.8.10.0), python-wxtools (>=2.8.10.0)
Description: An graphical X2go client written in (wx)Python
diff --git a/pyhoca/wxgui/__init__.py b/pyhoca/wxgui/__init__.py
index bb35c78..14e27f4 100644
--- a/pyhoca/wxgui/__init__.py
+++ b/pyhoca/wxgui/__init__.py
@@ -18,6 +18,6 @@
# Free Software Foundation, Inc.,
# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
-__VERSION__ = '0.0.26'
+__VERSION__ = '0.0.27'
from frontend import *
diff --git a/pyhoca/wxgui/frontend.py b/pyhoca/wxgui/frontend.py
index 86460ef..92aef88 100644
--- a/pyhoca/wxgui/frontend.py
+++ b/pyhoca/wxgui/frontend.py
@@ -528,8 +528,9 @@ class PyHocaGUI(wx.App, x2go.X2goClient):
def HOOK_no_such_command(self, cmd, profile_name='UNKNOWN', session_name='UNKNOWN'):
self.notifier.send(_(u'%s - session failure') % profile_name, _('the command ,,%s'' is not available for X2go server (profile: %s, session: %s)') % (cmd, profile_name, session_name), icon='session_error', timeout=10000)
def HOOK_rforward_request_denied(self, profile_name='UNKNOWN', session_name='UNKNOWN', server_port=0):
- self.notifier.send(_(u'Reverse TCP port forwarding request for session %s to server port %s has been denied by the X2go server. This is a common issue with SSH, it might help to restart the X2go server\'s SSH daemon.') % (session_name, server_port), icon='session_warning', timeout=10000)
-
+ self.notifier.send(_(u'%s - session warning') % profile_name, _(u'Reverse TCP port forwarding request for session %s to server port %s has been denied by the X2go server. This is a common issue with SSH, it might help to restart the X2go server\'s SSH daemon.') % (session_name, server_port), icon='session_warning', timeout=10000)
+ def HOOK_forwarding_tunnel_setup_failed(self, profile_name='UNKNOWN', session_name='UNKNOWN', chain_host='UNKNOWN', chain_port=0):
+ self.notifier.send(_(u'%s - session failure') % profile_name, _(u'Forwarding tunnel request to [%s]:%s for session %s was denied by remote X2go/SSH server. Session startup failed.') % (chain_host, chain_port, session_name), icon='session_error', timeout=10000)
def HOOK_pulseaudio_server_startup_failed(self):
self.notifier.send(_(u'%s - audio error') % self.appname, _(u'The X2go PulseAudio system could not be started.'), icon='audio_error', timeout=10000)
def HOOK_pulseaudio_server_died(self):
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)).
[View Less]
The branch, twofactorauth has been updated
via e6a6b4910c26ddb60479f32e4ed0789312e970e5 (commit)
from 5af17bdbc3dacf043c828a1a81b98d5fc906e16a (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 -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
pyhoca-…
[View More]gui | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
The diff of changes is:
diff --git a/pyhoca-gui b/pyhoca-gui
index 3f35b27..5fcd10d 100755
--- a/pyhoca-gui
+++ b/pyhoca-gui
@@ -57,6 +57,10 @@ if app.startswith('./') or os.path.dirname(PROG_NAME).endswith('trunk'):
sys.path.insert(0, os.path.join(os.path.dirname(PROG_NAME)))
os.environ['PYHOCAGUI_DEVELOPMENT'] = '1'
print '### PyHoca-GUI running in development mode ###'
+else:
+ if _X2GOCLIENT_OS == 'Windows':
+ sys.stdout = open(os.path.join(os.environ['APPDATA'], 'temp', '%s_stdout.log' % PROG_NAME), 'w')
+ sys.stderr = open(os.path.join(os.environ['APPDATA'], 'temp', '%s_stderr.log' % PROG_NAME), 'w')
from pyhoca.wxgui.basepath import locale_basepath
@@ -178,7 +182,7 @@ if _X2GOCLIENT_OS == 'Windows':
x2go_gui_options.append(
{'args':['--lang'], 'default': None, 'metavar': 'LANGUAGE', 'help': 'set the GUI language (currently available: en, de, nl, es)', },
)
-
+
backend_options = [
{'args':['--backend-controlsession'], 'default': None, 'metavar': 'CONTROLSESSION_BACKEND', 'choices': BACKENDS_CONTROLSESSION.keys(), 'help': 'force usage of a certain CONTROLSESSION_BACKEND (do not use this unless you know exactly what you are doing)', },
{'args':['--backend-terminalsession'], 'default': None, 'metavar': 'TERMINALSESSION_BACKEND', 'choices': BACKENDS_TERMINALSESSION.keys(), 'help': 'force usage of a certain TERMINALSESSION_BACKEND (do not use this unless you know exactly what you are doing)', },
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)).
[View Less]
The branch, twofactorauth has been updated
via 92383822d606f12751cc9a748144578481244ebc (commit)
from ddb7265f91230b032f9fec64ddb6a8b8854cd14c (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 -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
pyhoca/…
[View More]wxgui/frontend.py | 1 -
pyhoca/wxgui/profilemanager.py | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
The diff of changes is:
diff --git a/pyhoca/wxgui/frontend.py b/pyhoca/wxgui/frontend.py
index 8819bb5..db712d9 100644
--- a/pyhoca/wxgui/frontend.py
+++ b/pyhoca/wxgui/frontend.py
@@ -487,7 +487,6 @@ class PyHocaGUI(wx.App, x2go.X2goClient):
# This returns a Python list of files that were selected.
self._X2goClient__share_local_folder_with_session(profile_name=self.current_profile_name, folder_name=str(dlg.GetPath()))
-
def OnListSessions(self, evt):
"""\
STILL UNDOCUMENTED
diff --git a/pyhoca/wxgui/profilemanager.py b/pyhoca/wxgui/profilemanager.py
index 1e65e8e..aed9bf2 100644
--- a/pyhoca/wxgui/profilemanager.py
+++ b/pyhoca/wxgui/profilemanager.py
@@ -951,7 +951,7 @@ class PyHocaGUI_ProfileManager(wx.Dialog):
_item = self.SharedFoldersList.GetItem(_item_id)
_shared_folders.append(_item.GetText())
_item_id = self.SharedFoldersList.GetNextItem(_item_id)
- self.profile_config['export'] = ','.join(_shared_folders)
+ self.profile_config['export'] = ','.join([ f for f in _shared_folders if f ])
self.profile_config['useiconv'] = self.UseEncodingConverter.GetValue()
self.profile_config['iconvfrom'] = self.ClientEncoding.GetValue()
self.profile_config['iconvto'] = self.ServerEncoding.GetValue()
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)).
[View Less]
The branch, twofactorauth has been updated
via 25c9495fbb917b647f06d9a9ff222efa8d3cbbd7 (commit)
from 01e64856797d07eeca2cb2fe2e3995a28aac9be5 (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 -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
pyhoca-…
[View More]gui | 2 +-
pyhoca/wxgui/frontend.py | 1 -
pyhoca/wxgui/profilemanager.py | 5 +++++
3 files changed, 6 insertions(+), 2 deletions(-)
The diff of changes is:
diff --git a/pyhoca-gui b/pyhoca-gui
index edf2f35..3f35b27 100755
--- a/pyhoca-gui
+++ b/pyhoca-gui
@@ -283,7 +283,7 @@ def main():
lang = gettext.translation('pyhoca-gui', localedir=locale_basepath, languages=[args.lang], )
else:
lang = gettext.translation('pyhoca-gui', localedir=locale_basepath, languages=['en'], )
- lang.install()
+ lang.install(unicode=True)
else:
gettext.install('pyhoca-gui', localedir=locale_basepath, unicode=True)
diff --git a/pyhoca/wxgui/frontend.py b/pyhoca/wxgui/frontend.py
index 299aa6c..26dda66 100644
--- a/pyhoca/wxgui/frontend.py
+++ b/pyhoca/wxgui/frontend.py
@@ -63,7 +63,6 @@ import basepath
wx.SetDefaultPyEncoding("utf-8")
-
class PyHocaGUI(wx.App, x2go.X2goClient):
def __init__(self, args, logger, liblogger,
diff --git a/pyhoca/wxgui/profilemanager.py b/pyhoca/wxgui/profilemanager.py
index 017a4e0..1e65e8e 100644
--- a/pyhoca/wxgui/profilemanager.py
+++ b/pyhoca/wxgui/profilemanager.py
@@ -22,6 +22,9 @@ import wx
import os
import copy
+import sys
+import locale
+
import x2go.log as log
import x2go.utils as utils
from x2go import X2GOCLIENT_OS
@@ -1314,6 +1317,7 @@ class PyHocaGUI_ProfileManager(wx.Dialog):
if self.action == 'ADD':
self.profile_id = self.session_profiles.add_profile()
+ print self.profile_id
for k in self.profile_config.keys():
self.session_profiles.update_value(self.profile_id, k, self.profile_config[k])
@@ -1321,6 +1325,7 @@ class PyHocaGUI_ProfileManager(wx.Dialog):
self.session_profiles.write()
if self.action == 'ADD':
+ print
self._PyHocaGUI.notifier.send(title=_(u'%s - profile added') % self.profile_config['name'],
text=_(u'A new session profile has been added.'),
icon='profile_add',
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)).
[View Less]
The branch, twofactorauth has been updated
via 01e64856797d07eeca2cb2fe2e3995a28aac9be5 (commit)
from 501747368416a35f0d49e4c2ab994fa682db4b58 (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 -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
setup.py |…
[View More] 1 +
1 file changed, 1 insertion(+)
The diff of changes is:
diff --git a/setup.py b/setup.py
index 6426396..f1f5bdb 100755
--- a/setup.py
+++ b/setup.py
@@ -62,6 +62,7 @@ if platform.system() == 'Windows':
("icons\\PyHoca\\32x32", glob(r'icons\\PyHoca\\32x32\\x2go*.*')),
("icons\\PyHoca\\48x48", glob(r'icons\\PyHoca\\48x48\\*.*')),
("icons\\PyHoca\\64x64", glob(r'icons\\PyHoca\\64x64\\*.*')),
+ ("icons\\PyHoca\\128x128", glob(r'icons\\PyHoca\\128x128\\*.*')),
("PyHoca_GUI.egg-infocons\\PyHoca\\128x128", glob(r'icons\\PyHoca\\128x128\\*.*')),
("icons", glob(r'pixmaps\\*.ico')),
]
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)).
[View Less]
The branch, twofactorauth has been updated
via 957fae569c2f0e23720904ac46e7bdf856001e21 (commit)
from b72a7c1dd502a10568dc12e6e56e283b283d0861 (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 -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
debian/…
[View More]changelog | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index d4261d2..14d0500 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,11 @@
pyhoca-gui (0.0.26-0~nwt1) lucid maverick testing unstable; urgency=low
- * added PulseAudio support for Windows
+ * added PulseAudio support for Windows (still unstable)
+ * mainly work on the Windows version
+ * work on audio setup in profile manager
+ * now new config files will be created on first application start
- -- Mike Gabriel <mike.gabriel(a)das-netzwerkteam.de> Tue, 18 Jan 2011 11:41:00 +0100
+ -- Mike Gabriel <mike.gabriel(a)das-netzwerkteam.de> Wed, 19 Jan 2011 18:00:00 +0100
pyhoca-gui (0.0.25-0~nwt2) lucid maverick testing unstable; urgency=low
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)).
[View Less]
The branch, twofactorauth has been updated
via 501747368416a35f0d49e4c2ab994fa682db4b58 (commit)
from 6e920b395f10cb493365760613df0ece70779e0a (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 -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
pyhoca/…
[View More]wxgui/profilemanager.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
The diff of changes is:
diff --git a/pyhoca/wxgui/profilemanager.py b/pyhoca/wxgui/profilemanager.py
index be674ee..017a4e0 100644
--- a/pyhoca/wxgui/profilemanager.py
+++ b/pyhoca/wxgui/profilemanager.py
@@ -963,7 +963,10 @@ class PyHocaGUI_ProfileManager(wx.Dialog):
if _ext:
_normalized_exts.append(_ext)
self.profile_config['dropboxextensions'] = ','.join(_normalized_exts)
- _dropbox_action = [ a for a in self.dropboxactionChoices.keys() if self.dropboxactionChoices[a] == self.FileDropboxAction.GetValue() ][0]
+ try:
+ _dropbox_action = [ a for a in self.dropboxactionChoices.keys() if self.dropboxactionChoices[a] == self.FileDropboxAction.GetValue() ][0]
+ except IndexError:
+ _dropbox_action = 'OPEN'
self.profile_config['dropboxaction'] = _dropbox_action
def OnIconChange(self, event):
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)).
[View Less]