[winswitch] Failed to encode packet error using xpra-0.8.3

Douglas Doole dougdoole at gmail.com
Tue Feb 12 16:09:36 GMT 2013


I just updated my Ubuntu systems (client and server are both running
Precise) to xpra-0.8.3-1. Things were working fine prior to the update. (I
was using 0.8.1 on both client and server.)

I upgraded the display at the server with no problems (xpra upgrade :1).

When I attempt to connect, however, I get a "Failed to encode packet"
error: (I pruned this a bit so it fits in the email)

xpra attach ssh:reorx:1
xpra client version 0.8.3
2013-02-12 10:58:24,326 failed to encode packet: ['hello', {'bell': True,
'named_cursors': True, 'python_version': (2, 7, 3), 'gtk_version': (2, 24,
10), 'encoding': 'x264', ... 'encoding.min-speed': 0, 'dpi': 96}]
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/xpra/protocol.py", line 330, in
encode
    main_packet, proto_version = self._encoder(packet)
  File "/usr/lib/python2.7/dist-packages/xpra/protocol.py", line 282, in
bencode
    return bencode(data), 0
  File "/usr/lib/python2.7/dist-packages/xpra/bencode.py", line 124, in
bencode
    encode_func[type(x)](x, r)
  File "/usr/lib/python2.7/dist-packages/xpra/bencode.py", line 89, in
encode_list
    encode_func[type(i)](i, r)
  File "/usr/lib/python2.7/dist-packages/xpra/bencode.py", line 98, in
encode_dict
    encode_func[type(v)](v, r)
  File "/usr/lib/python2.7/dist-packages/xpra/bencode.py", line 89, in
encode_list
    encode_func[type(i)](i, r)
  File "/usr/lib/python2.7/dist-packages/xpra/bencode.py", line 89, in
encode_list
    encode_func[type(i)](i, r)
  File "/usr/lib/python2.7/dist-packages/xpra/bencode.py", line 89, in
encode_list
    encode_func[type(i)](i, r)
  File "/usr/lib/python2.7/dist-packages/xpra/bencode.py", line 89, in
encode_list
    encode_func[type(i)](i, r)
KeyError: <type 'NoneType'>
Exception in thread format:
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/python2.7/dist-packages/xpra/protocol.py", line 198, in
_write_format_thread_loop
    self._add_packet_to_queue(*self._get_packet_cb())
  File "/usr/lib/python2.7/dist-packages/xpra/protocol.py", line 205, in
_add_packet_to_queue
    packets, proto_flags = self.encode(packet)
  File "/usr/lib/python2.7/dist-packages/xpra/protocol.py", line 338, in
encode
    raise e
KeyError: <type 'NoneType'>

2013-02-12 10:58:35,119 server requested disconnect: login timeout
2013-02-12 10:58:35,140 connection closed after 1 packets received (47
bytes) and 0 packets sent (0 bytes)
2013-02-12 10:58:35,142 Connection lost

Any suggestions?
-- 
-- Doug Doole

aibohphobia - The irrational fear of palindromes



More information about the shifter-users mailing list