maemo.org Bugzilla – Bug 12516
Error Message camera-ui: "Not enough memory to save photo"
Last modified: 2012-02-24 17:24:07 UTC
You need to
before you can comment on or make changes to this bug.
20.2010.36-2maemo16.8 and 21.2011.38-1Tmaemo1 (maybe)
EXACT STEPS LEADING TO PROBLEM:
1. Never opened the camera app
2. Install CSSU
3. Open the camera app and try to take a photo
You can take the photo.
Error Message. No photo.
What is the exact error message? Please always post it in bug reports and be as
specific as possible so somebody can try to reproduce...
"Memoria insufficente per salvare la foto", italian, in english something like
"Not enough memory for sove a photo", but the memory is empty
on the bottom left of the ui, the button right from the number which indicates
how many pics you can still shoot (probably 0 in your case), try to select
internal storage in the menu that pops up
Thank you for reporting this bug.
Can you tell me if you use a memory
card, if yes, does it have a VFAT partition
(is it usable with the stock camera-ui)?
I added a fix to camera-ui for better handling
of unwritable memory cards (those without a VFAT
I don't have a memory card. Tomorrow I'll try to flash my phone and install the
CSSU to reproduce the bug with a "new" N900.
I have the same problem. It says there is not enough space when I select
internal storage, but is fine with taking photos on the MMC (which has less
Filesystem Size Used Available Use% Mounted on
/dev/mmcblk0p1 27.0G 20.8G 6.2G 77% /home/user/MyDocs
/dev/mmcblk1p1 1.9G 754.7M 1.1G 40% /media/mmc1
Dario, is $INTERNAL_MMC_MOUNTPOINT or $OSSO_PRODUCT_HARDWARE set on your
device? Do you have a /scratchbox directory on your device?
The problem on my device appears to be that I do not have the
INTERNAL_MMC_MOUNTPOINT environment variable set. Running
"INTERNAL_MMC_MOUNTPOINT=/home/user/MyDocs camera-ui" produces the expected
behaviour (except, of course, that two instances of camera-ui open).
Camera-ui uses that environment variable to locate the internal storage during
free space calculation:
and returns 0 free space by default (rather than an error) if the variable is
As far as I can tell, that variable is supposed to have been set by
It appears in turn that af-defines.sh is not setting it because
$OSSO_PRODUCT_HARDWARE is not set, because at some point I installed a broken
package from extras-devel which created a /scratchbox dir on my N900, and
af-defines.sh does not run /usr/bin/osso-product-info if such a directory
exists (line 106).
By the way, the exact English error message is "Memory full. Unable to save
contents.". I believe the string comes from GVFS.
P.S. Removing the package owning /scratchbox fixed the problem on my device.
While the bug is valid the actual problem resides in af-defines.sh since the
initial problem in camera-ui is fixed already.