Skip to content
This repository has been archived by the owner on Sep 5, 2020. It is now read-only.

ImportError: failed to find libmagic #13

Open
Limych opened this issue Dec 29, 2019 · 2 comments
Open

ImportError: failed to find libmagic #13

Limych opened this issue Dec 29, 2019 · 2 comments
Labels
bug Something isn't working

Comments

@Limych
Copy link
Owner

Limych commented Dec 29, 2019

2019-12-29 19:28:53 ERROR (MainThread) [homeassistant.helpers.entity] Update for media_player.kitchen fails
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 461, in async_device_update
await self.hass.async_add_executor_job(self.update)
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/linkplay/media_player.py", line 764, in update
self._update_from_id3()
File "/config/custom_components/linkplay/media_player.py", line 656, in _update_from_id3
import eyed3
File "/usr/local/lib/python3.7/site-packages/eyed3/init.py", line 32, in
from .utils.log import log # noqa: E402
File "/usr/local/lib/python3.7/site-packages/eyed3/utils/init.py", line 27, in
import magic
File "/usr/local/lib/python3.7/site-packages/magic.py", line 181, in
raise ImportError('failed to find libmagic. Check your installation')
ImportError: failed to find libmagic. Check your installation

@Limych Limych added the bug Something isn't working label Dec 29, 2019
@smgt
Copy link
Contributor

smgt commented Feb 16, 2020

The fix to this problem is as the error message say, install libmagic. eye3d uses it to parse id3 tags I guess.

@Munken
Copy link

Munken commented Mar 15, 2020

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants