I’m using the Python App function to run twarc to collect tweets.
I’m new to using screen, so i’m not sure if I’m doing something wrong or if there’s something else happening. I opened up a few screen sessions with scripts running and they worked even after I detached (I was monitoring the filesize). I tried to return to them and I got this:
Brandons-MacBook-Pro-4:~ brandonlocke$ ssh brandon3@brandontlocke.com
Enter passphrase for key '/Users/brandonlocke/.ssh/id_rsa':
brandon3@huskerdu [~]# screen -D -r
Remove dead screens with 'screen -wipe'.
Suddenly the Dungeon collapses!! - You die...
brandon3@huskerdu [~]# screen -ls
There are screens on:
406457.pts-0.huskerdu (Detached)
381770.pts-0.huskerdu (Dead ???)
Remove dead screens with 'screen -wipe'.
2 Sockets in /var/run/screen/S-brandon3.
brandon3@huskerdu [~]# screen -r 406457.pts-0.huskerdu
Suddenly the Dungeon collapses!! - You die...
brandon3@huskerdu [~]# -r 381770.pts-0.huskerdu
-bash: -r: command not found
brandon3@huskerdu [~]# screen -r 381770.pts-0.huskerdu
There is a screen on:
381770.pts-0.huskerdu (Dead ???)
Remove dead screens with 'screen -wipe'.
There is no screen to be resumed matching 381770.pts-0.huskerdu.
brandon3@huskerdu [~]# screen -wipe
There are screens on:
406457.pts-0.huskerdu (Detached)
381770.pts-0.huskerdu (Removed)
1 socket wiped out.
1 Socket in /var/run/screen/S-brandon3.
brandon3@huskerdu [~]# screen -ls
There is a screen on:
406457.pts-0.huskerdu (Detached)
1 Socket in /var/run/screen/S-brandon3.
brandon3@huskerdu [~]# screen -r 406457.pts-0.huskerdu
There is a screen on:
406457.pts-0.huskerdu (Dead ???)
Remove dead screens with 'screen -wipe'.
There is no screen to be resumed matching 406457.pts-0.huskerdu.
brandon3@huskerdu [~]# screen -ls
There is a screen on:
406457.pts-0.huskerdu (Dead ???)
Remove dead screens with 'screen -wipe'.
1 Socket in /var/run/screen/S-brandon3.
brandon3@huskerdu [~]# screen -r
There is a screen on:
406457.pts-0.huskerdu (Dead ???)
Remove dead screens with 'screen -wipe'.
There is no screen to be resumed.
brandon3@huskerdu [~]# screen -wipe
There is a screen on:
406457.pts-0.huskerdu (Removed)
1 socket wiped out.
No Sockets found in /var/run/screen/S-brandon3.
So I tried to return to the screen, but kept getting the “Suddenly the Dungeon collapses!” message, and I apparently just killed the sessions by trying to reconnect.
Am I doing something wrong?