raspberry PI camera occupation problem and solution
h1>
when using Python and PiCamera to take a photo/video, if
is not in time
camera.close()
p>
When
runs again, an error may occur:
picamera.exc.PiCameraMMALError: Failed to enable connection: Out of resource
p>
solution:
just find and kill the process where the Camera is.
step1: ps -u
find the corresponding python PID, such as 14255
step2: kill 14255
step3: re-run, problem solved
Read More:
- Spring MVC – enable static resource access
- Failed to load resource: net::ERR_CONNECTION_RESET
- Failed to load resource: net::ERR_CONNECTION_REFUSED
- Solve the problem of Failed to load resource: net::ERR_CONNECTION_REFUSED
- The browser console reports failed to load resource: net :: ERR_CONNECTION_RESET, which results in unable to log in
- Sync with Gradle for project ‘XXXX‘ failed: Connection timed out: connect
- RTMP_Connect0, failed to connect socket. 110 (Connection timed out)
- reason 442 failed to enable virtual adapter
- Ubuntu 20.04 GPG: KeyServer receive failed: connection timed out when installing ROS configuration key
- [PHP]stream_socket_client(): Failed to enable crypto
- [resolved] exception java.net.ConnectException : Error opening socket to server Connection timed out.
- Debian/Ubuntu uses proxy for gpg and apt-key-error resolution: gpg: keyserver receive failed: Connection timed out
- Error: 701 use DAC connection when out of memory
- Putty prompt connection time out
- Failed to enable APR appears when the cmder of ubutun system in win subsystem installs Apache_ TCP_ DEFER_ ACCEPT
- Putty:Network error:Connection timed out
- Failed to connect to remote VM. Connection reused. Connection reused: Connect
- Resourceaccessexception: I / O error on post request for and connection timed out
- Error: JMeter monitors Linux system performance java.net.ConnectException : Connection timed out: connect
- failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED