[Parti-discuss] xpra -> command not found -> <string>: (2, 'No such file or directory')

Nathaniel Smith njs at pobox.com
Thu Oct 30 21:18:39 EDT 2008


2008/10/30 Ivan Perez <ivanperezdominguez at gmail.com>:
> 23:37:12 ~/parti-all-0.0.4$ install/bin/xpra attach ssh:eric at 192.168.1.9:13
> Attached
> PropertyNotify event received
> Unhandled exception in x_event_filter:
> Traceback (most recent call last):
>   File "wimpiggy.lowlevel.bindings.pyx", line 1219, in
> wimpiggy.lowlevel.bindings.x_event_filter
> TypeError: 'dict' object is unindexable
>
> (this message, from PropertyNotify to TypeError, is printed 15 more times)

This TypeError is strange...

> sending ['hello', {'__prerelease_version': '0.0.4', 'deflate': 3}]
> eric at 192.168.1.9's password:
> bash: xpra: command not found
> Connection lost

This is definitely a path problem, as you diagnosed.

> Traceback (most recent call last):
>   File "/home/eric/parti-all-0.0.4/install/bin/xpra", line 6, in <module>
>     xpra.scripts.main.main(sys.argv)
>   File "install/lib/python/xpra/scripts/main.py", line 54, in main
>   File "install/lib/python/xpra/scripts/main.py", line 92, in run_proxy
>   File "install/lib/python/xpra/scripts/main.py", line 75, in client_sock
>   File "<string>", line 1, in connect
> socket.error: (2, 'No such file or directory')
> Connection lost

This looks like it couldn't find the server socket at ~/.xpra/:13 to
connect to.  Are you sure the server was running?

In any case, I would recommend trying the latest development version,
which has a number of fixes.  In particular, one of the new features
that will be in the next version is that xpra should magically take
care of path issues for you.  (Instead of having to write that shell
script you wrote by hand, the server automatically writes it out at
startup, to a  location in ~/.xpra/ where the client knows to look for
it.)  I think it might also give better diagnostics if the server
isn't running -- I'm not sure.

If you still see that TypeError with the latest version, please send
the full traceback.  If for whatever reason you can't or don't try the
latest version, then please send the full traceback from 0.0.4, so I
can look at it...

-- Nathaniel



More information about the Parti-discuss mailing list