-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Add a quick check for MST Store Python install #5470
base: master
Are you sure you want to change the base?
Conversation
Thank you for the PR! The changelog has not been updated, so here is a friendly reminder to check if you need to add an entry. |
beets/ui/__init__.py
Outdated
"error: beets is unable to use the Microsoft Store version of " | ||
"Python. Please install Python from python.org." | ||
) | ||
log.error( | ||
"error: More details can be found here " | ||
"https://beets.readthedocs.io/en/stable/guides/main.html" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider using a single log.error
call:
"error: beets is unable to use the Microsoft Store version of " | |
"Python. Please install Python from python.org." | |
) | |
log.error( | |
"error: More details can be found here " | |
"https://beets.readthedocs.io/en/stable/guides/main.html" | |
"error: beets is unable to use the Microsoft Store version of " | |
"Python. Please install Python from python.org. See " | |
"https://beets.readthedocs.io/en/stable/guides/main.html." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated
Description
Quick fix for #5467.
Checks if the path for python is under the windows store folder then error and point the user to the beets documentation.
Happy for feedback to improve, but thought it best to exit as early as possible.
To Do