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

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

Open
bugy186 opened this issue Jul 27, 2022 · 1 comment

Comments

@bugy186
Copy link

bugy186 commented Jul 27, 2022

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

@MaxBiz100
Copy link

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!

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

2 participants