Bug #1796

There is not enough space on SD

Added by SteveWyshy over 4 years ago. Updated almost 4 years ago.

Status:ClosedStart date:08/28/2013
Priority:NormalDue date:
Assignee:micah% Done:

100%

Category:-
Target version:Beta 3
Component:

Description

Here's a bug report from Mustafa that has not made it to the tracker yet. Original email was filed on July 7th.

Log-NotEnoughSpace.txt Magnifier (97.8 KB) SteveWyshy, 08/28/2013 11:10 pm

screenshot_2013-07-08_0924.png (117 KB) SteveWyshy, 08/28/2013 11:10 pm

Associated revisions

Revision fea1a080
Added by micah over 4 years ago

Added Memory Checking to alert user if memory is too low. Issue #1796

History

#1 Updated by vitriolix over 4 years ago

  • Status changed from New to Feedback

What is the proposed fix? detect that the sd is full and warn the user more specifically, something like "There is more room on the SD card, aborting export" ?

#2 Updated by SteveWyshy over 4 years ago

If everything in the log is working correctly and all that is happening is the disk is full then yes. When StoryMaker runs out of space, it should prompt the user and say "Whoops, we're out of space. Please make more space available and try again!"

One step up from that would be to suggest how much space they need to make to be successful, though I understand that's a bit harder. "Whoops, we're out of space. Please make 200MB available and try again!"

An even more useful, but difficult step up from that would be for StoryMaker be able to wipe previous render content it's created itself, knowing that when it needs to create it again for another story, it can do so then. Enabling the user to wipe their cache for more space that would be great. Again, I understand this is increasing the complexity of the solution significantly.

#3 Updated by SteveWyshy over 4 years ago

In the immediate time table, when StoryMaker runs out of space, it should prompt the user and say "Whoops, we're out of space. Please make more space available and try again!"

We can hold off on the other ideas, I'll move them into individual low priority tickets.

#4 Updated by vitriolix over 4 years ago

  • Assignee changed from vitriolix to micah
  • Target version changed from Bugs to Beta 3

#5 Updated by micah over 4 years ago

  • Priority changed from Immediate to Normal

Hey Steve,

Josh and I were discussing the workflow of this issue and wanted to get your input.

I am still going through the use cases right now, so I don't know how the phone will react if the SD card fills up before the export completes (I am guessing the ffmpeg library will throw an error). If we are going to give the user a warning beforehand, we need some way to approximate the size of the exported file and compare it to the available memory on the SD card.

That being said, should we try to let the user know ahead of time about the possibility of the phone not having enough memory? Or should we go ahead and attempt to export the video and give them an error message saying there wasn't enough memory if it fails?

Thanks

#6 Updated by micah over 4 years ago

  • % Done changed from 0 to 100

Added in memory checking before an export or publish is performed. The user will be shown the message: "Whoops, we're out of space. Please make approximately X MB available and try again!" and be moved back to the publish tab.

#7 Updated by micah over 4 years ago

  • Status changed from Feedback to Resolved

#8 Updated by vitriolix almost 4 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF