Closed avma closed 7 years ago
Looks like this is a duplicate of #2437, which was fixed in 8087e828914a917a864dad32bd4ce06ed286b527. You can find instructions on how to run the latest source in the [FAQ](http://beets.readthedocs.io/en/latest/faq.html).
Thanks, @jackwilsdon!
although when i tried to update request, i'm getting:Requirement already satisfied: "requests in /usr/local/lib/python2.7/dist-packages"
You need to update beets itself to the Git version or just disable the google
lyrics source by removing it from your config until a new version of beets comes out (which I'd recommend doing instead of using the Git version).
i did that too (ran "sudo pip install -U beets" and it saya: Requirement already up-to-date)... is there a way to remove and reinstall lyrics.py? i did try to manually edit lyrics.py as suggested in the #2437 fix, but then started getting more(other) errors: lyrics: failed to fetch: http://lyrics.wikia.com/Devon_Allman:Find_Ourselves (404) lyrics: failed to fetch: https://www.musixmatch.com/lyrics/Devon-Allman/Find-Ourselves (404) lyrics: lyrics not found: Devon Allman - Ride or Die - Find Ourselves ^CTraceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/beets/ui/init.py", line 1209, in main _raw_main(args) File "/usr/local/lib/python2.7/dist-packages/beets/ui/init.py", line 1196, in _raw_main subcommand.func(lib, suboptions, subargs) File "/usr/local/lib/python2.7/dist-packages/beetsplug/lyrics.py", line 698, in func opts.force_refetch or self.config['force'], File "/usr/local/lib/python2.7/dist-packages/beetsplug/lyrics.py", line 724, in fetch_item_lyrics lyrics = [self.get_lyrics(artist, title) for title in titles] File "/usr/local/lib/python2.7/dist-packages/beetsplug/lyrics.py", line 757, in get_lyrics lyrics = backend.fetch(artist, title) File "/usr/local/lib/python2.7/dist-packages/beetsplug/lyrics.py", line 566, in fetch data = self.fetch_url(url) File "/usr/local/lib/python2.7/dist-packages/beetsplug/lyrics.py", line 216, in fetch_url 'User-Agent': USER_AGENT, File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 70, in get return request('get', url, params=params, kwargs) File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 56, in request return session.request(method=method, url=url, kwargs) File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 488, in request resp = self.send(prep, send_kwargs) File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 609, in send r = adapter.send(request, kwargs) File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 423, in send timeout=timeout File "/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/connectionpool.py", line 345, in _make_request self._validate_conn(conn) File "/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/connectionpool.py", line 844, in _validate_conn conn.connect() File "/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/connection.py", line 326, in connect sslcontext=context) File "/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/util/ssl.py", line 324, in ssl_wrap_socket return context.wrap_socket(sock, server_hostname=server_hostname) File "/usr/lib/python2.7/ssl.py", line 350, in wrap_socket _context=self) File "/usr/lib/python2.7/ssl.py", line 566, in init self.do_handshake() File "/usr/lib/python2.7/ssl.py", line 788, in do_handshake self._sslobj.do_handshake() KeyboardInterrupt
Did you take a look at the FAQ entry @jackwilsdon referred to above? It shows how to run from source: http://beets.readthedocs.io/en/latest/faq.html
Or, we'll do an official release very soon!
thanks a lot... yes i did, i think i'll just wait for the new release, for now i just commented out the google_api_key.
Problem
hi
while running beet lyrics, after about 5 minutes, it stops with "urllib2.HTTPError: HTTP Error 403: Forbidden" without completing a full scan of my files
Running this command in verbose (
-vv
) mode:Led to this problem:
Here's a link to the music files that trigger the bug (if relevant):
Setup
My configuration (output of
beet config
) is: