Subject: Re: [X2Go-Dev] Bug#194: Traceback in pyhoca-gui
From: Mike Gabriel <[email-masked]>
To: Dick Kniep <[email-masked]>
Cc: [email-masked]
Date: Thu, 18 Jul 2013 22:43:10 +0200

Hi Dick,

On Fr 26 Apr 2013 09:35:45 CEST Dick Kniep wrote:

> Package: python-x2go
> Severity: normal
> Version 0.4.0.2
>
> Following log is produced on Ubuntu 12.10 using Menea to connect to.  
> The connection is established and the terminal is started, however,  
> there is a traceback in the logs. It is the standard pyhoca that is  
> on  ppa:x2go/stable

> [...]

> pyhoca-gui[6345] (x2goproxy-pylib) DEBUG: waiting for proxy to come  
> up: 0.4s x 1
> pyhoca-gui[6345] (x2goguardian-pylib) DEBUG: Entering X2Go Guardian  
> client management loop...
> Exception in thread Thread-1:
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
>     self.run()
>   File "/usr/lib/python2.7/threading.py", line 505, in run
>     self.__target(*self.__args, **self.__kwargs)
>   File "/usr/lib/python2.7/dist-packages/x2go/guardian.py", line  
> 116, in guardian
>     update_mounts=self.auto_update_listmounts_cache,
>   File "/usr/lib/python2.7/dist-packages/x2go/client.py", line 3117,  
> in update_cache_all_profiles
>     for profile_name in  
> self.client_connected_profiles(return_profile_names=True):
>   File "/usr/lib/python2.7/dist-packages/x2go/client.py", line 2958,  
> in client_connected_profiles
>     return [ self.to_profile_name(p_id) for p_id in  
> self.session_registry.connected_profiles() ]
>   File "/usr/lib/python2.7/dist-packages/x2go/client.py", line 2929,  
> in to_profile_name
>     return self.session_profiles.to_profile_name(profile_id)
>   File  
> "/usr/lib/python2.7/dist-packages/x2go/backends/profiles/_file.py",  
> line 343, in to_profile_name
>     _profile_config = self.get_profile_config(profile_id=profile_id)
>   File  
> "/usr/lib/python2.7/dist-packages/x2go/backends/profiles/_file.py",  
> line 215, in get_profile_config
>     for option in self.iniConfig.options(_profile_id):
>   File "/usr/lib/python2.7/ConfigParser.py", line 279, in options
>     raise NoSectionError(section)
> NoSectionError: No section: '20130426070420965145'
>
> pyhoca-gui[6345] (x2gofwtunnel-pylib) INFO: connected!  Tunnel open  
> ('127.0.0.1', 53774) -> ('127.0.0.1', 44444) -> ('127.0.0.1', 30001)

> [...]

I believe that this issue got fixed in python-x2go 0.4.0.4. I close  
this bug  (#194) with this message. If tracebacks like the one above  
still occur to you, feel free to reopen this issue.

Please test with the just about to be released python-x2go 0.4.0.5.

Thanks,
Mike

-- 

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: [email-masked], http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb