<P>ndnSIM friends,</P>
<P><BR> I added "ns3::RateErrorModel,ErrorUnit=ERROR_UNIT_PACKET,ErrorRate=0.5" to set link loss rate, but when i ran my program(interest frequency is random), it exported:</P>
<P>"terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<ndn::name::Component::Error> >'<BR> what(): <FONT color="#ff0000"> Name component does not have the requested marker or the value is not a nonNegativeInteger</FONT>"</P>
<P>how to solve it?</P>
<P>Thanks,</P>
<P>Gang</P>
<SCRIPT type="text/javascript"><!--
function togle_quote(){
var quote=document.getElementsByTagName('BLOCKQUOTE')[0];
// 针对viewmail获得父frame
var mainBody = parent.$("mail_content");
if(!mainBody){
//针对viewThread 获得父iframe
mainBody= parent.$("mail_content_"+"");
}
if( mainBody){ /*单封邮件隐藏显示引用高度自适应*/
var aHeight,bHeight;
if (navigator.appName.indexOf("Microsoft") == -1) {
//解决Chrome浏览器的无法重复定义高度问题
mainBody.style.height="10px";
}
if (quote.style.display == "none") {
quote.style.display = "";
aHeight=mainBody.contentWindow.document.documentElement.scrollHeight;
bHeight=mainBody.contentWindow.document.body.scrollHeight;
mainBody.style.height=Math.max(aHeight,bHeight)+"px";
} else {
quote.style.display = "none";
aHeight=mainBody.contentWindow.document.documentElement.scrollHeight;
bHeight=mainBody.contentWindow.document.body.scrollHeight;
mainBody.style.height=Math.min(aHeight,bHeight)+"px";
}
}
}
function showtip(){
var quote=document.getElementsByTagName('BLOCKQUOTE')[0];
if(quote){
quote.style.display='none';
var tip = document.createElement("DIV");
tip.style.fontSize = "12px";
tip.style.cursor = "pointer";
tip.style.color = "rgb(92, 110, 252)";
tip.innerHTML="显示/隐藏引用文字";
tip.onclick =togle_quote;
quote.parentNode.insertBefore(tip,quote);
}
}
showtip();
if (parent.frameReadyCallback) {
parent.frameReadyCallback(document.body);
}
for (var i = 0, a; a = document.links[i]; i++) {
a.target = "_blank";
}
//--></SCRIPT>