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

Upgrade to HA 2021.10 requires libjpeg-turbo #46

Closed
adorobis opened this issue Oct 7, 2021 · 2 comments
Closed

Upgrade to HA 2021.10 requires libjpeg-turbo #46

adorobis opened this issue Oct 7, 2021 · 2 comments

Comments

@adorobis
Copy link

adorobis commented Oct 7, 2021

After upgrading HA to 2021.10 release the following error starts to be logged:

2021-10-07 18:22:52 ERROR (MainThread) [homeassistant.components.camera.img_util] Error loading libturbojpeg; Cameras may impact HomeKit performance
Traceback (most recent call last):
  File "/usr/local/share/homeassistant/lib/python3.8/site-packages/homeassistant/components/camera/img_util.py", line 96, in __init__
    TurboJPEGSingleton.__instance = TurboJPEG()
  File "/usr/local/share/homeassistant/lib/python3.8/site-packages/turbojpeg.py", line 287, in __init__
    self.__init_decompress = turbo_jpeg.tjInitDecompress
  File "/usr/local/lib/python3.8/ctypes/__init__.py", line 386, in __getattr__
    func = self.__getitem__(name)
  File "/usr/local/lib/python3.8/ctypes/__init__.py", line 391, in __getitem__
    func = self._FuncPtr((name_or_ordinal, self))
AttributeError: Undefined symbol "tjInitDecompress"

Installing libjpeg-turbo satisfices this dependency
pkg install libjpeg-turbo
Probably needs to be added to HA plugin dependencies.

@tprelog
Copy link
Owner

tprelog commented Oct 7, 2021

Thanks, I'll add it to the current pull request

@tprelog tprelog pinned this issue Oct 7, 2021
@tprelog tprelog changed the title Upgrade to HA 2021.10 requires libturbojpeg Upgrade to HA 2021.10 requires libjpeg-turbo Oct 7, 2021
@tprelog tprelog unpinned this issue Feb 3, 2022
@tprelog
Copy link
Owner

tprelog commented Feb 3, 2022

This should be resolved for some some time now.

@tprelog tprelog closed this as completed Feb 3, 2022
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

No branches or pull requests

2 participants