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.

Full log


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

Received: (at 1478) by bugs.x2go.org; 15 Jan 2024 20:54:05 +0000
From mike.gabriel@das-netzwerkteam.de  Mon Jan 15 21:54:02 2024
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-2.0 required=3.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE,
	URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2
Received: from fregna.das-netzwerkteam.de (fregna-internal.das-netzwerkteam.de [IPv6:2a01:4f8:202:1381::1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id A13655DAD6
	for <1478@bugs.x2go.org>; Mon, 15 Jan 2024 21:54:01 +0100 (CET)
Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [148.251.201.105])
	by fregna.das-netzwerkteam.de (Postfix) with ESMTPS id 879B760153;
	Mon, 15 Jan 2024 20:54:01 +0000 (UTC)
Received: from das-netzwerkteam.de (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 64862C05A3;
	Mon, 15 Jan 2024 21:54:01 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=das-netzwerkteam.de;
	s=dkim; t=1705352041;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:mime-version:mime-version:content-type:content-type:
	 in-reply-to:in-reply-to; bh=S58Ly0aTdOuk0gd2croPLkX7ds2DF3G0oxEExdqpkq0=;
	b=up6DcvuiVESqSaFQQ5v/yQuZ3O7F92kHtoG6GsKc553y1g5uUH/8ogtNfx7TnoRu66irbk
	qh8Kx/mRaT4XAqW7gIS9ed4Ix//7zKqSYkNHBFoyFKd5lRJK/KfPcv7soIynVY6vXWETXB
	etm7M35vQaP1cUnplJfd7tsVXs225puRQxr/R6cyVGJ++v+UxL1QzM23ek5phSAaboHgqh
	D98Q7i7hrcAEkzJwvDPq6XLBXvml7SNHTthBlQXzmfbnLfJec3dfvqnIMpqlmwsZjpA8VI
	fiy+55dQxYB/CB1aOK2SPF1EDLBVkZO/QQIaoEx4EsPZEAb3tT7mSTwlta7ny4jNg2bcUM
	kFeJz9pz/V4kGVlGh6iWRv/MsA2mwK0IR9O1KiGuogYPrwJeQCzMwvy+iM1rZESmfdqeRn
	je3wi4m8EXdd6fZbVmJe2vK1SJwLPmMDt/m71c/8LdsDyVCcxibl0NEsV5/d0C/VuPlSx7
	D9pFECdnunY3/hDJTE3VszJxFt1reckzaqZJH0vkURw0wHRb+Oc1qUnTd47RU4qwusrBoI
	Ljc0vIViUWzrK0RHXOwoPCGvoeY8PI+uOIo0wSGEVQccTCYib7aKydvqReG4HwBsYpaTCt
	x+d7NI4i1aLqwnsMNtVZd1Oe+lEeq9bNml6dcFoCIWTtl3+xWrcr4=
Received: from [153.92.39.241] ([153.92.39.241]) by mail.das-netzwerkteam.de
 (Horde Framework) with HTTPS; Mon, 15 Jan 2024 20:54:01 +0000
Date: Mon, 15 Jan 2024 20:54:01 +0000
Message-ID: <20240115205401.Horde.B3SnKu3UsD0tfUoYoMBmfGF@mail.das-netzwerkteam.de>
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
In-Reply-To: <01020172e0653c60-15ac0cd9-2ecb-492f-89e2-e4c43d869113-000000@eu-west-1.amazonses.com>
User-Agent: Horde Application Framework 5
Accept-Language: de,en
Organization: DAS-NETZWERKTEAM
X-Originating-IP: 153.92.39.241
X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML,
 like Gecko) Chrome/120.0.0.0 Safari/537.36
Content-Type: multipart/signed; boundary="=_4GU28plMT1V-8frE1dxOx_s";
 protocol="application/pgp-signature"; micalg=pgp-sha512
MIME-Version: 1.0
[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)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Nov 21 20:38:13 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.