keshavdv / unifi-cam-proxy

Enable non-Ubiquiti cameras to work with Unifi NVR
MIT License
1.6k stars 226 forks source link

Looks like the last supported Unifi Protect version is 1.20.3 #223

Closed KarlBaumann closed 2 years ago

KarlBaumann commented 2 years ago

Every version after 1.20.3 triggers following errors: proxy1_1 | 2022-05-04 15:45:01 7fdb740cc2be DahuaCam[1] INFO Processing [GetSystemStats] message proxy1_1 | Traceback (most recent call last): proxy1_1 | File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main proxy1_1 | return _run_code(code, main_globals, None, proxy1_1 | File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code proxy1_1 | exec(code, run_globals) proxy1_1 | File "/app/unifi/clock_sync.py", line 167, in <module> proxy1_1 | main() proxy1_1 | File "/app/unifi/clock_sync.py", line 161, in main proxy1_1 | write(read_bytes(source, payload_size)) proxy1_1 | File "/app/unifi/clock_sync.py", line 87, in write proxy1_1 | sys.stdout.buffer.write(data) proxy1_1 | BrokenPipeError: [Errno 32] Broken pipe proxy1_1 | Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'> proxy1_1 | BrokenPipeError: [Errno 32] Broken pipe proxy1_1 | av_interleaved_write_frame(): Broken pipe proxy1_1 | Error writing trailer of pipe:: Broken pipe

keshavdv commented 2 years ago

This is likely the same problem as #199.