<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
The default "nPings" value is 300, so the result you have got is perfectly fine. But the number noted in the installation guide seems wrong, will fix it in the future patch. Thank you for letting us know. </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<a href="https://github.com/named-data/mini-ndn/blob/5dbf99dd7851b1bb3c83f5910b0078e44e8ec715/examples/nlsr/nlsr_common.py#L54" id="LPlnk282252" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">https://github.com/named-data/mini-ndn/blob/5dbf99dd7851b1bb3c83f5910b0078e44e8ec715/examples/nlsr/nlsr_common.py#L54</a><br>
</div>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<div>
<div></div>
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<p style="margin-top:0px; margin-bottom:0px">Regards,</p>
<p style="margin-top:0px; margin-bottom:0px">Saurab Dulal</p>
</div>
</div>
</div>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Somaya Adeeb Alshare <saalshare18@cit.just.edu.jo><br>
<b>Sent:</b> Monday, December 14, 2020 12:06 PM<br>
<b>To:</b> Saurab Dulal (sdulal) <sdulal@memphis.edu>; ndn-interest@lists.cs.ucla.edu <ndn-interest@lists.cs.ucla.edu><br>
<b>Subject:</b> Re: Help: problem in test driving mini-ndn</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
thank you so much saurab. I appreciate your help.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
It worked, I guess. it gave me count of 300 (received packets) instead of 50 which the installation site said to be the expected result though
<span id="x_😂">😂.</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span id="x_😂">I added the new result that I got.</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span id="x_😂"><br>
</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span id="x_😂">Thank you so much for your time and effort. <br>
</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span id="x_😂"><br>
</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span id="x_😂">Regards,</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span id="x_😂">Somaya Alshare</span><br>
</div>
<div id="x_appendonsend"></div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Saurab Dulal (sdulal) <sdulal@memphis.edu><br>
<b>Sent:</b> Monday, December 14, 2020 9:21 AM<br>
<b>To:</b> Somaya Adeeb Alshare <saalshare18@cit.just.edu.jo>; ndn-interest@lists.cs.ucla.edu <ndn-interest@lists.cs.ucla.edu><br>
<b>Subject:</b> Re: Help: problem in test driving mini-ndn</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Hi Somaya, </div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Thank you for your email. There is indeed a bug in the "ndnpingclient.py" (<a href="https://github.com/named-data/mini-ndn/blob/ea2d5d6802ea671d07771423e3dcb6b949e972e7/minindn/helpers/ndnpingclient.py#L30" id="LPlnk689807">https://github.com/named-data/mini-ndn/blob/ea2d5d6802ea671d07771423e3dcb6b949e972e7/minindn/helpers/ndnpingclient.py#L30</a>)</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
The "prefix" that is supplied by the "experiment.py" (<a href="https://github.com/named-data/mini-ndn/blob/ea2d5d6802ea671d07771423e3dcb6b949e972e7/minindn/helpers/experiment.py#L98" id="LPlnk204694">https://github.com/named-data/mini-ndn/blob/ea2d5d6802ea671d07771423e3dcb6b949e972e7/minindn/helpers/experiment.py#L98</a>)
 in the above line doesn't seem a correct one, that is why you are getting the no-route nack. </div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I have made a quick fix (tested as well) and have submitted a patch in the Gerrit. You can try the patch and let me know if it works for you or not. </div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Patch Link: <a href="https://gerrit.named-data.net/c/mini-ndn/+/6289" id="LPlnk447600">https://gerrit.named-data.net/c/mini-ndn/+/6289</a></div>
<div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div id="x_x_Signature">
<div>
<div></div>
<div id="x_x_divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<p style="margin-top:0px; margin-bottom:0px">Regards,</p>
<p style="margin-top:0px; margin-bottom:0px">Saurab Dulal</p>
</div>
</div>
</div>
</div>
<div id="x_x_appendonsend"></div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Ndn-interest <ndn-interest-bounces@lists.cs.ucla.edu> on behalf of Somaya Adeeb Alshare <saalshare18@cit.just.edu.jo><br>
<b>Sent:</b> Sunday, December 13, 2020 3:00 AM<br>
<b>To:</b> ndn-interest@lists.cs.ucla.edu <ndn-interest@lists.cs.ucla.edu><br>
<b>Subject:</b> [Ndn-interest] Help: problem in test driving mini-ndn</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<table border="2" cellpadding="3" cellspacing="2" style="background-color:#FFEB9C; border-collapse:collapse; border:1px solid #000000; color:#000000; width:100%">
<tbody>
<tr>
<td align="center"><a target="_blank" style="font-weight:bold; color:#000000; display:block; text-align:left; font-size:8pt; line-height:10pt; font-family:'Calibri'">CAUTION: This email originated from outside of the organization. Do not click links or open
 attachments unless you recognize the sender and trust the content is safe.</a></td>
</tr>
</tbody>
</table>
<br>
<div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I am new to mini-ndn I have followed the steps in this link to install mini-ndn</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<a href="http://minindn.memphis.edu/install.html" target="_blank" rel="noopener noreferrer">http://minindn.memphis.edu/install.html</a></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I have used the<span class="x_x_x_x_o"> __  </span><span class="x_x_x_x_o" style="color:rgb(111,192,64)"> ./</span><span class="x_x_x_x_n" style="color:rgb(111,192,64)">install</span><span class="x_x_x_x_o" style="color:rgb(111,192,64)">.</span><span class="x_x_x_x_n" style="color:rgb(111,192,64)">sh</span><span style="color:rgb(111,192,64)"> </span><span class="x_x_x_x_o" style="color:rgb(111,192,64)">-</span><span class="x_x_x_x_n" style="color:rgb(111,192,64)">a
</span><span class="x_x_x_x_n">command to install minindn with all dependencies <br>
</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span class="x_x_x_x_n">the installation went successful and I ran this command </span>
<span class="x_x_x_x_n" style="color:rgb(111,192,64)"><br>
</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span class="x_x_x_x_n" style="color:rgb(111,192,64)">sudo</span><span style="color:rgb(111,192,64)"> </span><span class="x_x_x_x_n" style="color:rgb(111,192,64)">python</span><span style="color:rgb(111,192,64)"> </span><span class="x_x_x_x_n" style="color:rgb(111,192,64)">examples</span><span class="x_x_x_x_o" style="color:rgb(111,192,64)">/</span><span class="x_x_x_x_n" style="color:rgb(111,192,64)">mnndn</span><span class="x_x_x_x_o" style="color:rgb(111,192,64)">.</span><span class="x_x_x_x_n" style="color:rgb(111,192,64)">py</span><span class="x_x_x_x_n"><br>
</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span class="x_x_x_x_n"><br>
</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span class="x_x_x_x_n">and the result was showing the minindn cli as shown in the attached screenshot</span><span class="x_x_x_x_n"></span><span class="x_x_x_x_n">.</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span class="x_x_x_x_n"><br>
</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span class="x_x_x_x_n">the problem is when I try to run the pingall experiment through this command
</span><span class="x_x_x_x_n"><code class="x_x_x_x_docutils x_x_x_x_literal x_x_x_x_notranslate"><span class="x_x_x_x_pre" style="color:rgb(111,192,64)"><br>
</span></code></span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span class="x_x_x_x_n"><code class="x_x_x_x_docutils x_x_x_x_literal x_x_x_x_notranslate"><span class="x_x_x_x_pre" style="color:rgb(111,192,64)">sudo</span><span style="color:rgb(111,192,64)"> </span><span class="x_x_x_x_pre" style="color:rgb(111,192,64)">python</span><span style="color:rgb(111,192,64)"> </span><span class="x_x_x_x_pre" style="color:rgb(111,192,64)">examples/nlsr/pingall.py</span></code></span><br>
<span class="x_x_x_x_n"></span><span class="x_x_x_x_n">
<pre><span class="x_x_x_x_n">to verify that everything is good, but I get an error says <br> </span><span class="x_x_x_x_n" style="color:rgb(200,38,19)">File "/home/somaya/Downloads/mini-ndn-master/minindn/helpers/ndnpingclient.py", line 45, in ping</span><span class="x_x_x_x_n"><div><span style="color:rgb(200,38,19)">    str.replace(prefix[1:], "/", "-")</span></div><div><span style="color:rgb(200,38,19)">TypeError: 'Host' object has no attribute '__getitem__'</span></div><br>as shown in the second screenshot I tried to cast the Host object to string to bypass the error and it worked but <br>the count was 0 instead of 50 as expected. I opened the files for all nodes, and it all says "no route" as shown in the <br>third screenshot</span>. can anyone please help me figure it out because I can't seem to have a clue of the cause of the problem<br>especially that I am totally new to NDN.</pre>
</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
thanks for your time.</div>
<br>
</div>
</div>
</div>
</div>
</div>
</body>
</html>