Balena-Cam on Raspberry Pi 3b+ Syntax Error, Service not starting

Getting Errors:
File “/usr/local/lib/python3.5/dist-packages/pyee/init.py”, line 34, in

from pyee.base import EventEmitter as EventEmitter

File “/usr/local/lib/python3.5/dist-packages/pyee/base.py”, line 43

self._events: Dict[

^

SyntaxError: invalid syntax

Service exited ‘balena-cam sha256:f039be8b97fcc9448796891a6b134f54731cd6d67ebf5ca66bfb521cf458eb29’
Restarting service ‘balena-cam sha256:f039be8b97fcc9448796891a6b134f54731cd6d67ebf5ca66bfb521cf458eb29’
Traceback (most recent call last):

File “/usr/src/app/server.py”, line 5, in

from aiortc import RTCPeerConnection, RTCSessionDescription, VideoStreamTrack, RTCIceServer, RTCConfiguration

File “/usr/local/lib/python3.5/dist-packages/aiortc/init.py”, line 2, in

from .mediastreams import (AudioStreamTrack, # noqa

File “/usr/local/lib/python3.5/dist-packages/aiortc/mediastreams.py”, line 7, in

from pyee import EventEmitter

File “/usr/local/lib/python3.5/dist-packages/pyee/init.py”, line 34, in

from pyee.base import EventEmitter as EventEmitter

File “/usr/local/lib/python3.5/dist-packages/pyee/base.py”, line 43

self._events: Dict[

^

SyntaxError: invalid syntax

Hello @neilinpaemail welcome to the balena community.

could you please share more details such as:

  • what repo did you deploy on your fleet?
  • what OS are you using (Raspberry Pi 3 or Pi 3 (64 bits))?
  • what camera do you use?

Thanks :slight_smile:

Hello Mpous,

Thank you for reaching out. I used the one-click deploy from the following link below for Balena-Cam
I tried on 3 different devices. Raspberry Pi 3, Raspberry Pi 2 0 W, and another Raspberry Pi 3. I tried using Camera modules, and a USB web Cam.
I tried dev mode and prod (32bit modes) (by deleting and starting fresh 3 times basically. The attachment has the errors I always get.
GitHub - balenalabs/balena-cam: Network Camera with Raspberry Pi and WebRTC. Tutorial:

[

## GitHub - balenalabs/balena-cam: Network Camera with Raspberry Pi and Web…

Network Camera with Raspberry Pi and WebRTC. Tutorial: - GitHub - balenalabs/balena-cam: Network Camera with Ras…

](https://github.com/balenalabs/balena-cam)

Thanks,
Neil

campbell493_aged-paper-04.02.22_07_50_23_(-0500).txt (11.8 KB)

Hi - getting the same issue whatever I try on a Pi 3 model B - Any news on solutions by any chance please?

Hello, one of our community members recently provided an update to balenaCam that was merged and it should no longer result in the errors described above. @neilinpaemail, @danuw let us know if it is working now for you.