fswebcam icon indicating copy to clipboard operation
fswebcam copied to clipboard

"Opening /dev/video0... stat: No such file or directory" after taken 10 Pictures

Open bugy186 opened this issue 2 years ago • 1 comments

Hey guys,

the fswebcam worked pretty well until a few days.

My Programm-code:

import os import time

i=0 range=1000

while i<=range: os.system('sudo fswebcam -v /home/pi/pictures/%Y-%m-%d_%H:%M:%S.jpg') i=i+1 time.sleep(300)

Pretty simple and it worked fine until few days ago. After taken around 10 Pictures the following error occures: --- Opening /dev/video0... stat: Mo such file or directory

Turning my Raspberry on and off worked, but its now the third time this error occures, and I didnt get the pictures through the night.

Anybody any suggestions?

Its running on an Raspberry Pi 3 B+ and Raspberry Pi OS.

Thanks in advance,

bugy186

bugy186 avatar Jul 27 '22 07:07 bugy186

I have this issue too. (Ubuntu GNU/Linux Jammy Jellyfish 20) It happens to me after taking many photos (1000+), but I have to reboot, and it is annoying. Hope it gets fixed!

MaxBiz100 avatar Jul 14 '23 21:07 MaxBiz100