Package: pyhoca-cli Version: 0.6.1.2 Tag: patch
pyhoca-cli fails to connect to suspended x2g0 sessions.
$ pyhoca-cli --server my.x2go.server -t desktop -c openbox-session -g maximize -R NEWEST
pyhoca-cli[13131] NOTICE: preparing requested X2Go session pyhoca-cli[13131] (PyHocaCLI) NOTICE: preparing requested X2Go session pyhoca-cli[13131] (x2gosessregistry-pylib) NOTICE: registering X2Go session Pyhoca-Client_Session... pyhoca-cli[13131] (x2goclient-pylib) NOTICE: initializing X2Go session... pyhoca-cli[13131] (x2gocontrolsession-pylib) NOTICE: connecting to [my.x2go.server]:22 /usr/lib/python3/dist-packages/Crypto/Cipher/blockalgo.py:141: FutureWarning: CTR mode needs counter parameter, not IV self._cipher = factory.new(key, *args, **kwargs) pyhoca-cli[13131] (PyHocaCLI) NOTICE: authentication has been successful pyhoca-cli[13131] (PyHocaCLI) NOTICE: give the X2Go session some time to come up... Traceback (most recent call last): File "/usr/bin/pyhoca-cli", line 455, in <module> thisPyHocaCLI.MainLoop() File "/usr/lib/python3/dist-packages/pyhoca/cli/frontend.py", line 702, in MainLoop self.resume_session(self.x2go_session_hash) File "/usr/lib/python3/dist-packages/pyhoca/cli/frontend.py", line 229, in resume_session if available_sessions is None: UnboundLocalError: local variable 'available_sessions' referenced before assignment
client OS: Ubuntu 16.04.6 LTS
server OS: Ubuntu 16.04.6 LTS
server's version of the x2goserver package: x2goserver: 4.1.0.4 x2goserver-common: 4.1.0.4 x2goserver-desktopsharing: 4.1.0.3 x2goserver-extensions: 4.1.0.4 x2goserver-fmbindings: 4.1.0.4 x2goserver-printing: 4.1.0.4 x2goserver-xsession: 4.1.0.4
Patch attached.
----- End forwarded message -----
tag #1445 pending fixed #1445 0.6.1.3 thanks Hi! X2Go issue #1445 (src:pyhoca-cli) reported by you has been fixed in X2Go Git. You can see the changelog below, and you can check the diff of the fix at: https://code.x2go.org/gitweb?p=pyhoca-cli.git;a=commitdiff;h=2b507520a7b4984... The issue will most likely be fixed in src:pyhoca-cli (0.6.1.3). light+love X2Go Git Admin (on behalf of the sender of this mail) --- commit 2b507520a7b4984d7020a6d5153d29350a24a9a9 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Wed Mar 11 01:49:07 2020 +0100 pyhoca/cli/frontend.py: Fix reference before assignment error in resume_session() method. Thanks to Randy Goldenberg for spotting this. (Fixes: #1445). diff --git a/debian/changelog b/debian/changelog index e17aed8..f4e4f2d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,9 @@ pyhoca-cli (0.6.1.3-0x2go1) UNRELEASED; urgency=medium - * Continue development + [ Mike Gabriel ] + * pyhoca/cli/frontend.py: Fix reference before assignment error in + resume_session() method. Thanks to Randy Goldenberg for spotting + this. (Fixes: #1445). -- X2Go Release Manager <git-admin@x2go.org> Thu, 26 Dec 2019 17:03:42 +0100
Processing commands for control@bugs.x2go.org:
1445: bugs.x2go.org/cgi-bin/bugreport.cgi?bug=1445 X2Go Bug Tracking System Contact owner@bugs.x2go.org with problems
close #1445 thanks
Hello,
we are very hopeful that X2Go issue #1445 reported by you has been resolved in the new release (0.6.1.3) of the X2Go source project »src:pyhoca-cli«.
You can view the complete changelog entry of src:pyhoca-cli (0.6.1.3) below, and you can use the following link to view all the code changes between this and the last release of src:pyhoca-cli.
https://code.x2go.org/gitweb?p=pyhoca-cli.git;a=commitdiff;h=c6245eb5861acd4fa5ecedc9994b3549831b6b70;hp=071bd72d80d20a325613e38ed6296d2788dd65e5
If you feel that the issue has not been resolved satisfyingly, feel free to reopen this bug report or submit a follow-up report with further observations described based on the new released version of src:pyhoca-cli.
Thanks a lot for contributing to X2Go!!!
light+love X2Go Git Admin (on behalf of the sender of this mail)
X2Go Component: src:pyhoca-cli Version: 0.6.1.3-0x2go1 Status: RELEASE Timestamp: 1692686744 Date: Tue, 22 Aug 2023 08:45:44 +0200 Fixes: 1445 Changes: pyhoca-cli (0.6.1.3-0x2go1) RELEASED; urgency=medium . [ Mike Gabriel ]
Processing commands for control@bugs.x2go.org:
1445: https://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=1445 X2Go Bug Tracking System Contact owner@bugs.x2go.org with problems