2023-12-20 09:56:21.165 - ovos.common_play - ERROR - [Errno 2] No such file or directory: 'tasklist'
Traceback (most recent call last):
File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_utils/system.py", line 283, in is_process_running
s = subprocess.Popen(["ps", "axw"], stdout=subprocess.PIPE)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/subprocess.py", line 1024, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.11/subprocess.py", line 1901, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'ps'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_utils/messagebus.py", line 601, in wrapper
handler(message)
File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_plugin_common_play/ocp/__init__.py", line 281, in handle_play
results = self._search(phrase, utterance, media_type)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_plugin_common_play/ocp/__init__.py", line 349, in _search
for r in self.player.media.search(phrase, media_type=media_type):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_plugin_common_play/ocp/search.py", line 393, in search
query = OCPQuery(query=phrase, media_type=media_type, ocp_search=self,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_plugin_common_play/ocp/search.py", line 41, in __init__
self.reset()
File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_plugin_common_play/ocp/search.py", line 60, in reset
self.has_gui = is_gui_running() or is_gui_connected(self.bus)
^^^^^^^^^^^^^^^^
File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_utils/gui.py", line 42, in is_gui_running
return any((is_process_running(app) for app in applications))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_utils/gui.py", line 42, in <genexpr>
return any((is_process_running(app) for app in applications))
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_utils/system.py", line 285, in is_process_running
s = subprocess.Popen(["tasklist", "/v"], stdout=subprocess.PIPE)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/subprocess.py", line 1024, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.11/subprocess.py", line 1901, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'tasklist'