From mike.gabriel@das-netzwerkteam.de  Sun Dec 16 00:18:19 2012
Received: (at 89) by bugs.x2go.org; 15 Dec 2012 23:18:19 +0000
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)

This message is in MIME format and has been PGP signed.

--=_2tq3p833t06y
Content-Type: text/plain;
 charset=UTF-8;
 DelSp="Yes";
 format="flowed"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

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

--=_2tq3p833t06y
Content-Type: application/pgp-signature
Content-Description: Digitale PGP-Unterschrift
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAABAgAGBQJQzQU6AAoJEJr0azAldxsx6SAQAIHy3/Pcm3s/JrJKHBLEuo7h
w1JyZkpcFXg8YqFZ8aDeqnt390M3PxI4WE7jxPX4dtvzBVpWJwRYkM/ro4flXu0N
RON5EDzl2LmL3fPl4W/yVgZkZudFot2Q17GVKlW0Om/l9G7hLrFfoN4medf8F6Dh
F2Bru8uFRPhChs+DnOFyeH8KnTPsSWznhu8UYjQaZISkjVmYU1mlj3GckUt98Ygj
hvhLyt7geJ0mw9Jz/9pwJHPpYh7oMCm0swuKbSdxMiPZbbJTuZkq+J8Rdg7SZ2uv
RQm/TohsOypuNRt2n2pwV/BRAadmENBWUeVg5C6eT6RJP6R8HZcVWcqF0spCEZPt
B0ULd7kafGFzb8Pgfp+q8fFSodun9w98WGSo5Q6vQ9+CbGAETQKSfxixPoqT/QQh
WtFrWOOzpF+OBjQ/rEnyWYH9wX94GfZOX8uXm7RFgXxJhsdLg0mk/RSwf20Q5rNG
1SYUo4EsZRnT8ZZABLBIoZgsQoPUSutg7kG575xf1kreWKcDlObvBg+HMZypoxhY
FKlbUq4pEW/BiIz7h0gnabYx+qX1Ip26Nn89H5Texd0c76VB2nduGhNt1PVzkhkd
1bKH88io0p796jD4F0FBJ9Gbjx4eYBFTN/R5KSnL6mbbl/4vrvGf+BetcUBZ05Rw
RtgTLw9unZVhR5ZxUKRF
=MYNG
-----END PGP SIGNATURE-----

--=_2tq3p833t06y--
