Traceback (most recent call last):


 "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner

self.run()


 "/usr/lib/python2.7/threading.py", line 754, in run

self.__target(*self.__args, **self.__kwargs)


 "/usr/local/lib/python2.7/dist-packages/paddle/v2/reader/decorator.py", line 271, in handle_worker

r = mapper(sample)


 "/usr/local/lib/python2.7/dist-packages/paddle/v2/dataset/flowers.py", line 63, in default_mapper

img = load_image_bytes(img)


 "/usr/local/lib/python2.7/dist-packages/paddle/v2/image.py", line 113, in load_image_bytes

img = cv2.imdecode(file_bytes, flag)
AttributeError: 'NoneType' object has no attribute 'imdecode'

Traceback (most recent call last):


 "/var/mycodo-root/mycodo/controllers/base_controller.py", line 146, in attempt_execute

func()


 "/var/mycodo-root/mycodo/controllers/controller_conditional.py", line 177, in check_conditionals

self.conditional_run.conditional_code_run()


 "/home/pi/Mycodo/mycodo/user_python_code/conditional_678e4f4f-2ae6-4cc0-87e4-7e51f6df53bc.py", line 25, in conditional_code_run

measurement = self.condition("6f4cfef7-c00e-4896-8bc2-52f4dc7006bb")


 "/var/mycodo-root/mycodo/controllers/base_conditional.py", line 48, in condition

return control.get_condition_measurement(condition_id)


 "/var/mycodo-root/mycodo/mycodo_client.py", line 200, in get_condition_measurement

return self.proxy().get_condition_measurement(condition_id)


 "/var/mycodo-root/env/lib/python3.7/site-packages/Pyro5/client.py", line 476, in __call__

return self.__send(self.__name, args, kwargs)


 "/var/mycodo-root/env/lib/python3.7/site-packages/Pyro5/client.py", line 243, in _pyroInvoke

raise data
# if you see this in your traceback, you should probably inspect the remote traceback as well
AttributeError: 'NoneType' object has no attribute 'channel'
