[Sugar-devel] moving datastore projects via usb sticks?

Erik Blankinship erikb at mediamods.com
Thu Dec 30 22:06:15 EST 2010


On Thu, Dec 30, 2010 at 8:31 AM, Martin Langhoff
<martin.langhoff at gmail.com>wrote:

> On Thu, Dec 30, 2010 at 8:25 AM, Erik Blankinship <erikb at mediamods.com>
> wrote:
> > In my video game, I am saving game state resources into a tar file, which
> is
> > then saved to the journal / datastore.
>
> Hi Erik!
>
> on the 10.1.3 release track we've made some improvements in this area
> (which was rather broken). What version of sugar is this happening
> with? Can you test one of our recent 10.1.3 builds on an XO? Say
> http://build.laptop.org/10.1.3/xo-1.5/os360a/
>
>
To recap, I make a datastore entry in my activity.  The saved file is a tar
file and saved with tar mime-type.

I just tried os360b on an xo-1.

The datatstore entry, when copied via drag and drop to the usb stick is not
renamed, and keeps its sugar icon.  That's great!

However, when I try to open that file off of the usb stick within the
activity with an object chooser, the activity has some problems.

I check to see if the file_path ends in gtar or tar (presumably assigned by
the datastore mime-type?) and some debugging tells me it does not.  Instead
I get a path /home/olpc/.sugar/default/data/rawobject3dkJYR

Please let me know how I can help debug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20101230/5637e4bb/attachment.html>


More information about the Sugar-devel mailing list