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

Incorrect log message when configuring manually in *nix environments. #582 #582

Open
nhomar opened this issue Oct 10, 2024 · 0 comments · May be fixed by #583
Open

Incorrect log message when configuring manually in *nix environments. #582 #582

nhomar opened this issue Oct 10, 2024 · 0 comments · May be fixed by #583

Comments

@nhomar
Copy link

nhomar commented Oct 10, 2024

The way it is bieng debugged wire the name of the package that is failing instead being explicitly from the python logger.

The improvement is manage the message properly to be more explicit instead wire the:

Now:

╰─$ python3 configure.py
[ERROR] Tkinter dependency not installed. Please follow troubleshooting page: https://github.com/mathoudebine/turing-smart-screen-python/wiki/Troubleshooting#all-os-tkinter-dependency-not-installed

Expected:

All the names of packages failing avoiding to repeat yourself foloowing a nicer pythonistic apporach.

This messaging is better to avoid depend (for example) from brew installation and be able to work with pyenv (or any virtualenv manager).

For example (MESSAGE CAN BE IMPROVED):

╰─$ python3 configure.py
[ERROR] Tkinter dependency not installed. Please follow troubleshooting page: https://github.com/mathoudebine/turing-smart-screen-python/wiki/Troubleshooting#all-os-tkinter-dependency-not-installed
No module named '_tkinter'[ERROR] Python dependencies not installed. Please follow start guide: https://github.com/mathoudebine/turing-smart-screen-python/wiki/System-monitor-:-how-to-start
No module named 'psutil'
nhomar added a commit to nhomar/turing-smart-screen-python that referenced this issue Oct 10, 2024
@nhomar nhomar changed the title Incorrect log message when configuring manually in *nix environments. Incorrect log message when configuring manually in *nix environments. #582 Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant