X2Go Bug report logs - #1478
pyhoca-cli failing to resume an existing session

version graph

Package: pyhoca-cli; Maintainer for pyhoca-cli is X2Go Developers <x2go-dev@lists.x2go.org>; Source for pyhoca-cli is src:pyhoca-cli.

Reported by: Chris Greenshields <c.greenshields@cfd.direct>

Date: Tue, 23 Jun 2020 09:00:02 UTC

Severity: normal

Found in version 0.6.1.2

Fixed in version 0.6.1.3

Done: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1478; Package pyhoca-cli. (Tue, 23 Jun 2020 09:00:02 GMT) (full text, mbox, link).


Acknowledgement sent to Chris Greenshields <c.greenshields@cfd.direct>:
New Bug report received and forwarded. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Tue, 23 Jun 2020 09:00:02 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.x2go.org (full text, mbox, reply):

From: Chris Greenshields <c.greenshields@cfd.direct>
To: submit@bugs.x2go.org
Subject: pyhoca-cli failing to resume an existing session
Date: Tue, 23 Jun 2020 08:57:10 +0000
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


Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1478; Package pyhoca-cli. (Tue, 23 Jun 2020 15:35:02 GMT) (full text, mbox, link).


Acknowledgement sent to Randy Goldenberg <randy.goldenberg@gmail.com>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Tue, 23 Jun 2020 15:35:02 GMT) (full text, mbox, link).


Message #10 received at 1478@bugs.x2go.org (full text, mbox, reply):

From: Randy Goldenberg <randy.goldenberg@gmail.com>
To: Chris Greenshields <c.greenshields@cfd.direct>, 1478@bugs.x2go.org
Cc: submit@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#1478: pyhoca-cli failing to resume an existing session
Date: Tue, 23 Jun 2020 08:29:38 -0700
https://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=1445

On Tuesday June 23, 2020, 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@lists.x2go.org
>https://lists.x2go.org/listinfo/x2go-dev


Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1478; Package pyhoca-cli. (Mon, 15 Jan 2024 20:55:02 GMT) (full text, mbox, link).


Acknowledgement sent to Mike Gabriel <mike.gabriel@das-netzwerkteam.de>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Mon, 15 Jan 2024 20:55:02 GMT) (full text, mbox, link).


Message #15 received at 1478@bugs.x2go.org (full text, mbox, reply):

From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: Chris Greenshields <c.greenshields@cfd.direct>, 1478@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#1478: pyhoca-cli failing to resume an existing session
Date: Mon, 15 Jan 2024 20:54:01 +0000
[Message part 1 (text/plain, inline)]
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@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@das-netzwerkteam.de, http://das-netzwerkteam.de

[Message part 2 (application/pgp-signature, inline)]

Marked Bug as done Request was from Mike Gabriel <mike.gabriel@das-netzwerkteam.de> to 1478-submit@bugs.x2go.org. (Mon, 15 Jan 2024 20:55:02 GMT) (full text, mbox, link).


Notification sent to Chris Greenshields <c.greenshields@cfd.direct>:
Bug acknowledged by developer. (Mon, 15 Jan 2024 20:55:02 GMT) (full text, mbox, link).


Marked as fixed in versions 0.6.1.3. Request was from Mike Gabriel <mike.gabriel@das-netzwerkteam.de> to 1478-submit@bugs.x2go.org. (Mon, 15 Jan 2024 20:55:02 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.x2go.org> to internal_control@bugs.x2go.org. (Tue, 13 Feb 2024 06:24:02 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Nov 21 16:33:16 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.