xpra unstable

Bug #1159871 reported by Rolf Leggewie
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
xpra (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I've only recently discovered xpra. I use it between two machines that are both running precise. The version I have installed is 0.0.7.36+dfsg-1. I get many python errors on the command line. Quite frequently, they are fatal and I have to reattach to the session. Here is one of them.

leggewie@X24:~$ Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 504, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/xpra/xpra/proxy.py", line 25, in _to_client_loop
    self._copy_loop("<-server", self._server_conn, self._client_conn)
  File "/usr/lib/xpra/xpra/proxy.py", line 35, in _copy_loop
    buf = from_conn.read(4096)
  File "/usr/lib/xpra/xpra/protocol.py", line 57, in read
    return self._s.recv(n)
error: [Errno 104] Connection reset by peer

Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 504, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/xpra/xpra/proxy.py", line 29, in _to_server_loop
    self._copy_loop("->server", self._client_conn, self._server_conn)
  File "/usr/lib/xpra/xpra/proxy.py", line 42, in _copy_loop
    buf = buf[to_conn.write(buf):]
  File "/usr/lib/xpra/xpra/protocol.py", line 60, in write
    return self._s.send(buf)
error: [Errno 32] Broken pipe

I was running pidgin in that xpra session. Xpra crashed when I double-clicked on an IRC group. While I entered the group the xpra session crashed with above error.

Tags: precise
Revision history for this message
Rolf Leggewie (r0lf) wrote :

Here is another (non-fatal) error

$ /usr/lib/xpra/xpra/client.py:168: GtkWarning: IA__gtk_window_set_type_hint: assertion `!gtk_widget_get_mapped (GTK_WIDGET (window))' failed
  self.set_type_hint(hint)

Revision history for this message
Rolf Leggewie (r0lf) wrote :

and another one when detaching from a session.

$ xpra detach ssh:laptop:74
Enter passphrase for key '/home/rolf/.ssh/id_dsa':
Exception in thread read_loop (most likely raised during interpreter shutdown):
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
  File "/usr/lib/python2.7/threading.py", line 504, in run
  File "/usr/lib/xpra/xpra/protocol.py", line 245, in _read_thread_loop
<type 'exceptions.TypeError'>: 'NoneType' object is not callable

Why do I have to enter password credentials when detaching from a remote ssh-session anyhow, I wonder?

Revision history for this message
أحمد المحمودي (Ahmed El-Mahmoudy) (aelmahmoudy) wrote :

That is a very old version of xpra

Revision history for this message
Rolf Leggewie (r0lf) wrote :

Ahmed, good to see you. How are you doing?

0.0.7.36+dfsg-1 is the latest, up-todate version available in precise LTS (which itself was released less than a year ago).

I'll see if I can backport a later version of the package for testing. Nonetheless, the version in the LTS is what it is.

Revision history for this message
أحمد المحمودي (Ahmed El-Mahmoudy) (aelmahmoudy) wrote :

I'm fine thanks.

Quantal & Raring have 0.3.11+dfsg-1.
Personally, I am using 0.7.5+dfsg-1 which I got from Debian experimental.
Latest on Debian experimental is 0.8.8+dfsg-1 but it can't be sync'ed easily to Ubuntu since it requires libav 9.1

Revision history for this message
Rolf Leggewie (r0lf) wrote :

I managed to backport the package from unstable to precise without much trouble. I'll let you know how it goes.

When installing said package, I noticed that a bunch of multimedia-related packages were being pulled in. Overall about 20MB worth. I don't need multimedia remotely and would appreciate if xpra packaging could be modularized to allow finer control.

Thank you for maintaining the package.

Revision history for this message
Rolf Leggewie (r0lf) wrote :

The error from comment 1 is still present. I'll report back if I experience any stability issues.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xpra (Ubuntu):
status: New → Confirmed
Revision history for this message
peter swain (swine) wrote :

upstream xpra seems stable, after a small tweak ...
:/home/swine/gittrees/xpra-0.10.6+dfsg: diff -rup xpra/scripts/main.py{.orig,}
--- xpra/scripts/main.py.orig 2013-11-03 18:06:57.057468930 -0800
+++ xpra/scripts/main.py 2013-11-03 18:55:40.247964249 -0800
@@ -787,7 +787,7 @@ def run_proxy(parser, opts, script_file,
     from xpra.server.proxy import XpraProxy
     assert "gtk" not in sys.modules
     if start_server:
- assert len(args)==1, "proxy-start: expected 1 argument but got %s" % len(args)
+ assert len(args) >= 1, "proxy-start: expected 1+ arguments but got %s (%s)" % (len(args), " ".join(args))
         display_name = args[0]
         #we must use a subprocess to avoid messing things up - yuk
         cmd = [script_file, "start"]+args

Because ubuntu starts "Xsession true", 2 args.
Now to turn that into a dpkg (tomorrow?)

Ken Sharp (kennybobs)
summary: - xpra unstable - please help to triage
+ xpra unstable
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.