<div dir="ltr">cool ! :-)<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Apr 4, 2014 at 5:27 PM, Gonzalo Odiard <span dir="ltr"><<a href="mailto:godiard@gmail.com" target="_blank">godiard@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Ok, we are looking at solving this issue in sugar-toolkit,<div>then copy the file is not needed in the future.</div>
<div><br></div><div>Gonzalo</div></div><div class="gmail_extra"><div><div class="h5"><br><br><div class="gmail_quote">
On Fri, Apr 4, 2014 at 8:55 AM, Puneet Kaur <span dir="ltr"><<a href="mailto:puneet.gkaur@gmail.com" target="_blank">puneet.gkaur@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>yup that solved the problem.<br><br></div><div>copied owner.key.pub file to ~/.sugar/default and now it runs :-)<br><br><br></div><div>Thanks,<br></div></div><div><div><div class="gmail_extra">
<br><br><div class="gmail_quote">
On Fri, Apr 4, 2014 at 5:19 PM, Gonzalo Odiard <span dir="ltr"><<a href="mailto:godiard@gmail.com" target="_blank">godiard@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Can you copy the file in the directory ~/.sugar/default ?<div><br></div><div>Gonzalo</div></div><div class="gmail_extra"><div><div><br><br><div class="gmail_quote">On Fri, Apr 4, 2014 at 8:48 AM, Puneet Kaur <span dir="ltr"><<a href="mailto:puneet.gkaur@gmail.com" target="_blank">puneet.gkaur@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hey,<br><br></div>The key is already there in owner.key.pub file inside /home/dotsugar/default directory.<br>
</div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Apr 4, 2014 at 2:59 PM, Sam Parkinson <span dir="ltr"><<a href="mailto:sam.parkinson3@gmail.com" target="_blank">sam.parkinson3@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Hi,</p>
<p dir="ltr">Try copying your ssh keys to [dot sugar dir]/default/. You should copy the id_rsa.pub to owner.key.pub</p>
<p dir="ltr">Have a look at this for how to make ssh keys if you need to: <a href="https://help.github.com/articles/generating-ssh-keys" target="_blank">https://help.github.com/articles/generating-ssh-keys</a></p>
<p dir="ltr">Hope that helps :)</p>
<p dir="ltr">Sam</p>
<div class="gmail_quote"><div><div>On Apr 4, 2014 8:15 PM, "Puneet Kaur" <<a href="mailto:puneet.gkaur@gmail.com" target="_blank">puneet.gkaur@gmail.com</a>> wrote:<br type="attribution"></div>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
<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>
<br></div></div>_______________________________________________<br>
Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
<br></blockquote></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div></div></div><span><font color="#888888">-- <br>Gonzalo Odiard<br><br>
</font></span></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br>Gonzalo Odiard<br><br>
</font></span></div>
</blockquote></div><br></div>