Camera function does not save photos on SD card

Bug #1474218 reported by Michael Zukowski on 2015-07-14
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Undecided
Bill Filler
camera-app (Ubuntu)
High
Ugo Riboni

Bug Description

When changing the BQ Aquaris 4.5 camera settings, to save pictures on an SD memory card no foto is saved on this device. The audio signal of the camera leds to the assumption that a foto has been made, but the file is not saved on SD card, nor internal phone memory.

William Grant (wgrant) on 2015-07-14
affects: launchpad → camera-app
Changed in camera-app:
importance: Undecided → High
Bill Filler (bfiller) wrote :

@michael
Is this still an issue for you? Can you please do the following things to provide us with more information:
1) attach camera-app log file (found on phone in ~/.cache/upstart/application-click.com.ubuntu.camera_<version>.log
2) does your SD card have available space on it?
3) are you sure your SD is formatted correctly and can be written to?

Thanks for reporting this issue

Changed in camera-app (Ubuntu):
importance: Undecided → High
assignee: nobody → Ugo Riboni (uriboni)
no longer affects: camera-app
Changed in camera-app (Ubuntu):
status: New → Triaged
status: Triaged → Incomplete
summary: - Camera function does not save fotos on SD card
+ Camera function does not save photos on SD card

@Bill, thanks, I just checked it again. The bug is still existing.

I use the SD card on my device for videos and mp3 files. So the card should be ok. The file you have mentioned does not exist on my device. I attache a log file which sounds at least similar...

Bill Filler (bfiller) wrote :

Hi Michael,
there should be a log named like /home/phablet/.cache/upstart/application-click-com.ubuntu.camera_camera_<VERSION>.log where <VERSION> is the version number you have installed (latest is 605 I believe). If you could check again that log would be helpful.

Also, would be good to test if you can create files on your SD card, as perhaps it's read-only or corrupt in some way. Please try this after opening a shell on your device:
> df -kh

You should see SD card mounted as /media/phablet/<ID>

>cd /media/phablet/<ID>
>ls
You should see a Pictures directory
>cd Pictures
>ls
You should see a com.ubuntu.camera directory
>cd com.ubuntu.camera
Now try to create a file
>touch foo.txt
see if error reported
if not, do
>ls -lc foo.txt
and report the results

Hi Bill

I tried to create in /media/phablet/701E-57CS/Pictures/

cat > foo.txt

results in: foo.txt: Input/ Output error

Afterwards

>ls -lc foo.txt

results in: No such file or directory

I also searched /home/phablet/.cache/upstart/application-click-com.ubuntu.camera_camera_<VERSION>.log, but negative. At least I confirm that I update my device regular and therefor the camera app should be the most recent release.

P.S.: A 'pictures' directory is availble on my SD card (also a download, music folder etc), but no sub directory 'com.ubuntu.camera'. By the way, I can see the folders on the sd card in the pre-installed "file-manager app" (German: Dateiverwaltung) only, when I enter my "sudo" password.

Ugo Riboni (uriboni) wrote :

Michael, you said you tried "cat > foo.txt", but can you please try to "touch foo.txt" as Bill originally requested ?

If that comment still gives you an I/O error, is there any chance you can try with a different SD card, or try creating a file on the SD card from your computer ?

I/O errors suggest some kind of corruption in the file system on the card, or possibly even the card itself being damaged.

Sorry, touch was overlooked by me. If I try to create "touch foo.txt", it gives me the following message:

bash: touch: permission denied

I will try within the next few days another SD card.

Changed in camera-app (Ubuntu):
status: Incomplete → New
status: New → Incomplete
Changed in camera-app:
status: New → Incomplete
importance: Undecided → High
assignee: nobody → Ugo Riboni (uriboni)

Tried to the same with another SD card with negative result. Camera app does not save pictures on such a card. Same to creating a file "touch foo.txt".

What does it say when you try to do "touch foo.txt" after doing a "cd" into
the mounted card ?

On Thu, Dec 17, 2015 at 7:37 AM, Michael Zukowski <
<email address hidden>> wrote:

> Tried to the same with another SD card with negative result. Camera app
> does not save pictures on such a card. Same to creating a file "touch
> foo.txt".
>
> --
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/1474218
>
> Title:
> Camera function does not save photos on SD card
>
> Status in camera-app:
> Incomplete
> Status in camera-app package in Ubuntu:
> Incomplete
>
> Bug description:
> When changing the BQ Aquaris 4.5 camera settings, to save pictures on
> an SD memory card no foto is saved on this device. The audio signal of
> the camera leds to the assumption that a foto has been made, but the
> file is not saved on SD card, nor internal phone memory.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/camera-app/+bug/1474218/+subscriptions
>

Ugo, it gives me also a I/O error input/ output error. I cannot create such a file on SD card. Also the directory "com.ubuntu.camera" does not exist. The basic directory tree like "Pictures, Music etc." is available...

P.S.: What I have noted: When choosing SD in the camera app, it looks like the camera makes a picture, including virtual camera sound. But the picture is a mentioned not saved to any location and after that I cannot make another foto. The button of the camera app is without function.

Changed in camera-app:
status: Incomplete → New
Changed in camera-app (Ubuntu):
status: Incomplete → New
Bill Filler (bfiller) on 2016-01-26
Changed in canonical-devices-system-image:
milestone: none → ww08-2016
Changed in canonical-devices-system-image:
assignee: nobody → Bill Filler (bfiller)
status: New → Incomplete
no longer affects: camera-app
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in camera-app (Ubuntu):
status: New → Confirmed
Bill Filler (bfiller) on 2016-03-15
Changed in camera-app (Ubuntu):
status: Confirmed → Incomplete
Changed in canonical-devices-system-image:
milestone: ww08-2016 → backlog
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers