[X2Go-Dev] Bug#89: pyhoca-cli fails trying to resume session

Mike Gabriel mike.gabriel at das-netzwerkteam.de
Sun Dec 16 00:18:18 CET 2012


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 at das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digitale PGP-Unterschrift
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20121216/809b5bf0/attachment.pgp>


More information about the x2go-dev mailing list