Closed andyhawkes closed 5 years ago
Hey @andyhawkes ! I also ran into this kind of trouble.
This error takes place during the first instanciation of PiCamera() This is frequently caused by :
This is not caused by TouchSelfie, any script that creates a PiCamera instance should fail the same way.
I advise you to:
raspistill
command line tool works (if it doesn't, there's an issue with your camera or there's another application using it)Good luck!
raspistill
gives the same error.
I don't know what else could be using the camera though - it's literally a clean install of Raspbian with TouchSelfie set up on top of it.
I've ordered a new camera module and will test it with that once it arrives.
@andyhawkes also double check if you don't have any background services that use the camera (e.g. 'motion' or camera/www bridge) and make sure that the camera is enabled with raspi-config
@laurentalacoque it looks like the v2 camera module I had was faulty - I swapped it out for a new v1 camera module and it works fine!
Hooray 👍 :)
I have just done a clean install of Rasbian (via NOOBS) and run through the setup process in the README, and everything is set up for the TouchSelfie app, but if I try to execute photobooth.sh I get the following error:
I have checked that the camera is detected and supported via the following:
I have also increased GPU memory to 144
Nothing seems to make it want to work!