Skip to content

KeyError: "camera_r" #1

@triggan

Description

@triggan

I'm attempting to run this on a Raspberry Pi 3 with Python 2.7.9 and I'm getting the following error. I find it strange that it references the RaspberryPi camera. Is that a requirement in order to run this demo?

pi@raspberrypi:~/Desktop/DevIoT_RaspberryPi_starter_kit $ sudo python app.py
Traceback (most recent call last):
File "app.py", line 15, in
app = PiGateway(app_name, devIot_address, mqtt_address, devIot_account)
File "build/bdist.linux-armv7l/egg/DevIoTGatewayPi/pigateway.py", line 17, in init
File "build/bdist.linux-armv7l/egg/DevIoTGatewayPi/pigateway.py", line 84, in __import_sensor_model
File "", line 1, in
File "/home/pi/Desktop/DevIoT_RaspberryPi_starter_kit/sensors/camera.py", line 12, in
path = config["sensors"]["camera_r"]['path']
KeyError: 'camera_r'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions