Ticket #1636 (new defect)
Journal Entry storage / sharing via USB stick doesn't work
| Reported by: | martin.langhoff | Owned by: | alsroot |
|---|---|---|---|
| Priority: | Unspecified by Maintainer | Milestone: | 0.92 |
| Component: | journal | Version: | Git as of bugdate |
| Severity: | Unspecified | Keywords: | r? |
| Cc: | Distribution/OS: | Unspecified | |
| Bug Status: | New |
Description
Tested on OLPC F11 builds... -- this is also known as http://dev.laptop.org/ticket/9657 -- and there is very good discussion there.
On 0.84.x, if I
1 - using TurtleArt, create a new Journal entry (named "F11-100") with some content (and exit activity)
2 - plug in a USB stick
3 - copy the Journal entry to the USB stick via drag-n-drop in the Journal...
4 - exploring the USB disk shows a F11-100.gtar file with _no_ metadata, and the metadata seems to (maybe) be stored in a database in .olpc.store/index
and then...
5 - unmount, unplug the USB disk
6 - plug it back in, wait for it to mount...
7 - Journal shows F11-100.gtar, and doesn't know what to do with it.
Sugar 0.84 has fixed an old problem (the Journal going to la-la-land if the .olpc.store/inded DB was corrupt) by completely ignoring the metadata DB.
Now, the metadata DB had a role in the workflow I describe above. Has anything taken that role? Maybe the new mechanism isn't kicking in correctly? Does it work on 0.86 somehow? (Maybe we can backport it?)
In the field, exchanging and storing journal entries via USB stick is a major thing.
In the back of my mind, I had expected that Journal Entry Bundles (JEBs) would be used for this, but
the Journal doesn't store a JEB on the disk
the Journal doesn't recognize a valid JEB on the disk
If there is no other fix in sight, the best course of action I can propose is to use JEBs as I describe here.

