You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Restarting with stat
mmal: mmal_vc_port_enable: failed to enable port vc.null_sink:in:0(OPQV): ENOSPC
mmal: mmal_port_enable: failed to enable connected port (vc.null_sink:in:0(OPQV))0x2378020 (ENOSPC)
mmal: mmal_connection_enable: output port couldn't be enabled
Traceback (most recent call last):
File "main.py", line 11, in
video_camera = VideoCamera(flip = True) # creates a camera object, flip vertically
File "/home/pi/Smart-Security-Camera/Smart-Security-Camera/camera.py", line 9, in init
self.vs = PiVideoStream().start()
File "/home/pi/.virtualenvs/cv/local/lib/python2.7/site-packages/imutils/video/pivideostream.py", line 10, in init
self.camera = PiCamera()
File "/home/pi/.virtualenvs/cv/local/lib/python2.7/site-packages/picamera/camera.py", line 433, in init
self._init_preview()
File "/home/pi/.virtualenvs/cv/local/lib/python2.7/site-packages/picamera/camera.py", line 513, in _init_preview
self, self._camera.outputs[self.CAMERA_PREVIEW_PORT])
File "/home/pi/.virtualenvs/cv/local/lib/python2.7/site-packages/picamera/renderers.py", line 558, in init
self.renderer.inputs[0].connect(source).enable()
File "/home/pi/.virtualenvs/cv/local/lib/python2.7/site-packages/picamera/mmalobj.py", line 2212, in enable
prefix="Failed to enable connection")
File "/home/pi/.virtualenvs/cv/local/lib/python2.7/site-packages/picamera/exc.py", line 184, in mmal_check
raise PiCameraMMALError(status, prefix)
picamera.exc.PiCameraMMALError: Failed to enable connection: Out of resources
Exception AttributeError: "'VideoCamera' object has no attribute 'vs'" in <bound method VideoCamera.del of <camera.VideoCamera object at 0x7069eef0>> ignored
The text was updated successfully, but these errors were encountered:
not sure if it's connected.. I've got the same error when tried running a flask picamera proccess with node execSync. running it with exec solved it in my case.
not sure if it's connected.. I've got the same error when tried running a flask picamera proccess with node execSync. running it with exec solved it in my case.
Hi Friends,
I have installed the code successfully. But when running python main.py file getting attribute error.
Any help please ?
mmal: mmal_vc_port_enable: failed to enable port vc.null_sink:in:0(OPQV): ENOSPC
mmal: mmal_port_enable: failed to enable connected port (vc.null_sink:in:0(OPQV))0x2378020 (ENOSPC)
mmal: mmal_connection_enable: output port couldn't be enabled
Traceback (most recent call last):
File "main.py", line 11, in
video_camera = VideoCamera(flip = True) # creates a camera object, flip vertically
File "/home/pi/Smart-Security-Camera/Smart-Security-Camera/camera.py", line 9, in init
self.vs = PiVideoStream().start()
File "/home/pi/.virtualenvs/cv/local/lib/python2.7/site-packages/imutils/video/pivideostream.py", line 10, in init
self.camera = PiCamera()
File "/home/pi/.virtualenvs/cv/local/lib/python2.7/site-packages/picamera/camera.py", line 433, in init
self._init_preview()
File "/home/pi/.virtualenvs/cv/local/lib/python2.7/site-packages/picamera/camera.py", line 513, in _init_preview
self, self._camera.outputs[self.CAMERA_PREVIEW_PORT])
File "/home/pi/.virtualenvs/cv/local/lib/python2.7/site-packages/picamera/renderers.py", line 558, in init
self.renderer.inputs[0].connect(source).enable()
File "/home/pi/.virtualenvs/cv/local/lib/python2.7/site-packages/picamera/mmalobj.py", line 2212, in enable
prefix="Failed to enable connection")
File "/home/pi/.virtualenvs/cv/local/lib/python2.7/site-packages/picamera/exc.py", line 184, in mmal_check
raise PiCameraMMALError(status, prefix)
picamera.exc.PiCameraMMALError: Failed to enable connection: Out of resources
Exception AttributeError: "'VideoCamera' object has no attribute 'vs'" in <bound method VideoCamera.del of <camera.VideoCamera object at 0x7069eef0>> ignored
The text was updated successfully, but these errors were encountered: