[winswitch] Error messages after connecting to xpra remotely

Roberto Hashioka roberto.hashioka at dotcloud.com
Mon Jul 29 23:58:10 BST 2013


I've started a session using xpra 0.9.8 on Ubuntu (quantal) and I'm
accessing it from my Mac xpra 0.9.8. I keep receiving a lot of error
messages.

Host side:

$ ps ax

 928 ?        S      0:00 /usr/bin/python /usr/bin/xpra start :10
--start-child=Xephyr -ac -screen 800x600 -query localhost -host-cursor
-reset -terminate :11 --xvfb=/usr/bin/Xorg -dpi 96 -noreset -nolisten tcp
+extension GLX +extension
  929 ?        Ssl    0:00 /usr/bin/Xorg-for-Xpra-:10 -dpi 96 -noreset
-nolisten tcp +extension GLX +extension RANDR +extension RENDER -logfile
/home/docker/.xpra/Xorg.10.log -config /etc/xpra/xorg.conf :10
  940 ?        S      0:00 dbus-launch --autolaunch
ba2d59e3775cdf648948419c51f5b0c7 --binary-syntax --close-stderr
  941 ?        Ss     0:00 //bin/dbus-daemon --fork --print-pid 5
--print-address 7 --session
  944 ?        S      0:00 /bin/sh -c Xephyr -ac -screen 800x600 -query
localhost -host-cursor -reset -terminate :11
  945 ?        S      0:05 Xephyr -ac -screen 800x600 -query localhost
-host-cursor -reset -terminate :11

Logs:
2013-07-29 22:49:18,943 xpra is ready.
2013-07-29 22:49:20,855 Warning: pulseaudio has terminated. Either fix the
pulseaudio command line or use --no-pulseaudio to avoid this warning.
2013-07-29 22:50:47,369 New connection received:
SocketConnection(/home/docker/.xpra/63aaf6cf579f-10)
2013-07-29 22:50:47,373 Handshake complete; enabling connection
2013-07-29 22:50:47,377 Python/Gtk2 Mac OSX client version 0.9.8 connected
from 'Robertos-MacBook-Pro.local'
2013-07-29 22:50:47,377 using x264 as primary encoding
2013-07-29 22:50:47,377 max client resolution is 1680x1050 (from [[1680,
1050]]), current server resolution is 5120x3200
2013-07-29 22:50:47,377 new resolution matching 1680x1050 : screen now set
to 1680x1050
2013-07-29 22:50:47,383 setting keyboard layout to 'us'
2013-07-29 22:50:47,429 using sound codec mp3
2013-07-29 22:50:47,439 pulseaudio not supported - sound disabled
2013-07-29 22:50:47,437 sending updated screen size to clients: 1680x1050
(max 5120x3200)
2013-07-29 22:50:53,046 error on window 1
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/xpra/server_source.py", line 363,
in do_calculate_delay_thread
    ws.calculate_batch_delay()
  File "/usr/lib/python2.7/dist-packages/xpra/window_source.py", line 518,
in calculate_batch_delay
    calculate_batch_delay(self.window_dimensions, self.wid,
self.batch_config, self.global_statistics, self.statistics)
  File "/usr/lib/python2.7/dist-packages/xpra/batch_delay_calculator.py",
line 68, in calculate_batch_delay
    factors = statistics.get_factors(low_limit, batch.delay)
  File "/usr/lib/python2.7/dist-packages/xpra/window_source.py", line 202,
in get_factors
    factors.append(calculate_for_target(msg, target_latency,
self.avg_damage_in_latency, self.recent_damage_in_latency, aim=0.8,
slope=0.005, smoothing=sqrt))
  File "cymaths.pyx", line 119, in xpra.stats.cymaths.calculate_for_target
(xpra/stats/cymaths.c:2628)
ValueError: math domain error
2013-07-29 22:50:56,029 error on window 1
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/xpra/server_source.py", line 363,
in do_calculate_delay_thread
    ws.calculate_batch_delay()
  File "/usr/lib/python2.7/dist-packages/xpra/window_source.py", line 518,
in calculate_batch_delay
    calculate_batch_delay(self.window_dimensions, self.wid,
self.batch_config, self.global_statistics, self.statistics)
  File "/usr/lib/python2.7/dist-packages/xpra/batch_delay_calculator.py",
line 68, in calculate_batch_delay
    factors = statistics.get_factors(low_limit, batch.delay)
  File "/usr/lib/python2.7/dist-packages/xpra/window_source.py", line 202,
in get_factors
    factors.append(calculate_for_target(msg, target_latency,
self.avg_damage_in_latency, self.recent_damage_in_latency, aim=0.8,
slope=0.005, smoothing=sqrt))
  File "cymaths.pyx", line 119, in xpra.stats.cymaths.calculate_for_target
(xpra/stats/cymaths.c:2628)
ValueError: math domain error
.....

Client side:

Traceback (most recent call last):
  File "xpra/client.pyc", line 1247, in _draw_thread_loop
  File "xpra/client.pyc", line 1293, in _do_draw
  File "xpra/client_window.pyc", line 456, in draw_region
  File "xpra/window_backing.pyc", line 483, in draw_region
  File "xpra/window_backing.pyc", line 415, in paint_image
  File "PIL/Image.pyc", line 535, in tostring
  File "PIL/Image.pyc", line 509, in tobytes
  File "PIL/ImageFile.pyc", line 168, in load
  File "PIL/PngImagePlugin.pyc", line 404, in load_prepare
  File "PIL/ImageFile.pyc", line 252, in load_prepare
  File "PIL/Image.pyc", line 39, in __getattr__

ImportError: The _imaging C module is not installed
2013-07-29 15:57:21,124 draw error
Traceback (most recent call last):
  File "xpra/client.pyc", line 1293, in _do_draw
  File "xpra/client_window.pyc", line 456, in draw_region
  File "xpra/window_backing.pyc", line 483, in draw_region
  File "xpra/window_backing.pyc", line 415, in paint_image
  File "PIL/Image.pyc", line 535, in tostring
  File "PIL/Image.pyc", line 509, in tobytes
  File "PIL/ImageFile.pyc", line 168, in load
  File "PIL/PngImagePlugin.pyc", line 404, in load_prepare
  File "PIL/ImageFile.pyc", line 252, in load_prepare
  File "PIL/Image.pyc", line 39, in __getattr__

ImportError: The _imaging C module is not installed
2013-07-29 15:57:21,125 error processing draw packet
Traceback (most recent call last):
  File "xpra/client.pyc", line 1247, in _draw_thread_loop
  File "xpra/client.pyc", line 1293, in _do_draw
  File "xpra/client_window.pyc", line 456, in draw_region
  File "xpra/window_backing.pyc", line 483, in draw_region
  File "xpra/window_backing.pyc", line 415, in paint_image
  File "PIL/Image.pyc", line 535, in tostring
  File "PIL/Image.pyc", line 509, in tobytes
  File "PIL/ImageFile.pyc", line 168, in load
  File "PIL/PngImagePlugin.pyc", line 404, in load_prepare
  File "PIL/ImageFile.pyc", line 252, in load_prepare
  File "PIL/Image.pyc", line 39, in __getattr__

ImportError: The _imaging C module is not installed

On previous versions it doesn't happen.

Thanks



More information about the shifter-users mailing list