Closed 2V3EvG4LMJFdRe closed 3 years ago
I lack the knowledge to comment on the SSL problem directly; but looking at the log ("/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/beets/autotag/mb.py"
), you're running beets on Python 3.7, not 2.7. So you'd need to apply any fix from the linked thread to Python 3.7, too.
Thanks for the clue, I'll see what I can do about it. It's a complete mess to manage python on mac if you don't nail it from the beginning. I may have 2, 3 installations by now.
Yeah, I don't know. The fix to this in the linked comment and elsewhere is just installs certifi, but:
$ pip3 install certifi
Requirement already satisfied: certifi in /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages (2021.5.30)
WARNING: You are using pip version 21.1.1; however, version 21.1.2 is available.
You should consider upgrading via the '/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9 -m pip install --upgrade pip' command.
$ pip install certifi
Requirement already satisfied: certifi in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (2020.12.5)
To be clear, beets connects to Discogs just fine. So it could just be MusicBrainz, but since I see no one else with the issue...
Any dirty hacks around this? Disabling the need for certificates at my own risk should work, but I'm not sure what to modify in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py
or maybe /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/beets/autotag/mb.py
to bypass it.
I may reinstall Python3, but I'm equally lost there to be honest.
A quick search revealed a few relevant stackoverflow pages:
https://stackoverflow.com/questions/35569042/ssl-certificate-verify-failed-with-python3 https://stackoverflow.com/questions/51925384/unable-to-get-local-issuer-certificate-when-using-requests-in-python
You might find a hint there.
Yeah, I've gone through all those threads already, more or less tried everything suggested. The thing I'm going to do next is to uninstall Python and reinstall via the package from the official site. Should be less problematic than beets. I'll come back with how that goes when I get to it.
Moving this to Discussions, as this is most likely not a bug with beets.
beets won't connect to MusicBrainz. discogs, fetchart, other things connect, but not this.
Problem
Running this command in verbose (
-vv
) mode:Led to this problem:
Setup
python
it saysPython 2.7.16 (default, Jan 26 2020, 23:50:38)
. Not sure what beet is using.My configuration (output of
beet config
) is:https://github.com/beetbox/beets/issues/3052#issuecomment-430325851 didn't work. It was already installed, and the error persists.