You can see the /home/broot path inside an osbuild shell, it corresponds to sugar-build/home.<br><br>On Friday, 4 April 2014, Puneet Kaur <<a href="mailto:puneet.gkaur@gmail.com">puneet.gkaur@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I am unable to launch the record activity in my sugar development environment due to the following (as seen in the log):<br>
<br><font size="1">** Message: pygobject_register_sinkfunc is deprecated (GstObject)<br>
** Message: pygobject_register_sinkfunc is deprecated (HippoCanvasBox)<br>
Traceback (most recent call last):<br> File "/home/broot/sugar-build/</font><div><font size="1">build/out/install/bin/sugar-</font><font size="1">activity", line 164, in <module><br> main()<br> File "/home/broot/sugar-build/</font><font size="1">build/out/install/bin/sugar-</font><font size="1">activity", line 122, in main<br>
module = __import__(module_name)<br> File "/home/broot/sugar-build/</font><font size="1">activities/Record.activity/</font><font size="1">record.py", line 48, in <module><br> from model import Model<br>
File "/home/broot/sugar-build/</font><font size="1">activities/Record.activity/</font><font size="1">model.py", line 38, in <module><br>
from instance import Instance<br> File "/home/broot/sugar-build/</font><font size="1">activities/Record.activity/</font><font size="1">instance.py", line 6, in <module><br> class Instance:<br> File "/home/broot/sugar-build/</font><font size="1">activities/Record.activity/</font><font size="1">instance.py", line 8, in Instance<br>
keyHash = util.sha_data(key)<br> File "/home/broot/sugar-build/</font><font size="1">build/out/install/lib/python2.</font><font size="1">7/site-packages/sugar/util.py"</font><font size="1">, line 48, in sha_data<br>
sha_hash.update(data)<br>TypeError: must be string or buffer, not None<br>
Exited with status 1, pid 6433 data (None, <open file '<fdopen>', mode 'w' at 0xa163cd8>, '</font><font size="1">00ff052bdf454798f5c949c07f1ec8</font><font size="1">0b985eaeba')<br><font><br>
</font></font></div><div><font>As far as I have traced the
error, it is due to the null value in key in line 7 in
record/instance.py which in turn is due to no os path in line 87 in
sugar-build/build/out/install/<font>lib/python2.7/site-packages/</font><font>sugar/profile.py, I saw the path it was set to /home/broot/.sugar/default/</font><font>owner.key.pub </font><font><font>whereas
no such path exists when I look through the terminal, the correct path
where the owner.key.pub is /home/dotsugar/default/owner.</font><font>key.pub , I changed the path to this in line 83 of profile.py but still the condition of <b>not os.path.exists(key_path)</b>
exists is true and its returning None because of which activity not
launching. Other activities are running fine. I also looked into env.py
there the follows the path through line 46 to 48, that is path = None
condition is true.</font><font><br>
</font></font><font><font><br></font></font></font><div><font><font>Can somebody please tell me why am I not able to launch record activity ? why is it giving such an error.I am on ubuntu 12.04</font></font></div>
</div></div>
</blockquote><br><br>-- <br>Daniel Narvaez<br><br>