liftoff/GateOne — Issue #90: Saving session when using tmux fails
Author: feinertom
Created: 2012-03-07 13:30:57+00:00
State: open

Opening a gateone session, and running tmux on the server, splitting the screen using ` + "` causes GateOne to raise the exception when asked to export the current session:

[E 120307 15:24:21 websocket:257] Uncaught exception in /ws
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/tornado/websocket.py", line 254, in wrapper
return callback(*args, **kwargs)
File "./gateone.py", line 908, in on_message
PLUGIN_WS_CMDS[key](value, tws=self)# tws==TerminalWebSocket
File "/opt/gateone/plugins/playback/playback.py", line 91, in save_recording
f.write(recording)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 272162-272300: ordinal not in range(128)