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 #10 received at 1478@bugs.x2go.org (full text, mbox, reply):

Received: (at 1478) by bugs.x2go.org; 23 Jun 2020 15:30:03 +0000
From randy.goldenberg@gmail.com  Tue Jun 23 17:29:46 2020
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,FREEMAIL_FROM,SPF_HELO_NONE,URIBL_BLOCKED
	autolearn=unavailable autolearn_force=no version=3.4.2
Received: from mail-pg1-x52d.google.com (mail-pg1-x52d.google.com [IPv6:2607:f8b0:4864:20::52d])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id B5DDE5DAEB;
	Tue, 23 Jun 2020 17:29:43 +0200 (CEST)
Received: by mail-pg1-x52d.google.com with SMTP id u128so10000472pgu.13;
        Tue, 23 Jun 2020 08:29:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=date:from:to:cc:subject:message-id:references:mime-version
         :content-disposition:in-reply-to:user-agent;
        bh=QnrRZMzrywrgBg+i88NjtYlZHi1ABcX/+VhuK7oxUCk=;
        b=aJe8mOm0W1cWEm+X/rdevrPAoA5Ph7C3vv/9qM0SFt419YabaEB7iUbX/KanMZUA/G
         VSRXRvEa9ItwZM6Sn7/2dFk95wK4cSIdMl9Lxnw7AeZ8fa/iFmdiC4UZck9jjljXrW/0
         qZCbe26a92Qr5JgtQGAJYkCBFimHHkGCBohNOqTuJ31J/q2iEngBHG3e2Zz1Yqugeqqm
         PLQbrqlBvmYR0BXp6HYZXmpl3+i48rvHfzc5pxTDgBWndZ+zTs32qIM0FZFkdPrYKj0q
         yhhAKs1DRakQV+Wv5TeTRY/FEcXXXVjDZwv/AUDxe0OkSsroQq8/5NY2X4FtgNTL16VP
         djOg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:date:from:to:cc:subject:message-id:references
         :mime-version:content-disposition:in-reply-to:user-agent;
        bh=QnrRZMzrywrgBg+i88NjtYlZHi1ABcX/+VhuK7oxUCk=;
        b=ly6pbSm3J49Ssusbx8LvYfI3LPpPkZ6nkQOQ46dICCMXsHJe6UWsDVJqeHTdkyv34s
         bavf1TLQ16NP9pFGQazHUL0ChfDbM8jQyV2KctlV+wbD1F6m2ZrIkXfQBbgLvkDvhb39
         kbZzmVdjQi2/x40x3VSuTWhHS085TnAUEcNT/IS/6aQfG6w8Ky+3ztqV64jNux4tbFBA
         fNvw16EfLETMZOLvytmzyEiOSTl8bb67f5fr+A0QKfvZm1ziycgq4qjBWbeq4w6dLHMZ
         DNA/jaOwqfzdxfeCiNuWv0aMMHQ4mUx9DrFvJ1ptcgXYfMGdfDXSbxLaNbOGfcl0s6fs
         COBA==
X-Gm-Message-State: AOAM530c/CbxXzHIaSAkwysU8nfDPQ8eUbxWYqqQgbHZAi8H30VRlNRq
	lOyYkgFWhN/ksaDeZhRceyE=
X-Google-Smtp-Source: ABdhPJzMdRUjrW7vbI3mVTZqBFU2tXU1ZEk6sfYdw9OEOgYIPs4CFcmaOFcBCfG1w9WNGhFESDx2DQ==
X-Received: by 2002:a63:384a:: with SMTP id h10mr17619749pgn.176.1592926181654;
        Tue, 23 Jun 2020 08:29:41 -0700 (PDT)
Received: from rg1.lan ([69.172.163.82])
        by smtp.gmail.com with ESMTPSA id mw5sm2802087pjb.27.2020.06.23.08.29.40
        (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
        Tue, 23 Jun 2020 08:29:40 -0700 (PDT)
Date: Tue, 23 Jun 2020 08:29:38 -0700
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
Message-ID: <20200623152938.e27lcmrgrxg3wmvm@rg1.lan>
References: <01020172e0653c60-15ac0cd9-2ecb-492f-89e2-e4c43d869113-000000@eu-west-1.amazonses.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
In-Reply-To: <01020172e0653c60-15ac0cd9-2ecb-492f-89e2-e4c43d869113-000000@eu-west-1.amazonses.com>
User-Agent: NeoMutt/20180716
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


Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Apr 25 05:17:52 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.