On Tue, 2021-05-25 at 18:56 -0700, bodosugar wrote: > Thank you. That'd be exactly what I need. I can easily find the uid > (object > identifier) for the journal entry I want--i.e., the one created by > Turtle > Block's "Save snapshot" option. > > Would you please point me to whatever info/doc is available on those > cmd > line utilities you mentioned? I just need to read an object (e.g., > given its > uid) out of the datastore and write it to regular file(s). Plus the > reverse > operation: given such file(s), create a new object in the datastore.
You can look at the datastore module of the sugar-toolkit-gtk3 API, it contains what you'll need to interact with the datastore. > > It seems conceptually simple. Of all the metadata I see for a TB > snapshot, > all attrs could remain unchanged after recreating the object--except > for the > uid. But I'm having trouble writing the code because I've no > experience with > asynchronous D-Bus calls, so any existent code would be a huge help. > > About running a persistent image: that would only solve some > problems. I > still wouldn't be able to recover from various crashes or to take my > work > over to other computers/VMs. This solution I'm pursuing, albeit > messy, is > powerful enough to do the job. > > Cheers, > --Ken Irusta > > > Walter Bender-2 wrote > > The object in the datastore is what you need. There are cmd line > > utilities for grabbing objects from the Sugar datastore. A bit > > awkward. Any reason you don't want to run a persistent image? > > > > > > -- > Sent from: > http://sugarlabs.1511649.n2.nabble.com/Sugar-on-a-Stick-development-f3721053.html > _______________________________________________ > SoaS mailing list > [email protected] > http://lists.sugarlabs.org/listinfo/soas
signature.asc
Description: This is a digitally signed message part
_______________________________________________ SoaS mailing list [email protected] http://lists.sugarlabs.org/listinfo/soas

