[X2Go-Dev] Bug#1478: Bug#1478: pyhoca-cli failing to resume an existing session
Mike Gabriel
mike.gabriel at das-netzwerkteam.de
Mon Jan 15 21:54:01 CET 2024
Control: close -1
Control: fixed -1 0.6.1.3
On Di 23 Jun 2020 10:57:10 CEST, Chris Greenshields wrote:
> Package: pyhoca-cli
> Version: 0.6.1.2
>
> With x2goserver 4.1.0.0-3, pyhoca-cli fails to resume an existing session.
>
> For example with:
> pyhoca-cli --username <user> --server <ip> -R <session ID>
>
> Error message is:
>
> pyhoca-cli[1269418] NOTICE: preparing requested X2Go session
> pyhoca-cli[1269418] (PyHocaCLI) NOTICE: preparing requested X2Go session
> pyhoca-cli[1269418] (x2gosessregistry-pylib) NOTICE: registering
> X2Go session Pyhoca-Client_Session...
> pyhoca-cli[1269418] (x2goclient-pylib) NOTICE: initializing X2Go session...
> pyhoca-cli[1269418] (x2gocontrolsession-pylib) NOTICE: connecting to
> [3.127.73.135]:22
> pyhoca-cli[1269418] (PyHocaCLI) NOTICE: authentication has been successful
> pyhoca-cli[1269418] (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
>
> An upgrade to x2goserver 4.1.0.3 does not fix the problem, since
> pyhoca-cli 0.6.1.2 fails with
> "pyhoca-cli: error: the remote server does not have the X2Go Server
> software installed"
> as in https://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=1357
> _______________________________________________
> x2go-dev mailing list
> x2go-dev at lists.x2go.org
> https://lists.x2go.org/listinfo/x2go-dev
Duplicate of #1445, resolved in 0.6.1.3. So closing.
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 (4351) 850 8940
GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22 0782 9AF4 6B30 2577 1B31
mail: mike.gabriel at das-netzwerkteam.de, http://das-netzwerkteam.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 851 bytes
Desc: Digitale PGP-Signatur
URL: <https://lists.x2go.org/pipermail/x2go-dev/attachments/20240115/8b883657/attachment.sig>
More information about the x2go-dev
mailing list