# "lyrics" plugin is hanging on import

**URL:** <https://discourse.beets.io/t/lyrics-plugin-is-hanging-on-import/1533>\
**Category:** Help\
**Created:** [October 6, 2020, 1:41am UTC](https://discourse.beets.io/t/lyrics-plugin-is-hanging-on-import/1533 "2020-10-06T01:41:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DavidGA](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.beets.io/davidga/32/457_2.png) [@DavidGA](https://discourse.beets.io/u/DavidGA)\
**Post date:** [October 6, 2020, 1:41am UTC](https://discourse.beets.io/t/lyrics-plugin-is-hanging-on-import/1533/1 "2020-10-06T01:41:14Z")

</div>

This has been working for months but today, if lyrics is enabled and auto is set to yes, importing an album hangs.

With double-verbose enabled, the final line before hanging is:

`lyrics: failed to fetch: https://www.musixmatch.com/lyrics/Massive-Attack/Protection (404)`

Ctrl-Cing Python reveals it has hung in “threading.py”. Setting “auto” to “no” for lyrics fixes the problem.

```
^C^CTraceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/beets/util/pipeline.py", line 426, in run_parallel
    threads[-1].join(1)
  File "/usr/lib/python3.7/threading.py", line 1036, in join
    self._wait_for_tstate_lock(timeout=max(timeout, 0))
  File "/usr/lib/python3.7/threading.py", line 1048, in _wait_for_tstate_lock
    elif lock.acquire(block, timeout):
KeyboardInterrupt

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/beets/ui/ __init__.py", line 1266, in main
    _raw_main(args)
  File "/usr/local/lib/python3.7/dist-packages/beets/ui/ __init__.py", line 1253, in _raw_main
    subcommand.func(lib, suboptions, subargs)
  File "/usr/local/lib/python3.7/dist-packages/beets/ui/commands.py", line 955, in import_func
    import_files(lib, paths, query)
  File "/usr/local/lib/python3.7/dist-packages/beets/ui/commands.py", line 925, in import_files
    session.run()
  File "/usr/local/lib/python3.7/dist-packages/beets/importer.py", line 329, in run
    pl.run_parallel(QUEUE_SIZE)
  File "/usr/local/lib/python3.7/dist-packages/beets/util/pipeline.py", line 439, in run_parallel
    thread.join()
  File "/usr/lib/python3.7/threading.py", line 1032, in join
    self._wait_for_tstate_lock()
  File "/usr/lib/python3.7/threading.py", line 1048, in _wait_for_tstate_lock
    elif lock.acquire(block, timeout):
KeyboardInterrupt

^CException ignored in: <module 'threading' from '/usr/lib/python3.7/threading.py'>
Traceback (most recent call last):
  File "/usr/lib/python3.7/threading.py", line 1281, in _shutdown
    t.join()
  File "/usr/lib/python3.7/threading.py", line 1032, in join
    self._wait_for_tstate_lock()
  File "/usr/lib/python3.7/threading.py", line 1048, in _wait_for_tstate_lock
    elif lock.acquire(block, timeout):
KeyboardInterrupt
```

---

<div class="post-metadata">

**Author:** ![DavidGA](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.beets.io/davidga/32/457_2.png) [@DavidGA](https://discourse.beets.io/u/DavidGA)\
**Post date:** [October 6, 2020, 3:11am UTC](https://discourse.beets.io/t/lyrics-plugin-is-hanging-on-import/1533/2 "2020-10-06T03:11:45Z")

</div>

Running the “lyrics” command standalone, after import, does not hang.
