13 Nov
2022
13 Nov
'22
12:08 a.m.
[user@ log]$ echo 'Hello, universe!' | python3 capture_stdin.py warning: this script hopefully works but drops chunks due to waiting on network and not buffering input Capturing ... {"ditem": ["xh3tnvuWDvIW-oCppJDT0I-g4mGPvxbefQQk91Vp1eQ"], "min_block": [1056137, "1Y6t7APOqSpYeZM8XUL78webqgvrnVzr3gFKhlKscygSmdtyPVBT7VulnSzzhkYk"], "api_block": 1056537} Traceback (most recent call last): File "/shared/src/log/capture_stdin.py", line 65, in <module> api_block = data_array[-1]['block'], IndexError: list index out of range I guess I'll debug this error!