X2Go Bug report logs - #89
pyhoca-cli fails trying to resume session

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

Reported by: Orion Poplawski <orion@cora.nwra.com>

Date: Fri, 14 Dec 2012 23:03:02 UTC

Severity: normal

Tags: pending

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

Bug is archived. No further changes may be made.

Full log


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

Received: (at control) by bugs.x2go.org; 15 Dec 2012 23:18:19 +0000
From mike.gabriel@das-netzwerkteam.de  Sun Dec 16 00:18:19 2012
Received: from freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [88.198.48.199])
	by ymir (Postfix) with ESMTPS id 744275DA6C;
	Sun, 16 Dec 2012 00:18:19 +0100 (CET)
Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [78.46.204.98])
	by freya.das-netzwerkteam.de (Postfix) with ESMTPS id 4DC49BFF;
	Sun, 16 Dec 2012 00:18:19 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 1EDF63B99C;
	Sun, 16 Dec 2012 00:18:19 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de
Received: from grimnir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id zJl6-vDyU6Qt; Sun, 16 Dec 2012 00:18:19 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id E91253BFDF;
	Sun, 16 Dec 2012 00:18:18 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id CE30F3B99C;
	Sun, 16 Dec 2012 00:18:18 +0100 (CET)
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
	grimnir.das-netzwerkteam.de
X-Spam-Flag: NO
X-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00
	autolearn=ham version=3.3.1 running as userid=
X-Spam-Level: 
X-Spam-Bayes-Score: 0.0000
Received: by grimnir.das-netzwerkteam.de (Postfix, from userid 33)
	id 6ADE73BFDC; Sun, 16 Dec 2012 00:18:18 +0100 (CET)
Received: from 145-191-142-46.pool.kielnet.net
 (145-191-142-46.pool.kielnet.net [46.142.191.145]) by
 mail.das-netzwerkteam.de (Horde Framework) with HTTP; Sun, 16 Dec 2012
 00:18:18 +0100
Message-ID: <20121216001818.19032wbnvmmhfoze@mail.das-netzwerkteam.de>
X-Priority: 3 (Normal)
Date: Sun, 16 Dec 2012 00:18:18 +0100
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: Orion Poplawski <orion@cora.nwra.com>, 89@bugs.x2go.org
Cc: control@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#89: pyhoca-cli fails trying to resume session
References: <50CBAF24.8020905@cora.nwra.com>
In-Reply-To: <50CBAF24.8020905@cora.nwra.com>
MIME-Version: 1.0
Content-Type: multipart/signed;
 boundary="=_2tq3p833t06y";
 protocol="application/pgp-signature";
 micalg="pgp-sha1"
Content-Transfer-Encoding: 7bit
User-Agent: Internet Messaging Program (IMP) H3 (4.3.4)
[Message part 1 (text/plain, inline)]
reassign #89 python-x2go
tag #89 pending
thanks

Hi Orion,

On Fr 14 Dez 2012 23:58:44 CET Orion Poplawski wrote:

> Package: pyhoca-cli
> Version: 0.2.1.0
>
> pyhoca-cli --server vulcan --printing -R orion-51-1355520763_stDXFCE_dp24
> pyhoca-cli[31838] NOTICE: preparing requested X2Go session
> pyhoca-cli[31838] (PyHocaCLI) NOTICE: preparing requested X2Go session
> pyhoca-cli[31838] (x2gosessregistry-pylib) NOTICE: registering X2Go  
> session Pyhoca-Client_Session...
> pyhoca-cli[31838] (x2goclient-pylib) NOTICE: initializing X2Go session...
> pyhoca-cli[31838] (x2gocontrolsession-pylib) NOTICE: connecting to  
> [vulcan]:22
> Traceback (most recent call last):
>   File "/usr/bin/pyhoca-cli", line 414, in <module>
>     thisPyHocaCLI.MainLoop()
>   File "/usr/lib/python2.7/site-packages/pyhoca/cli/frontend.py",  
> line 471, in MainLoop
>     self.resume_session(self.x2go_session_hash)
>   File "/usr/lib/python2.7/site-packages/pyhoca/cli/frontend.py",  
> line 232, in resume_session
>     self._X2goClient__resume_session(s_hash, self.args.resume)
>   File "/usr/lib/python2.7/site-packages/x2go/client.py", line 1534,  
> in resume_session
>     return  
> self.session_registry(session_uuid).resume(session_name=session_name,  
> session_list=self.list_sessions(session_uuid=session_uuid),  
> **sessionopts)
> TypeError: list_sessions() got an unexpected keyword argument 'session_uuid'

This has actually been an issue in Python X2Go. This commit should fix it:
http://code.x2go.org/gitweb?p=python-x2go.git;a=commitdiff;h=a30ff312cbb337dec2cb03f248d2e347910ad688

Thanks for reporting!
Mike


-- 

DAS-NETZWERKTEAM
mike gabriel, rothenstein 5, 24214 neudorf-bornstein
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
[Message part 2 (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Fri May 17 05:49:57 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.