skoneka/screen-session — Issue #13: Crash when saving
Author: barefootcoder
Created: 2011-10-21 21:08:29+00:00
State: open

Just installed `screen-session`. `scs dump` seems to work fine, but save gives me a crash:

[tyr:~] scs save base

Creating directories:
Setting up session directory "base__tmp"

Saving layouts:
No layouts to save.

Saving windows:
Traceback (most recent call last):
File "/usr/local/share/screen-session/screen_saver.py", line 305, in main
ret = scs.save()
File "/usr/local/share/screen-session/ScreenSaver.py", line 121, in save
self.__save_screen()
File "/usr/local/share/screen-session/ScreenSaver.py", line 883, in __save_screen
cpids = sc.get_tty_pids(ctty)
File "/usr/local/share/screen-session/GNUScreen.py", line 532, in _get_tty_pids_ps_with_cache_find
return tty_and_pids[int(ctty.rsplit('/', 1)[1])]
KeyError: 8
session saving totally failed
0 basic; 4 basic; 6 basic; 34 basic; 33 basic; 32 basic; 31 basic; 30 basic; 29 basic; 28 basic; 27 basic; 26 basic; 25 basic; (vim)24 basic; (vim)23 basic; 22 basic; 21 basic; 20 basic; 19 basic; 18 basic; 17 basic; 16 basic; (vim)15 basic; 14 basic; 13 basic; 12 basic; 11 basic; 10 basic; 9 basic; 8 basic; 7 basic; [tyr:~]
[tyr:~] scs --version
screen-session 0.6.4 - a collection of tools for GNU Screen.
[tyr:~] screen --version
Screen version 4.01.00scs_0.6.4 (screen-session project) 27-August-11

Any thoughts?