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

James Cameron quozl at laptop.org
Thu Dec 30 22:26:12 EST 2010


On Thu, Dec 30, 2010 at 10:06:15PM -0500, Erik Blankinship wrote:
> 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

I don't think the datastore is intended to add a valid extension to the
path.  Can you not rely on the mime-type instead?  What does the
datastore say the mime-type is?

-- 
James Cameron
http://quozl.linux.org.au/


More information about the Sugar-devel mailing list