Hello
I am running HA in a venv (HA 0.103.5 (latest), Python 3.7.3 and FFmpeg 4.1.4.1)… I am getting a lot of error messages about RING… Anyone has the same issue ? (I know this issue is exist for a while but as far as I know it has been fixed in a previous version of HA). Other camera’s are working just fine, just Ring having the problem. Any help will be much appreciated.
Here are my error messages:
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.7/site-packages/haffmpeg/core.py", line 136, in open
self._proc = await self._loop.run_in_executor(None, proc_func)
File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/lib/python3.7/subprocess.py", line 775, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.7/subprocess.py", line 1453, in _execute_child
restore_signals, start_new_session, preexec_fn)
TypeError: expected str, bytes or os.PathLike object, not bool
2020-01-03 17:51:51 WARNING (MainThread) [haffmpeg.tools] Error starting FFmpeg.
2020-01-03 17:52:12 ERROR (MainThread) [haffmpeg.core] FFmpeg fails expected str, bytes or os.PathLike object, not bool
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.7/site-packages/haffmpeg/core.py", line 136, in open
self._proc = await self._loop.run_in_executor(None, proc_func)
File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/lib/python3.7/subprocess.py", line 775, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.7/subprocess.py", line 1453, in _execute_child
restore_signals, start_new_session, preexec_fn)
TypeError: expected str, bytes or os.PathLike object, not bool
2020-01-03 17:52:12 WARNING (MainThread) [haffmpeg.core] FFmpeg isn't running!
2020-01-03 17:52:12 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.7/site-packages/aiohttp/web_protocol.py", line 418, in start
resp = await task
File "/srv/homeassistant/lib/python3.7/site-packages/aiohttp/web_app.py", line 458, in _handle
resp = await handler(request)
File "/srv/homeassistant/lib/python3.7/site-packages/aiohttp/web_middlewares.py", line 119, in impl
return await handler(request)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/http/real_ip.py", line 40, in real_ip_middleware
return await handler(request)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/http/ban.py", line 73, in ban_middleware
return await handler(request)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/http/auth.py", line 136, in auth_middleware
return await handler(request)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/http/view.py", line 123, in handle
result = await result
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/camera/__init__.py", line 496, in get
return await self.handle(request, camera)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/camera/__init__.py", line 531, in handle
return await camera.handle_async_mjpeg_stream(request)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/ring/camera.py", line 152, in handle_async_mjpeg_stream
stream_reader = await stream.get_reader()
File "/srv/homeassistant/lib/python3.7/site-packages/haffmpeg/core.py", line 181, in get_reader
lambda: reader_protocol, self._proc.stdout
AttributeError: 'NoneType' object has no attribute 'stdout'
2020-01-03 17:52:15 ERROR (MainThread) [haffmpeg.core] FFmpeg fails expected str, bytes or os.PathLike object, not bool
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.7/site-packages/haffmpeg/core.py", line 136, in open
self._proc = await self._loop.run_in_executor(None, proc_func)
File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/lib/python3.7/subprocess.py", line 775, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.7/subprocess.py", line 1453, in _execute_child
restore_signals, start_new_session, preexec_fn)
TypeError: expected str, bytes or os.PathLike object, not bool
2020-01-03 17:52:15 WARNING (MainThread) [haffmpeg.tools] Error starting FFmpeg.
2020-01-03 17:54:29 ERROR (MainThread) [haffmpeg.core] FFmpeg fails expected str, bytes or os.PathLike object, not bool
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.7/site-packages/haffmpeg/core.py", line 136, in open
self._proc = await self._loop.run_in_executor(None, proc_func)
File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/lib/python3.7/subprocess.py", line 775, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.7/subprocess.py", line 1453, in _execute_child
restore_signals, start_new_session, preexec_fn)
TypeError: expected str, bytes or os.PathLike object, not bool
2020-01-03 17:54:29 WARNING (MainThread) [haffmpeg.tools] Error starting FFmpeg.