balena-labs-projects / balena-cam

Network Camera with Raspberry Pi and WebRTC. Tutorial:
https://balena.io/blog/build-a-raspberry-pi-based-network-camera/
MIT License
175 stars 78 forks source link

push error #40

Closed mswubz closed 5 years ago

mswubz commented 5 years ago

When pushing, the remote build fails with the error: `ERROR: Could not find a version that satisfies the requirement aiohttp_basicauth==0.1.0 (from versions: 0.1.3)

ERROR: No matching distribution found for aiohttp_basicauth==0.1.0

The command '/bin/sh -c pip3 install aiohttp aiohttp_basicauth==0.1.0 aiortc==0.9.11 opencv-python==3.4.4.19 --index-url https://www.piwheels.org/simple' returned a non-zero code: 1`

mswubz commented 5 years ago

In the Dockerfile.template I changed the line: RUN pip3 install aiohttp aiohttp_basicauth==0.1.0 aiortc==0.9.11 opencv-python==3.4.4.19 --index-url https://www.piwheels.org/simple to RUN pip3 install aiohttp aiohttp_basicauth==0.1.3 aiortc==0.9.11 opencv-python==3.4.4.19 --index-url https://www.piwheels.org/simple

It was able to build and upload but now I get "Video device is not ready. Trying to load bcm2835-v4l2 driver"

mbalamat commented 5 years ago

@jnragu can you verify that you've set up the following environment variables BALENA_HOST_CONFIG_start_x to 1 and the gpu_mem vars as described on the README?

mbalamat commented 5 years ago

@jnragu can you try out the latest master, I've added some extra steps on README to avoid having a default gpu_mem variable on the dashboard messing with the gpumem{256, 512, 1024}

mswubz commented 5 years ago

I do have the environment variables BALENA_HOST_CONFIG_start_xto 1 and I will try out the latest steps on README

russellblake commented 4 years ago

@mbalamat I am getting the same error and tried all of the suggestions in this post, but I am still getting the error, see attached. Any thoughts on what to try next? balena-cam-error

mbalamat commented 4 years ago

@russellblake what device are you using? Pi3, Pi4, Pi0 or else?

russellblake commented 4 years ago

@mbalamat I am using a balenaFin v1.0 with Raspberry Pi Compute Module 3 Plus (CM3+L).