- pifi ssh and server stopped working on Sat Jun 13
- managed to connect via monitor + usb keyboard
- right option + backtick is necessary for typing |
- right option + Q is necessary for typing @
- network works. Can curl external sites
- nothing in logs
- seemed like a weekly logrotate had run in the past 24 hours.
- able to ssh from self to self, using either IP address of pifi.club domain name
- ssh service was running
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Jul 28 05:28:27 pifi PIFI_QUEUE[23729]: 2020-07-28T04:28:27.021379+00:00 [info] [VideoProcessor__YU6P4] Starting process_and_play for url: https://www.youtube.com/watch?v=RB-RcX5DS5A, VideoSettings: {'color_mode': 'color', 'display_width': 28, 'display_height': 18, 'brightness': 3, 'flip_x': False, 'flip_y': False, 'log_level': 'verbose', 'should_play_audio': True, 'should_save_video': False, 'should_check_playlist': True, 'should_predownload_video': False} | |
Jul 28 05:28:27 pifi PIFI_QUEUE[23729]: 2020-07-28T04:28:27.067095+00:00 [info] [VideoProcessor__YU6P4] Deleting orphaned ffmpeg_to_python_fifos... | |
Jul 28 05:28:27 pifi PIFI_QUEUE[23729]: 2020-07-28T04:28:27.151926+00:00 [info] [VideoProcessor__YU6P4] Deleting orphaned incomplete video downloads... | |
Jul 28 05:28:27 pifi PIFI_QUEUE[23729]: 2020-07-28T04:28:27.235669+00:00 [info] [VideoProcessor__YU6P4] Calculating video fps... | |
Jul 28 05:28:27 pifi PIFI_QUEUE[23729]: 2020-07-28T04:28:27.235961+00:00 [info] [VideoProcessor__YU6P4] Downloading and populating vi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[laptop] ~/vgmplay/VGMPlay % make install MACOSX=1 DISABLE_HWOPL_SUPPORT=1 | |
Compiling chips/262intf.c ... | |
warning: unknown warning option '-Wno-unused-but-set-variable'; did you mean '-Wno-unused-const-variable'? [-Wunknown-warning-option] | |
1 warning generated. | |
Compiling chips/2151intf.c ... | |
warning: unknown warning option '-Wno-unused-but-set-variable'; did you mean '-Wno-unused-const-variable'? [-Wunknown-warning-option] | |
1 warning generated. | |
Compiling chips/2203intf.c ... | |
warning: unknown warning option '-Wno-unused-but-set-variable'; did you mean '-Wno-unused-const-variable'? [-Wunknown-warning-option] | |
1 warning generated. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[laptop] ~/vgmplay/VGMPlay % make install MACOSX=1 DISABLE_HWOPL_SUPPORT=1 | |
Compiling chips/262intf.c ... | |
warning: unknown warning option '-Wno-unused-but-set-variable'; did you mean '-Wno-unused-const-variable'? [-Wunknown-warning-option] | |
1 warning generated. | |
Compiling chips/2151intf.c ... | |
warning: unknown warning option '-Wno-unused-but-set-variable'; did you mean '-Wno-unused-const-variable'? [-Wunknown-warning-option] | |
1 warning generated. | |
Compiling chips/2203intf.c ... | |
warning: unknown warning option '-Wno-unused-but-set-variable'; did you mean '-Wno-unused-const-variable'? [-Wunknown-warning-option] | |
1 warning generated. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import socket | |
import sys | |
import traceback | |
# Create a UDS socket | |
sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM) | |
# Connect the socket to the port where the server is listening | |
server_address = './uds_socket' | |
print('connecting to {}'.format(server_address)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import socket | |
import sys | |
import traceback | |
import datetime | |
import pytz | |
def log(msg): | |
msg = (datetime.datetime.now(pytz.timezone('UTC')).isoformat() + " " + msg) | |
print(msg, file = sys.stdout, flush = True) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require 'Loader.php'; | |
use Google\ApiCore\ApiException; | |
try { | |
regularException(); | |
} catch (Exception $e) { | |
echo "regular exception toString:\n"; | |
echo "$e"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pi@pifi:/var/log $ dmesg -T | |
[Mon Sep 21 14:46:17 2020] Booting Linux on physical CPU 0x0 | |
[Mon Sep 21 14:46:17 2020] Linux version 4.19.97-v7+ (dom@buildbot) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1294 SMP Thu Jan 30 13:15:58 GMT 2020 | |
[Mon Sep 21 14:46:17 2020] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d | |
[Mon Sep 21 14:46:17 2020] CPU: div instructions available: patching division code | |
[Mon Sep 21 14:46:17 2020] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache | |
[Mon Sep 21 14:46:17 2020] OF: fdt: Machine model: Raspberry Pi 3 Model B Plus Rev 1.3 | |
[Mon Sep 21 14:46:17 2020] Memory policy: Data cache writealloc | |
[Mon Sep 21 14:46:17 2020] cma: Reserved 8 MiB at 0x3ac00000 | |
[Mon Sep 21 14:46:17 2020] On node 0 totalpages: 242688 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pi@pifi:/var/log $ cat -E /boot/cmdline.txt | |
console=serial0,115200 console=tty1 root=PARTUUID=6c586e13-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait brcmfmac.debug=0x100000$ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/go/pools/numbered.go b/go/pools/numbered.go | |
index ef4e3ea30..48b497807 100644 | |
--- a/go/pools/numbered.go | |
+++ b/go/pools/numbered.go | |
@@ -134,30 +134,31 @@ func (nu *Numbered) Put(id int64) { | |
nu.mu.Lock() | |
defer nu.mu.Unlock() | |
if nw, ok := nu.resources[id]; ok { | |
nw.inUse = false | |
nw.purpose = "" |