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

Add a quick check for MST Store Python install #5470

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

arogl
Copy link
Contributor

@arogl arogl commented Oct 19, 2024

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

  • Documentation.
  • Changelog.
  • Tests.

Copy link

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.

Comment on lines 1863 to 1868
"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"
Copy link
Member

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:

Suggested change
"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."

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants