jeppper
(Jeppper)
November 2, 2019, 7:37pm
1
After updating to 0.101.2 I get the following error and other relating to the same. I am not using live streams and have never seen this error before.
Someone knows what to do?
2019-11-02 20:24:45 ERROR (MainThread) [homeassistant.components.homeassistant] Component error: camera - Requirements for stream not found: [‘av==6.1.2’].
vicom
November 3, 2019, 12:02pm
2
I get the same error. I’m using Foscam cameras. The live streams works, but I get this error when doing a config check and HA fails to load unless I ignore the “revert” option
I used (from https://www.home-assistant.io/integrations/stream#troubleshooting )
sudo apt-get install -y python-dev pkg-config libavformat-dev libavcodec-dev libavdevice-dev libavutil-dev libswscale-dev libavresample-dev libavfilter-dev
Ran a check config check in SSH and it installed av==6.1.2
Seems to be passing config test now and up and running without error
jeppper
(Jeppper)
November 5, 2019, 9:17am
4
Thanks
I have downgraded for now and hope it gets fixed in an update without needing to install something new.
If not I will use your hint.
Someone has created a github issue about this here:
opened 12:02PM - 03 Nov 19 UTC
closed 10:35AM - 18 Mar 20 UTC
integration: camera
stale
<!-- READ THIS FIRST:
- If you need additional help with this template please r… efer to https://www.home-assistant.io/help/reporting_issues/
- Make sure you are running the latest version of Home Assistant before reporting an issue: https://github.com/home-assistant/home-assistant/releases
- Frontend issues should be submitted to the home-assistant-polymer repository: https://github.com/home-assistant/home-assistant-polymer/issues
- iOS issues should be submitted to the home-assistant-iOS repository: https://github.com/home-assistant/home-assistant-iOS/issues
- Do not report issues for integrations if you are using a custom integration: files in <config-dir>/custom_components
- This is for bugs only. Feature and enhancement requests should go in our community forum: https://community.home-assistant.io/c/feature-requests
- Provide as many details as possible. Paste logs, configuration sample and code into the backticks. Do not delete any text from this template!
-->
**Home Assistant release with the issue:**
101.2
<!--
- Frontend -> Developer tools -> Info
- Or use this command: hass --version
-->
**Last working Home Assistant release (if known):**
101.1
**Operating environment (Hass.io/Docker/Windows/etc.):**
pyenv on Debian
<!--
Please provide details about your environment.
-->
**Integration:**
<!--
Please add the link to the documentation at https://www.home-assistant.io/integrations/ of the integration in question.
-->
**Description of problem:**
Checking configuration from UI getting error: *Component error: camera - Requirements for stream not found: ['av==6.1.2'].*
Starting directly from environment works with no issues.
I'm not using streams (no configuration for stream in configuration.yaml). Using just still_image for camera setting!
**Problem-relevant `configuration.yaml` entries and (fill out even if it seems unimportant):**
```yaml
camera:
- platform: generic
still_image_url: http://cam1/Streaming/channels/1/picture
name: Cam1
```
**Traceback (if applicable):**
```
```
**Additional information:**
was your camera working OK in 0.101.1? I think I may need to downgrade also as mine won’t now work in 0.101.2
I used (from Stream - Home Assistant )
Interesting, I’m getting the same ‘av’ error but I’m using the camera integration, not the ‘stream’ integration.
jeppper
(Jeppper)
November 6, 2019, 6:24am
6
I updated from 0.100.2 to 0.101.2 so I don´t know if the issues existed in 0.100.1.
I am not using Lovelace.
I am also not using the stream integration, only camera.
Try updating to 0.101.3, apparently it may have been fixed.
If this works, let me know as I’m also having this ‘av’ error.
jeppper
(Jeppper)
November 8, 2019, 10:30am
8
Where can you see that it should have been fixed?
Where can you see that it should have been fixed?
I found a fix in the github issue above:
home-assistant:dev
← DeviousPenguin:patch-1
opened 01:28PM - 07 Nov 19 UTC
## Description:
My MJPEG camera stopped working in v0.101.2. This fix fixes t… hat issue, I've tested it by adding it as a custom camera component .
**Related issue (if applicable):** fixes #28495
**Pull request with documentation for [home-assistant.io](https://github.com/home-assistant/home-assistant.io) (if applicable):** home-assistant/home-assistant.io#<home-assistant.io PR number goes here>
## Example entry for `configuration.yaml` (if applicable):
```yaml
```
## Checklist:
- [x] The code change is tested and works locally.
- [x] Local tests pass with `tox`. **Your PR cannot be merged unless tests pass**
- [x] There is no commented out code in this PR.
- [x] I have followed the [development checklist][dev-checklist]
If the code does not interact with devices:
- [x] Tests have been added to verify that the new code works.
[dev-checklist]: https://developers.home-assistant.io/docs/en/development_checklist.html
[manifest-docs]: https://developers.home-assistant.io/docs/en/creating_integration_manifest.html
pvizeli commented 21 hours ago
That issue is fix with 0.101.3
jeppper
(Jeppper)
November 8, 2019, 5:54pm
10
I will have try with 0.101.3 one of the next days and let you know.
jeppper
(Jeppper)
November 9, 2019, 7:50am
11
Still the same error
ERROR (SyncWorker_8) [homeassistant.util.package] Unable to install package av==6.1.2:
This error got me onto updating to Buster and installing Pythong 3.7.3… Funny how one thing leads to another here!
jeppper
(Jeppper)
November 21, 2019, 7:33pm
13
Is this fixed in 0.102.0?
jagiel
(Jagiel)
December 4, 2019, 7:36am
14
0.102.3 the same error
Component error: camera - Requirements for stream not found: [‘av==6.1.2’].
jeppper
(Jeppper)
December 4, 2019, 5:55pm
15
thanks for the information. I wonder if this is going to be solved or it is ment to behave like this now.
I wonder if this is going to be solved or it is ment to behave like this now.
The older non-streaming has not been removed, but it does seem to be broken. I’m not really sure what the the plans are from the devs I’m afraid.
I manually applied the fix from the pull request here:
home-assistant:dev
← DeviousPenguin:patch-1
opened 01:28PM - 07 Nov 19 UTC
## Description:
My MJPEG camera stopped working in v0.101.2. This fix fixes t… hat issue, I've tested it by adding it as a custom camera component .
**Related issue (if applicable):** fixes #28495
**Pull request with documentation for [home-assistant.io](https://github.com/home-assistant/home-assistant.io) (if applicable):** home-assistant/home-assistant.io#<home-assistant.io PR number goes here>
## Example entry for `configuration.yaml` (if applicable):
```yaml
```
## Checklist:
- [x] The code change is tested and works locally.
- [x] Local tests pass with `tox`. **Your PR cannot be merged unless tests pass**
- [x] There is no commented out code in this PR.
- [x] I have followed the [development checklist][dev-checklist]
If the code does not interact with devices:
- [x] Tests have been added to verify that the new code works.
[dev-checklist]: https://developers.home-assistant.io/docs/en/development_checklist.html
[manifest-docs]: https://developers.home-assistant.io/docs/en/creating_integration_manifest.html
Works for me, would you like me to upload it as a custom component?
jeppper
(Jeppper)
December 5, 2019, 6:21am
17
Does this fix install some packages or similar?
jagiel
(Jagiel)
December 5, 2019, 8:09am
18
{
“domain”: “camera”,
“name”: “Camera”,
“documentation”: “https://www.home-assistant.io/integrations/camera ”,
“requirements”: [],
“dependencies”: [
“http”
],
“after_dependencies”: [],
“codeowners”: []
}
works for me after restart HA no error on check configuration
jeppper
(Jeppper)
December 6, 2019, 5:31pm
19
Can you explain what to do?
jagiel
(Jagiel)
December 6, 2019, 5:55pm
20
edit this file: manifest.json
/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/camera# cat manifest.json
{
"domain”: "camera”,
"name”: “Camera”,
“documentation”: “https://www.home-assistant.io/integrations/camera 1”,
“requirements”: [],
“dependencies”: [
“http”
],
“after_dependencies”: [],
“codeowners”: []
}
restart ha, thats it, no error