Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No such file or directory: 'tasklist' #113

Open
goldyfruit opened this issue Mar 28, 2023 · 3 comments
Open

No such file or directory: 'tasklist' #113

goldyfruit opened this issue Mar 28, 2023 · 3 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@goldyfruit
Copy link
Member

When PHAL service starts it complains about tasklist no such file or directory. Not sure if I'm missing a directory or a binary.

2023-03-27 21:25:24.046 - OVOS - ovos_PHAL.service:on_error:18 - ERROR - PHAL failed to launch ([Errno 2] No such file or directory: 'tasklist').
@goldyfruit
Copy link
Member Author

It appears after the ovos-PHAL-plugin-oauth loading, I don't know if it's related.

ovos_phal           | 2023-04-06 10:44:07.183 - OVOS - ovos_bus_client.session:reset_default_session:171 - INFO - New Default Session Start: 7a5639ea-80e5-4d21-b950-17fa0c8789d8
ovos_phal           | 2023-04-06 10:44:07.196 - OVOS - ovos_PHAL.service:load_plugins:75 - INFO - PHAL plugin loaded: ovos-PHAL-plugin-alsa
ovos_phal           | 2023-04-06 10:44:07.221 - OVOS - ovos_PHAL_plugin_color_scheme_manager:provide_theme:75 - ERROR - cannot access local variable 'theme' where it is not associated with a value
ovos_phal           | 2023-04-06 10:44:07.232 - OVOS - ovos_PHAL.service:load_plugins:75 - INFO - PHAL plugin loaded: ovos-PHAL-plugin-color-scheme-manager
ovos_phal           | 2023-04-06 10:44:07.245 - OVOS - ovos_PHAL.service:load_plugins:75 - INFO - PHAL plugin loaded: ovos-PHAL-plugin-network-manager
ovos_phal           | 2023-04-06 10:44:07.257 - OVOS - ovos_PHAL.service:load_plugins:75 - INFO - PHAL plugin loaded: ovos-PHAL-plugin-oauth
ovos_phal           |  * Serving Flask app 'ovos_PHAL_plugin_oauth'
ovos_phal           |  * Debug mode: off
ovos_phal           | 2023-04-06 10:44:07.276 - OVOS - ovos_PHAL.service:on_error:18 - ERROR - PHAL failed to launch ([Errno 2] No such file or directory: 'tasklist').
ovos_phal           | WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
ovos_phal           |  * Running on all addresses (0.0.0.0)
ovos_phal           |  * Running on http://127.0.0.1:36536
ovos_phal           |  * Running on http://192.168.1.213:36536
ovos_phal           | Press CTRL+C to quit

@goldyfruit
Copy link
Member Author

goldyfruit commented Apr 6, 2023

The only component refering a tasklist is https://github.com/OpenVoiceOS/ovos-utils/blob/dev/ovos_utils/system.py#L276-L286

This means that ps is required.

@JarbasAl
Copy link
Member

JarbasAl commented Apr 6, 2023

this is an issue in ovos-utils then, should handle this util some other way

@JarbasAl JarbasAl transferred this issue from OpenVoiceOS/ovos-PHAL Apr 6, 2023
@JarbasAl JarbasAl reopened this Apr 6, 2023
@JarbasAl JarbasAl added the bug Something isn't working label May 8, 2024
@JarbasAl JarbasAl added this to the 0.1.0 milestone May 8, 2024
@JarbasAl JarbasAl self-assigned this Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants