fangfufu / Linux-Fake-Background-Webcam

Faking your webcam background under GNU/Linux, now supports background blurring, animated background, colour map effect, hologram effect and on-demand processing.
GNU General Public License v3.0
1.6k stars 161 forks source link

Allow write access for temporary file creation #168

Closed electrofelix closed 2 years ago

electrofelix commented 2 years ago

Running the image requires the ability to create temporary directories and files under a suitable path. The setting read_only prevents any modifications resulting in an error message of:

FileNotFoundError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/src']

Remove this option to allow local changes to be made to the image.

To retain this option requires adding a tmpfs: /tmp to the compose configuration and will result in a further message being emitted about Matplotlib not being able to write to the expected directory.