<div dir="ltr"><div>I did not encounter error messages like this.</div><div>But the repo protocol (<a href="https://redmine.named-data.net/projects/repo-ng/wiki/Basic_Repo_Insertion_Protocol">https://redmine.named-data.net/projects/repo-ng/wiki/Basic_Repo_Insertion_Protocol</a>) could give us some hints:</div><div><span style="color:rgb(51,51,51);font-family:Verdana,sans-serif;font-size:12px"><br></span></div><div><span style="color:rgb(51,51,51);font-family:Verdana,sans-serif;font-size:12px">if either StartBlockId or EndBlockId is present, and one of supported selectors is present. send negative reponse back and abort steps, insert process ends (StatusCode: 402)</span></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 23, 2017 at 4:21 PM, Ashlesh Gawande (agawande) <span dir="ltr"><<a href="mailto:agawande@memphis.edu" target="_blank">agawande@memphis.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div>

<div id="m_8930053914649483439divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p>Yes, the repo logs is just the console output.</p>
<p>I have only tested a small file with -s before and it worked.</p>
<p>I am not sure why segmenting does not work.</p>
<p><br>
</p>
<p>Ashlesh</p>
</div>
<hr style="display:inline-block;width:98%">
<div id="m_8930053914649483439divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Gusev, Peter <<a href="mailto:peter@remap.ucla.edu" target="_blank">peter@remap.ucla.edu</a>><br>
<b>Sent:</b> Monday, October 23, 2017 5:11:31 PM<br>
<b>To:</b> Ashlesh Gawande (agawande)<br>
<b>Cc:</b> <<a href="mailto:nfd-dev@lists.cs.ucla.edu" target="_blank">nfd-dev@lists.cs.ucla.edu</a>><br>
<b>Subject:</b> Re: Need help with repo-ng ndnputfile</font>
<div> </div>
</div><div><div class="h5">
<div>
<div style="word-wrap:break-word">Please, find configuration file attached.
<div>How do I access repo logs? This is the console output:</div>
<div><br>
</div>
<div>
<div style="margin:0px;line-height:normal;font-family:Menlo"><span>$ sudo ndn-repo-ng </span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo"><span>initialize storage cost: 0 millisecondsms</span></div>
</div>
<div><br>
<div>
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
Thanks, </div>
<div style="color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<br>
</div>
<div style="color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div style="word-wrap:break-word">
<div>
<div>
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
</div>
<div style="color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<br>
</div>
<div style="color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
-- <br>
Peter Gusev</div>
<div style="color:rgb(0,0,0);font-family:Helvetica;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<br>
<i><a href="mailto:peter@remap.ucla.edu" target="_blank">peter@remap.ucla.edu</a><br>
<a href="tel:(213)%20587-2748" value="+12135872748" target="_blank">+1 213 5872748</a><br>
</i></div>
<div style="color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<br>
</div>
<div style="letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<i><font color="#929292">Research Scholar @ </font></i><a href="http://remap.ucla.edu/" target="_blank"><i>REMAP UCLA</i></a><i><font color="#929292"><br>
Video streaming/ICN networks/<wbr>Creative Development</font></i></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<div>
<blockquote type="cite">
<div>On Oct 23, 2017, at 3:08 PM, Ashlesh Gawande (agawande) <<a href="mailto:agawande@memphis.edu" target="_blank">agawande@memphis.edu</a>> wrote:</div>
<br class="m_8930053914649483439x_Apple-interchange-newline">
<div>
<div id="m_8930053914649483439x_divtagdefaultwrapper" dir="ltr" style="font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:12pt;font-family:Calibri,Helvetica,sans-serif">
<div style="margin-top:0px;margin-bottom:0px">What's the repo configuration file? Are there any logs on the repo side?</div>
<div style="margin-top:0px;margin-bottom:0px"><br>
</div>
<div style="margin-top:0px;margin-bottom:0px">Ashlesh</div>
</div>
<hr style="font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline-block;width:645.8125px">
<span style="font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important"></span>
<div id="m_8930053914649483439x_divRplyFwdMsg" dir="ltr" style="font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<font face="Calibri, sans-serif" style="font-size:11pt"><b>From:</b><span class="m_8930053914649483439x_Apple-converted-space"> </span>Nfd-dev <<a href="mailto:nfd-dev-bounces@lists.cs.ucla.edu" target="_blank">nfd-dev-bounces@lists.cs.<wbr>ucla.edu</a>> on behalf of Gusev,
 Peter <<a href="mailto:peter@remap.ucla.edu" target="_blank">peter@remap.ucla.edu</a>><br>
<b>Sent:</b><span class="m_8930053914649483439x_Apple-converted-space"> </span>Monday, October 23, 2017 5:03:52 PM<br>
<b>To:</b><span class="m_8930053914649483439x_Apple-converted-space"> </span><<a href="mailto:nfd-dev@lists.cs.ucla.edu" target="_blank">nfd-dev@lists.cs.ucla.edu</a><wbr>><br>
<b>Subject:</b><span class="m_8930053914649483439x_Apple-converted-space"> </span>[Nfd-dev] Need help with repo-ng ndnputfile</font>
<div> </div>
</div>
<div style="font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
Hi all,
<div><br>
</div>
<div>Trying to insert a file into repo, but getting this error:</div>
<div><br>
</div>
<div>
<div style="margin:0px;line-height:normal;font-family:Menlo"><span>$ ndnputfile -uv /icear/content-provider/1 /icear/content-provider/data/<wbr>chair chair.jpg </span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo"><span>setInterestFilter for /icear/content-provider/data/<wbr>chair</span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo"><span>ERROR: insert command failed with code 402</span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo"><span><br>
</span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo"><span>This fails as well:</span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo"><span><br>
</span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo"><span>$ ndnputfile -v /icear/content-provider/1 /icear/content-provider/data/<wbr>chair chair.jpg </span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo"><span>setInterestFilter for /icear/content-provider/data/<wbr>chair/%FD%00%00%01_KB%1D%CF</span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo"><span>ERROR: insert command failed with code 402</span></div>
</div>
<div><br>
</div>
<div>Does anyone know how to insert a file into a repo (and segment it)?</div>
<div><br>
<div>
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="font-family:Helvetica;font-style:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
Thanks, </div>
<div style="font-family:Helvetica;font-style:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<br>
</div>
<div style="font-family:Helvetica;font-style:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
-- <br>
Peter Gusev</div>
<div style="font-family:Helvetica;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<br>
<i><a href="mailto:peter@remap.ucla.edu" target="_blank">peter@remap.ucla.edu</a><br>
<a href="tel:(213)%20587-2748" value="+12135872748" target="_blank">+1 213 5872748</a><br>
</i></div>
<div style="font-family:Helvetica;font-style:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<br>
</div>
<div style="letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<i><font color="#929292">Research Scholar @ </font></i><a href="http://remap.ucla.edu/" target="_blank"><i>REMAP UCLA</i></a><i><font color="#929292"><br>
Video streaming/ICN networks/<wbr>Creative Development</font></i></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div></div></div>

<br>______________________________<wbr>_________________<br>
Nfd-dev mailing list<br>
<a href="mailto:Nfd-dev@lists.cs.ucla.edu">Nfd-dev@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev" rel="noreferrer" target="_blank">http://www.lists.cs.ucla.edu/<wbr>mailman/listinfo/nfd-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Thanks,</div><div><br></div>Chengyu</div></div>
</div>