#8 Error loading libturbojpeg

Chiuso
aperto 3 anni fa da Ghost · 9 commenti
Ghost ha commentato 3 anni fa

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 ha commentato 3 anni fa
Proprietario

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 ha commentato 3 anni fa
Autore

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 ha commentato 3 anni fa
Proprietario

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 ha commentato 3 anni fa
Autore

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 ha commentato 3 anni fa
Proprietario

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`?
Ghost ha commentato 3 anni fa
Autore

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 ha commentato 3 anni fa
Proprietario

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 ha commentato 3 anni fa
Autore

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

Yeah, it seems to be working perfectly now. Thanks!
Joachim Marthinsen Giæver ha commentato 3 anni fa
Proprietario

Perfect. Thanks for your patience!

Perfect. Thanks for your patience!
Sign in to join this conversation.
Nessuna etichetta
Nessuna milestone
Nessun assegnatario
2 Partecipanti
Caricamento...
Annulla
Salva
Non ci sono ancora contenuti.