Hi Ruda, On Mo 18 Feb 2019 21:59:16 CET, Ruda Vallo wrote:
Hi Mike,
I am sending a Czech translation in attachment.
Thanks!
I have some issues with translation testing:
- I have trouble with UTF-8 characters, while pyhoca-gui is connecting to X2Go server.
Ok...
This is debug output:
### PyHoca-GUI running in development mode ### pyhoca-gui[8148] (x2gosessregistry-pylib) NOTICE: registering X2Go session x2go-staging... pyhoca-gui[8148] (x2goclient-pylib) NOTICE: initializing X2Go session... pyhoca-gui[8148] (x2gocontrolsession-pylib) NOTICE: connecting to [x2go-staging]:22 Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/gevent/greenlet.py", line 536, in run result = self._run(*self.args, **self.kwargs) File "/usr/lib/python2.7/dist-packages/pyhoca/wxgui/frontend.py", line 779, in _do_authenticate self.notifier.send('%s - unknown error' % profile_name, _(u'An unknown error occurred during authentication!'), icon='auth_error', timeout=4000) File "/usr/lib/python2.7/dist-packages/pyhoca/wxgui/notify.py", line 138, in send self._pyhoca_logger('[%s] %s' % (title.encode(utils.get_encoding()), text.encode(utils.get_encoding())), loglevel=log.loglevel_NOTICE) File "/usr/lib/python2.7/dist-packages/x2go/log.py", line 102, in message msg = msg.encode(utils.get_encoding()) UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 38: ordinal not in range(128)
Ok....
I googled it and created HOTFIX to pyhoca-gui. I added this to the beginning of the file:
import sys reload(sys) sys.setdefaultencoding('UTF8')
Urgh... Ok... need to take a look at that. PyHoca-GUI is still at Python2 whereas PyHoca-CLI is already Python3. I guess the proper solution is to switch to Python3 (where all strings are UTF-8). What is your system's locale that pyhoca-gui is running under (send me output of the "locale" command).
I use Ubuntu 18.04 with Gnome3 and Mate.
Ok.
- I have problem with Gnome3 and pyhoca-gui. In Gnome3 on startup pyhoca-gui is hidden in systray, but Gnome 3 does not show it.
I installed Mate. With Mate everything works and I have tested on it.
This is a known issue. GNOMEv3 dropped Xembed support and PyHoca-GUI uses Xembed to embed its icon into the notification area of traditional desktops. I will port the Xembed based tray icon to Ayatana AppIndicator in the far future, then you may get it visible on GNOMEv3 again, if you are lucky (the GNOMEv3 people think about dropping Indicator support from GNOMEv4, soo...). Greets, Mike -- DAS-NETZWERKTEAM c\o Technik- und Ökologiezentrum Eckernförde Mike Gabriel, Marienthaler str. 17, 24340 Eckernförde mobile: +49 (1520) 1976 148 landline: +49 (4354) 8390 139 GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22 0782 9AF4 6B30 2577 1B31 mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de