Edited by 1560141986 at 2019-6-11 12:38 AM
Follow up with a similar camera issue when executing sudo python3 server.py.
pi@raspberrypi:~/Adeept_PiCar-B/server $ sudo killallpython3 python3: no process found pi@raspberrypi:~/Adeept_PiCar-B/server $ sudo python3server.py mmal: mmal_vc_component_create: failed to create component'vc.ril.camera' (1:ENOMEM) mmal: mmal_component_create_core: could not create component'vc.ril.camera' (1) Traceback (most recent call last): File"/usr/lib/python3/dist-packages/picamera/camera.py", line 456, in_init_camera self._camera =mo.MMALCamera() File"/usr/lib/python3/dist-packages/picamera/mmalobj.py", line 2279, in__init__ super(MMALCamera,self).__init__() File"/usr/lib/python3/dist-packages/picamera/mmalobj.py", line 633, in__init__ prefix="Failed to create MMAL component %s" %self.component_type) File"/usr/lib/python3/dist-packages/picamera/exc.py", line 184, inmmal_check raisePiCameraMMALError(status, prefix) picamera.exc.PiCameraMMALError: Failed to create MMALcomponent b'vc.ril.camera': Out of memory
During handling of the above exception, another exceptionoccurred:
Traceback (most recent call last): File"server.py", line 692, in <module> camera =picamera.PiCamera() #Camerainitialization File"/usr/lib/python3/dist-packages/picamera/camera.py", line 431, in __init__ self._init_camera(camera_num, stereo_mode, stereo_decimate) File"/usr/lib/python3/dist-packages/picamera/camera.py", line 460, in_init_camera "Camera isnot enabled. Try running 'sudo raspi-config' " picamera.exc.PiCameraError: Camera is not enabled. Tryrunning 'sudo raspi-config' and ensure that the camera has been enabled.
Camera was enabled. What needs to be done to correct this issue? In a response to the previous Camera issue, it was stated to change "Adeept.PiCar-B" to "adeept.PiCar-b". Please explain the reason for this preposed change to folder name.
|