-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
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
Setup failed for 'default_config': Could not setup dependencies: stream #132303
Comments
Hey there @hunterjm, @uvjustin, @allenporter, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) stream documentation |
Same here... can't understand what stream is/used for |
same here |
Duplicate of #131853 |
Same issue after core update to 12.0. |
Same problem after upgrade to 12.0. |
Same problem after upgrading to 2024.12.0 ( by the way cameras streams are working as usual ) |
The problem persists on latest version (2024.12.1) |
I am also getting this issue when upgrading from 2024.11.3 to 2024.12.1. Here are my logs The following integrations and platforms could not be set up: stream (Show logs) Logger: homeassistant.setup Error during setup of component stream Logger: homeassistant.setup Setup failed for 'default_config': Could not setup dependencies: stream Logger: homeassistant.setup Unable to set up dependencies of 'default_config'. Setup failed for dependencies: ['stream'] Logger: homeassistant Error doing job: Task exception was never retrieved (None) |
Same problemen here; 2024.12.1, supervisor 2024.11.4, OS: 14.0 on a Raspberry Pi 3b+. Just using |
Same problem here. Full logLogger: homeassistant.setup Error during setup of component stream |
Same error: |
+1 |
Same problem |
+1 |
Same problem here. I only use one camera stream of the octopi-integration (3D-Printer), which works fine. |
Same for me registratore:%20homeassistant.setup%0AFonte%3A%20setup.py%3A416%0APrima%20occorrenza%3A%2017%3A22%3A16%20(1%20occorrenze)%0AUltimo%20accesso%3A%2017%3A22%3A16%0A%0AError%20during%20setup%20of%20component%20stream%0ATraceback%20(most%20recent%20call%20last)%3A%0A%20%20File%20%22/usr/src/homeassistant/homeassistant/setup.py%22,%20line%20416,%20in%20_async_setup_component%0A%20%20%20%20result%20=%20await%20task%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%5E%5E%5E%5E%5E%5E%5E%5E%5E%5E%0A%20%20File%20%22/usr/src/homeassistant/homeassistant/components/stream/init.py%22,%20line%20226,%20in%20async_setup%0A%20%20%20%20await%20hass.async_add_executor_job(set_pyav_logging,%20debug_enabled)%0A%20%20File%20%22/usr/local/lib/python3.13/concurrent/futures/thread.py%22,%20line%2058,%20in%20run%0A%20%20%20%20result%20=%20self.fn(*self.args,%20**self.kwargs)%0A%20%20File%20%22/usr/src/homeassistant/homeassistant/components/stream/init.py%22,%20line%20196,%20in%20set_pyav_logging%0A%20%20%20%20import%20av%20%20%23%20pylint:%20disable=import-outside-toplevel%0A%20%20%20%20%5E%5E%5E%5E%5E%5E%5E%5E%5E%0A%20%20File%20%22/usr/local/lib/python3.13/site-packages/av/init.py%22,%20line%203,%20in%20%3Cmodule%3E%0A%20%20%20%20from%20av._core%20import%20time_base,%20library_versions,%20ffmpeg_version_info%0AImportError:%20Error%20loading%20shared%20library%20%17:%20No%20such%20file%20or%20directory%20(needed%20by%20/usr/local/lib/python3.13/site-packages/av/../av.libs/libjxl-2cfeb5f2.so.0.10.2)%0A Core |
Impacted as well since 2024.12.0 and still in 2024.12.1 |
+1, newly updated from 11.xx.24 to 12.01.24 |
Same issue here |
Same here.
|
Same here, just updated to 2024.12.1 Logger: homeassistant.setup Error during setup of component stream |
Same issue here: 2024-12-08 14:53:28.665 ERROR (MainThread) [homeassistant.setup] Error during setup of component stream |
Exactly the same problem since update 2024.12.0. New update 2024.12.1 did not fix the problem. |
Exactly the same problem since update from 2024.11.3 to 2024.12.1 |
I have the same issue, from 2024.11.3 to 2024.12.1 |
Solved for me too with update to 2024.12.2 |
Solved for me too in 2024.12.2
…On Wed, 11 Dec 2024 at 23:23, pjbcr ***@***.***> wrote:
Solved for me too with update to 2024.12.2
—
Reply to this email directly, view it on GitHub
<#132303 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIKAQ3AWSSWN7L6FUIF7UST2FDCO7AVCNFSM6AAAAABTA7Z4WGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMZXGQYDIMRUHE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Can the people who got the issue solved with the version 2024.12.2 also tell which version of python they’re using please ? I’m using Home Assistant Core on Debian 12, with python 3.12, and after the update, the issue is still here. |
I've docker version of HA Core 2024.12.2, the issue is solved |
The release notes for 2024.12 indicate that it's now packaged with python 13.3 |
I’m not running the Docker version. And even if Python 3.12 is noted as deprecated, it should run until it is not supported anymore (it’s supposed to be in 02/2025 if I’m correct). |
I've docker version of HA Core 2024.12.2, the issue is solved |
So if my understanding is correct, since HA 2024.12.x Python 3.13 becomes a strict requirement, not just a deprecaction |
On request, I've tried to replicate this issue, and I cannot replicate it with either Python 3.12 or Python 3.13 on Debian Bookworm or Home Assistant Core 2024.12.[0-3] on x86-64. So I do not think it is Python 3.12 related. On all combinations I've tried I can successfully watch an RTSP stream. This issues seems related: #131853 For everyone who is still having the issue, what exactly are you running? What device/architecture, which version of Home Assistant and which version of Python (and does it use my backport for Debian Bookworm?). Also please specify the exact error. Because the error above (with the missing library file) seems related to Home Assistant Wheels, and I don't think most Core users use those. |
I am also having this issue after upgrading to version 2024.12.3. My setup is docker on raspberry pi 5, running on Bookworm. This is the error in my case:
Not sure what is wrong, I could see that the |
In your case, the library it is looking for 'libjxl-cf540b2a.so.0.10.2', is from the armv6 av wheel. Which should not be present on your RPI 5, which is aarch64. I have no idea how that ended up in your Docker image. I've checked the latest 2024.12.3 arm64 Docker image (ghcr.io/home-assistant/home-assistant:2024.12.3@sha256:14d0aaed2407bc0e21c403bb2aeb3ab27bb81fa1192d01742abd7461181c0060) and it does not contain this file. I also compared this to the latest image on Docker Hub and the checksums match, so it should not have this file too. What Docker image exactly are you running? |
I'm running HAOS on a RPi 2. |
I'm running the I've downgraded to version 2024.11.3 and the issue disappeared, so it must be something from the 2024.12 versions. |
But why? The RPI 5 is 64-bit so unless you have a very good reason for doing this, in my opinion you are asking for trouble. Be that as it may, the latest armhf (armv7) image (ghcr.io/home-assistant/home-assistant:2024.12.3@sha256:33b6e78e316159afcc13f4db390d2e4cbb12352c7e007c9177b6ed7d139576ea) also does not have that file. So it seems like you are running the armv6 image somehow. Something I also didn't know, is that the 32-bit Raspberry Pi OS image is apparently armv6 because it also has to support the earliest Raspberry Pi's. That would explain why you are running the armv6 image. In that case, I'm for now out of ideas why it worked before and not anymore. I still think you would be better off by running the 64-bit OS. |
Hey Pascal, I'm using your backported python 3.12 on my raspi 4 and I'm still getting the error as of HA 2024.12.3. home-assistant_2024-12-13T17-19-37.646Z.log I've attached the log, hopefully it will help. EDIT: you may ignore jellyfin errors, it's offline. Cheers, |
Just rebuild the av wheels for For anyone how can't wait, the next nightly image will include it as well. Should be building in a few hours. |
I absolutely can wait. :) |
Hi, I’m running pip and wheel in a virtualenv on a Debian 12, with python 3.12 coming from testing, amd64 architecture. Here are the logs I’ve got :
Here is my
|
I have replicated the issue with the armv6 Docker images and with the new armv6 wheels created by @cdce8p the issue is indeed solved. So this should at least fix the issue of @borgmatthew and for everyone else who specifically has the "No such file or directory [...] libjxl [...]" error. For people who don't want to wait for the new patch version, you can reinstall av inside your existing Docker container. If your container is named
@njunghausz You're issue is different and also #131997. You should follow that issue instead. |
I have the exact same error and can't even reinstall it inside the container. The original error is
There are some weird characters in
And when I try to run
|
@boobiq Seems good to me. If you restart your container now, it should be fixed. Don't know what that ignored threading exception is though. |
@pascallj True, seems to be gone now but it unfortunately didn't solve my issue with custom components so it has to be something else. Thank you anyway. I tried Linuxserver's HA 2024.12.3 Docker container and it seems to work so I might use that and try some other version of official container later. |
Hello, are there any places where I can download armv6 wheel for av lib outside of the image? (I have HA Core installed on RPI, so I don't use docker images) |
You can on https://wheels.home-assistant.io/. However I doubt these are very useful to you as they are compiled for the musl libc library. If you are running Core, you system is probably based on Glibc. |
Ah.. that's right. I'm running HA core on dietpi with Glibc. Well will wait until it compiles on the board. |
The problem
I've installed latest master version (2024.12), after build I get this error:
2024-12-04 21:00:00.948 ERROR (MainThread) [homeassistant.setup] Error during setup of component stream
...
2024-12-04 21:00:55.697 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of 'default_config'. Setup failed for dependencies: ['stream']
2024-12-04 21:00:55.698 ERROR (MainThread) [homeassistant.setup] Setup failed for 'default_config': Could not setup dependencies: stream
What version of Home Assistant Core has the issue?
2024.12
What was the last working version of Home Assistant Core?
2024.11.3
What type of installation are you running?
Home Assistant Container
Integration causing the issue
No response
Link to integration documentation on our website
No response
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response
The text was updated successfully, but these errors were encountered: