[00:25] dfarning: burning CD to do install... [01:04] install to USB comes up on grub rescue..? === dfarning is now known as dfarning_afk === dfarning_afk is now known as dfarning === alsroot_ is now known as alsroot === manusheel_afk is now known as manusheel === manu__ is now known as kandarpk === satellit_ is now known as satellit_afk [17:45] kandarpk: http://activities.sugarlabs.org/en-US/sugar/addon/4222 [17:59] alsroot: around ? [18:02] kandarpk: yup [18:05] alsroot: I wished to know how could we generate hash of a file [18:05] that is stored in the journal [18:06] alsroot: Kandarp is working on SL #2093. [18:06] alsroot: Walter provided a pointer on this issue - to compare hash of the files. [18:07] kandarpk: datastore launches md5sum command [18:08] alsroot: can we manually use it on some files ? [18:09] kandarpk: why not, but since TA files should not be huge, you can use hashlib python library http://docs.python.org/library/hashlib.html to not exec shell process from TA [18:10] kandarpk: if they could be big, then you can do the same as ds does, launch md5sum command (didn't try to find better method) [18:11] s/didn't try/I didn't try/ [18:11] alsroot: OK, thanks. [18:11] will try them [18:14] alsroot: how could we launch md5sum from inside sugar ? [18:17] kandarpk: use subprocess module http://docs.python.org/library/subprocess.html [18:19] alsroot: and hashlib is accepting string to generate the hash, how could we provide file as input ? [18:19] kandarpk: just read the whole file [18:20] alsroot: ok. [18:20] thanks.