[winswitch] xpra-0.17.0 on Centos 7

Antoine Martin antoine at nagafix.co.uk
Mon Apr 25 08:53:53 BST 2016


On 25/04/16 13:05, Bob Tennent wrote:
> 
> xpra attach ssh:... fails:
(snip)
> XDG_RUNTIME_DIR: Undefined variable.
> 2016-04-25 01:55:26,043 The SSH process has terminated with exit code 0
> 2016-04-25 01:55:26,044  the command line used was:
> 2016-04-25 01:55:26,044 Error: read on Pipe(ssh:...:100) failed: <type 'exceptions.UnboundLocalError'>
> Traceback (most recent call last):
>   File "/usr/lib64/python2.7/site-packages/xpra/net/protocol.py", line 548, in _io_thread_loop
>     callback()
>   File "/usr/lib64/python2.7/site-packages/xpra/net/protocol.py", line 597, in _read
>     buf = self._conn.read(READ_BUFFER_SIZE)
>   File "/usr/lib64/python2.7/site-packages/xpra/net/bytestreams.py", line 202, in read
>     self.may_abort("read")
>   File "/usr/lib64/python2.7/site-packages/xpra/net/bytestreams.py", line 199, in may_abort
>     self._abort_test(action)
>   File "/usr/lib64/python2.7/site-packages/xpra/scripts/main.py", line 1388, in abort_test
>     log.error(" %s", cmd_info)
> UnboundLocalError: local variable 'cmd_info' referenced before assignment
This ugly stacktrace will be replaced with the more correct and helpful
error message in the next stable update:
http://xpra.org/trac/changeset/12479

I can reproduce this by using the wrong host or display, but if the
parameters are correct - things connect fine over SSH with 0.17.
Please include your distro, command lines, etc..

Cheers
Antoine




More information about the shifter-users mailing list