Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no buffers available when using overlay update method #691

Open
watchever opened this issue Jun 8, 2021 · 1 comment
Open

no buffers available when using overlay update method #691

watchever opened this issue Jun 8, 2021 · 1 comment

Comments

@watchever
Copy link

Hello, PiCamera api raise following exception when I use several times the update method on PiRendererOverlay.
It does not process but would like to understand and know what to do to avoid the problem.

Thanks for your help

Traceback (most recent call last):
File "_ctypes/callbacks.c", line 232, in 'calling callback function'
File "/usr/lib/python3/dist-packages/picamera/mmalobj.py", line 1227, in wrapper
self._pool.send_buffer(block=False)
File "/usr/lib/python3/dist-packages/picamera/mmalobj.py", line 1931, in send_buffer
super(MMALPortPool, self).send_buffer(port, block, timeout)
File "/usr/lib/python3/dist-packages/picamera/mmalobj.py", line 1881, in send_buffer
raise PiCameraMMALError(mmal.MMAL_EAGAIN, 'no buffers available')
picamera.exc.PiCameraMMALError: no buffers available: Resource temporarily unavailable; try again later

@watchever
Copy link
Author

Just see this answer but don't know if it is safe :
9ba4780

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant