#8 Error loading libturbojpeg

Затворени
отворен преди 3 години от Ghost · 9 коментара
Ghost коментира преди 3 години

Just got this new error on 2021.9.6. Seems to be another dependency issue:

Logger: homeassistant.components.camera.img_util
Source: components/camera/img_util.py:96
Integration: Camera (documentation, issues)
First occurred: 15:00:11 (1 occurrences)
Last logged: 15:00:11

Error loading libturbojpeg; Cameras may impact HomeKit performance
Traceback (most recent call last):
  File "/snap/home-assistant-snap/385/lib/python3.8/site-packages/homeassistant/components/camera/img_util.py", line 96, in __init__
    TurboJPEGSingleton.__instance = TurboJPEG()
  File "/snap/home-assistant-snap/385/lib/python3.8/site-packages/turbojpeg.py", line 147, in __init__
    turbo_jpeg = cdll.LoadLibrary(
  File "/usr/lib/python3.8/ctypes/__init__.py", line 451, in LoadLibrary
    return self._dlltype(name)
  File "/usr/lib/python3.8/ctypes/__init__.py", line 373, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: libturbojpeg.so.0: cannot open shared object file: No such file or directory
Just got this new error on `2021.9.6`. Seems to be another dependency issue: ``` Logger: homeassistant.components.camera.img_util Source: components/camera/img_util.py:96 Integration: Camera (documentation, issues) First occurred: 15:00:11 (1 occurrences) Last logged: 15:00:11 Error loading libturbojpeg; Cameras may impact HomeKit performance Traceback (most recent call last): File "/snap/home-assistant-snap/385/lib/python3.8/site-packages/homeassistant/components/camera/img_util.py", line 96, in __init__ TurboJPEGSingleton.__instance = TurboJPEG() File "/snap/home-assistant-snap/385/lib/python3.8/site-packages/turbojpeg.py", line 147, in __init__ turbo_jpeg = cdll.LoadLibrary( File "/usr/lib/python3.8/ctypes/__init__.py", line 451, in LoadLibrary return self._dlltype(name) File "/usr/lib/python3.8/ctypes/__init__.py", line 373, in __init__ self._handle = _dlopen(self._name, mode) OSError: libturbojpeg.so.0: cannot open shared object file: No such file or directory ```
Joachim Marthinsen Giæver коментира преди 3 години
Притежател

Oh, sorry! But this might be caused of a mistake I did by setting content supposed going into the LD_LIBRARY_PATH in the PATH environment variable, when adding the libpulse package.

I'm fixing that now. Wait with submitting a lot of issues. :D

Oh, sorry! But this might be caused of a mistake I did by setting content supposed going into the `LD_LIBRARY_PATH` in the `PATH` environment variable, when adding the `libpulse` package. I'm fixing that now. Wait with submitting a lot of issues. :D
Ghost коментира преди 3 години
Участник

Hahah I will, I promise!

Just let me know when you'd like me to try again. :)

Hahah I will, I promise! Just let me know when you'd like me to try again. :)
Joachim Marthinsen Giæver коментира преди 3 години
Притежател

Can you now check if it's fixed again? :) I do not have HomeKit :)

Can you now check if it's fixed again? :) I do not have HomeKit :)
Ghost коментира преди 3 години
Участник

Still getting the same error, I'm afraid…

Logger: homeassistant.components.camera.img_util
Source: components/camera/img_util.py:96
Integration: Camera (documentation, issues)
First occurred: 18:22:25 (1 occurrences)
Last logged: 18:22:25

Error loading libturbojpeg; Cameras may impact HomeKit performance
Traceback (most recent call last):
  File "/snap/home-assistant-snap/387/lib/python3.8/site-packages/homeassistant/components/camera/img_util.py", line 96, in __init__
    TurboJPEGSingleton.__instance = TurboJPEG()
  File "/snap/home-assistant-snap/387/lib/python3.8/site-packages/turbojpeg.py", line 147, in __init__
    turbo_jpeg = cdll.LoadLibrary(
  File "/usr/lib/python3.8/ctypes/__init__.py", line 451, in LoadLibrary
    return self._dlltype(name)
  File "/usr/lib/python3.8/ctypes/__init__.py", line 373, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: libturbojpeg.so.0: cannot open shared object file: No such file or directory

Not sure why it's popping up all of a sudden since I'm also not using HomeKit. I am using a few Wyze cameras, though.

Still getting the same error, I'm afraid… ``` Logger: homeassistant.components.camera.img_util Source: components/camera/img_util.py:96 Integration: Camera (documentation, issues) First occurred: 18:22:25 (1 occurrences) Last logged: 18:22:25 Error loading libturbojpeg; Cameras may impact HomeKit performance Traceback (most recent call last): File "/snap/home-assistant-snap/387/lib/python3.8/site-packages/homeassistant/components/camera/img_util.py", line 96, in __init__ TurboJPEGSingleton.__instance = TurboJPEG() File "/snap/home-assistant-snap/387/lib/python3.8/site-packages/turbojpeg.py", line 147, in __init__ turbo_jpeg = cdll.LoadLibrary( File "/usr/lib/python3.8/ctypes/__init__.py", line 451, in LoadLibrary return self._dlltype(name) File "/usr/lib/python3.8/ctypes/__init__.py", line 373, in __init__ self._handle = _dlopen(self._name, mode) OSError: libturbojpeg.so.0: cannot open shared object file: No such file or directory ``` Not sure why it's popping up all of a sudden since I'm also not using HomeKit. I am using a few Wyze cameras, though.
Joachim Marthinsen Giæver коментира преди 3 години
Притежател

I'll add it :) It's building now. A new release with this lib should be out in about 45 minutes for amd64, in the channel latest/edge (not /dev).

Just out of curiosity; Did this integration work pre 2021.9.6?

I'll add it :) It's building now. A new release with this lib should be out in about 45 minutes for amd64, in the channel `latest/edge` (not `/dev`). Just out of curiosity; Did this integration work pre `2021.9.6`?
joachimmg повторно отвори преди 3 години
Ghost коментира преди 3 години
Участник

I'm pretty sure that this error wasn't present before 2021.9.6, but I can't remember for sure. I could switch to an earlier channel if you need me to firgure this out.

I'm pretty sure that this error wasn't present before `2021.9.6`, but I can't remember for sure. I could switch to an earlier channel if you need me to firgure this out.
Joachim Marthinsen Giæver коментира преди 3 години
Притежател

No, if it works now, there's no need to. I wouldn't mind going back to fix all the potential bugs in earlier releases. :) Maybe the day when HA has an Long-term support edition. :p

But it works on the newest?

No, if it works now, there's no need to. I wouldn't mind going back to fix all the potential bugs in earlier releases. :) Maybe the day when HA has an Long-term support edition. :p But it works on the newest?
Ghost коментира преди 3 години
Участник

Yeah, it seems to be working perfectly now. Thanks!

Yeah, it seems to be working perfectly now. Thanks!
Joachim Marthinsen Giæver коментира преди 3 години
Притежател

Perfect. Thanks for your patience!

Perfect. Thanks for your patience!
Впишете се за да се присъедините към разговора.
Няма етикет
Няма етап
Няма изпълнител
2 участника
Зареждане...
Отказ
Запис
Все още няма съдържание.