Atari Boy
Posts: 7
Joined: Sun Dec 28, 2014 6:02 pm

Camera has stopped working

Fri Jan 09, 2015 4:03 pm

Can anyone help please?

I am new to code and Pi's so please be gentle.

I have a B+ and got it up and running over Christmas, I even managed to take a photo although I can't seem to.

Its running remotely now and I have checked that I have the RPI software up to date and I have checked the ribbon cable is correctly fitted too.

This is the last message I got, it basically goes back to the command prompt after I try and use 'raspistill -o image.jpg'

Image

Help.

User avatar
DougieLawson
Posts: 39121
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Camera has stopped working

Fri Jan 09, 2015 6:38 pm

That means the camera has done its job and the photo is ready for whatever you want to with it next.

The normal thing with command line programs is they are silent when things work normally and generate lots of error messages when things go wrong.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Atari Boy
Posts: 7
Joined: Sun Dec 28, 2014 6:02 pm

Re: Camera has stopped working

Sat Jan 10, 2015 9:00 pm

Okay, thank you, that makes more sense.

So why am I not getting a saved image as the command requests?

DirkS
Posts: 10363
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Camera has stopped working

Sat Jan 10, 2015 9:57 pm

Atari Boy wrote:Okay, thank you, that makes more sense.

So why am I not getting a saved image as the command requests?
So there's no 'image.jpg' after raspistill finishes?

Try
raspistill -v -o image.jpg
to get the 'verbose' output. It shows a lot of diagnostic information.

Gr.
Dirk.

ghans
Posts: 7882
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: Camera has stopped working

Sat Jan 10, 2015 9:58 pm

The picture won't display until you request it do be displayed.

On the commandline , the philosophy is as follows :

1) YOU tell the computer what to do , because only YOU know
what is best for you. A lot of nasty things can be said about
software which tries to be "helpful" ...
2) Commandline programs shall do only one thing at once so they
can be programmed to that thing very well.

That said , you can simply open the file browser and see the
picture in your home directory :D


ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

Atari Boy
Posts: 7
Joined: Sun Dec 28, 2014 6:02 pm

Re: Camera has stopped working

Mon Jan 12, 2015 2:22 pm

Okay, fabulous, thank you, I didn't realise about checking the home directory.The part that confused me was that when I took the first image, I got a 'preview' and it ended up on my desktop.

Can anyone recommend a good book to teach me about the basics that I'm struggling with?

Thanks again.

ghans
Posts: 7882
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: Camera has stopped working

Mon Jan 12, 2015 3:04 pm

• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

User avatar
RaTTuS
Posts: 10559
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK
Contact: Twitter YouTube

Re: Camera has stopped working

Mon Jan 12, 2015 3:09 pm

the preview will not show up on a remote conection
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

Return to “Troubleshooting”