Skip to content

Commit

Permalink
some messages coming out of the opengl error handlers can come out as…
Browse files Browse the repository at this point in the history
… unicode, ensure we don't try to send that to the network layer: always convert to string

git-svn-id: https://xpra.org/svn/Xpra/trunk@15017 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Feb 8, 2017
1 parent 86da182 commit 555365c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xpra/client/ui_client_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -3026,7 +3026,7 @@ def record_decode_time(success, message=""):
assert success<0
decode_time = 0
paintlog("record_decode_time(%s, %s) decoding or painting skipped on wid=%s, %s: %sx%s", success, message, wid, coding, width, height)
self.send_damage_sequence(wid, packet_sequence, width, height, decode_time, message)
self.send_damage_sequence(wid, packet_sequence, width, height, decode_time, str(message))
self._draw_counter += 1
if PAINT_FAULT_RATE>0 and (self._draw_counter % PAINT_FAULT_RATE)==0:
drawlog.warn("injecting paint fault for %s draw packet %i, sequence number=%i", coding, self._draw_counter, packet_sequence)
Expand Down

0 comments on commit 555365c

Please sign in to comment.