#8 Error loading libturbojpeg

Đã đóng
%! (template.HTML=3 năm trước cách đây)đang mở bởi Ghost · 9 ý kiến

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 đã nhận xét 3 năm trước cách đây
Chủ sở hữu

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 đã nhận xét 3 năm trước cách đây
Poster

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 đã nhận xét 3 năm trước cách đây
Chủ sở hữu

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 đã nhận xét 3 năm trước cách đây
Poster

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 đã nhận xét 3 năm trước cách đây
Chủ sở hữu

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 đã nhận xét 3 năm trước cách đây
Poster

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 đã nhận xét 3 năm trước cách đây
Chủ sở hữu

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 đã nhận xét 3 năm trước cách đây
Poster

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

Yeah, it seems to be working perfectly now. Thanks!
Joachim Marthinsen Giæver đã nhận xét 3 năm trước cách đây
Chủ sở hữu

Perfect. Thanks for your patience!

Perfect. Thanks for your patience!
Đăng nhập để tham gia bình luận.
Không có nhãn
Không có Milestone
Không có người được phân công
2 tham gia
Đang tải...
Hủy bỏ
Lưu
Ở đây vẫn chưa có nội dung nào.