Camera error after updating

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’].

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

image

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

Thanks :slight_smile:
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:

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.

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.

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:

pvizeli commented 21 hours ago

That issue is fix with 0.101.3

I will have try with 0.101.3 one of the next days and let you know.

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!

Is this fixed in 0.102.0?

0.102.3 the same error
Component error: camera - Requirements for stream not found: [‘av==6.1.2’].

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:

Works for me, would you like me to upload it as a custom component?

Does this fix install some packages or similar?

{
“domain”: “camera”,
“name”: “Camera”,
“documentation”: “https://www.home-assistant.io/integrations/camera”,
“requirements”: [],
“dependencies”: [
“http”
],
“after_dependencies”: [],
“codeowners”: []
}

works for me after restart HA :slight_smile:no error on check configuration

Can you explain what to do?

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