xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.

Opened 3 years ago

Closed 3 years ago

Last modified 17 months ago

#2334 closed defect (fixed)

cannot concatenate 'str' and 'memoryview' objects

Reported by: berserker Owned by: Antoine Martin
Priority: major Milestone: 3.0
Component: network Version: 2.5.x
Keywords: Cc:


xpra GTK2 X11 version 2.5-r22138 64-bit
 running with pid 1 on Linux CentOS Linux 7.6.1810 Core
HTML5 Posix Firefox client version 3.0

(Note that I'm using HTML5 client version 3.0 with Xpra version 2.5)

2019-06-15 23:10:43,923 Error: read on ws socket: <- failed: <type 'exceptions.TypeError'>
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/xpra/net/protocol.py", line 638, in _io_thread_loop
    while not self._closed and callback():
  File "/usr/lib64/python2.7/site-packages/xpra/net/protocol.py", line 717, in _read
  File "/usr/lib64/python2.7/site-packages/xpra/net/websockets/protocol.py", line 160, in parse_ws_frame
  File "/usr/lib64/python2.7/site-packages/xpra/net/websockets/protocol.py", line 169, in _process_ws_ping
    item = encode_hybi_header(OPCODE_PONG, len(payload)) + payload
TypeError: cannot concatenate 'str' and 'memoryview' objects
2019-06-15 23:10:43,932 xpra client 1 disconnected.

Change History (2)

comment:1 Changed 3 years ago by Antoine Martin

Resolution: fixed
Status: assignedclosed

I'm not sure why I never hit this bug, strange.
Trivial fix (you can apply it by hand) in r22961.

Last edited 3 years ago by Antoine Martin (previous) (diff)

comment:2 Changed 17 months ago by migration script

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2334

Note: See TracTickets for help on using tickets.