Error in balena push <application-name> from balena-cam

I was following a balena tutorial for DIY camera, https://www.balena.io/blog/build-a-raspberry-pi-based-network-camera/
I have this following error
Error: The command ‘/bin/sh -c apt-get update && apt-get install -yq gstreamer-1.0 v4l-utils libopus-dev libvpx-dev python3 python3-dev python3-pip python3-setuptools libsrtp2-dev libopencv-dev libatlas3-base libjasper-dev libilmbase12 libopenexr22 libavformat-dev libswscale-dev libqtgui4 libqt4-test libavdevice-dev libavfilter-dev libavcodec-dev && apt-get clean && rm -rf /var/lib/apt/lists/*’ returned a non-zero code: 100

I rm dir and git repo, did a fresh git clone and still have this error
I’m currently using Ubuntu 18.04 LTS latest version

I’m aware that there’s other forums that talk about this and I’m lost as to the lango.

I would think that other error is due to the build not initiating
ERROR
tunneling socket could not be established: socket hang up

Hi @arco it seems like you are hitting the same issue as https://github.com/balena-io-playground/balena-cam/issues/42 . @mbalamat is the project still waiting for a fix from piwheels?

@arco can I have some more info about your setup, eg Device type, os version, architecture etc. There is a known issue with piwheels and opencv here https://github.com/piwheels/packages/issues/43 for the piZero.

Hello, thanks for replying
The setup I have is a

device > raspberry pi zero

os > balenaOS 2.44.0+rev1

I have flash the sd card for balena OS and when I build the image it fails.

I have followed that issue and am aware, thank you however could there be an update lately

I dunno if theres a possibility of uninstalling the python opencv and then reinstalling it.

@aRco in that case the issue above does apply and is going to prevent you from deploying balena-cam to a Pi Zero for now. It would help if you were to add your comments to the issue on Github to reiterate that the package is in demand. It is of course possible to compile OpenCV yourself instead of using the wheel but it takes a long time. If you subscribe to the issue on Github you’ll be notified when it’s resolved, but in the meantime the project still works great on other devices!

Excellent suggestion I’ll head towards that way :+1: thank you