<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">the topology reader supports topology parsing from a text file.</div><div class=""><br class=""></div><div class="">Your file does not seem to be a text file.</div><div class=""><br class=""></div><div class="">Thanks,</div><div class=""><br class=""><div class="">
<div class=""><div class=""><div class=""><span class="" style="float: none; display: inline !important;">Spyridon (Spyros) Mastorakis</span><br class=""><span class="" style="float: none; display: inline !important;">Personal Website: </span><a href="http://cs.ucla.edu/~mastorakis/" class="">http://cs.ucla.edu/~mastorakis/</a><br class=""><span class="" style="float: none; display: inline !important;">Internet Research Laboratory</span><br class=""><span class="" style="float: none; display: inline !important;">Computer Science Department</span><br class=""><span class="" style="float: none; display: inline !important;">UCLA</span></div><div class=""><br class=""></div></div></div></div><div><blockquote type="cite" class=""><div class="">On Nov 17, 2018, at 10:47 AM, abdou ben <<a href="mailto:abdouinf45@gmail.com" class="">abdouinf45@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class="">Hi</div><div class="">I have tried with the existing topo and i have checked the permissions,<br class=""></div><div dir="ltr" class="">topologyReader.SetFileName("src/ndnSIM/examples/topologies/bw-delay-rand-1/1221.r0-conv-annotated");<br class=""></div><div class="">but the error still:<br class=""></div><div dir="ltr" class="">msg="Cannot open file src/ndnSIM/examples/topologies/bw-delay-rand-1/1221.r0-conv-annotated for reading", file=../src/ndnSIM/utils/topology/annotated-topology-reader.cpp, line=161<br class="">terminate called without an active exception<br class="">Command ['/home/benarfa/ndnSIM/ns-3/build/src/ndnSIM/examples/ns3-dev-ndn-ddos-cvsp-rocket-optimized'] terminated with signal SIGIOT. Run it under a debugger to get more information (./waf --run <program> --command-template="gdb --args %s <args>").</div><div class="">thanks<br class=""></div></div></div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="">Le sam. 17 nov. 2018 à 19:20, Spyridon (Spyros) Mastorakis <<a href="mailto:mastorakis@cs.ucla.edu" class="">mastorakis@cs.ucla.edu</a>> a écrit :<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space" class="">Oops.. Now I noticed the actual message.<div class=""><br class=""></div><div class="">This means either the file does not exist in the path the simulator is looking for it or you need to assign the proper permissions to the file, so that the simulator can open it and read the topology.</div><div class=""><br class=""></div><div class="">Thanks,</div><div class=""><br class=""></div><div class=""><div class="">
<div class=""><div class=""><div class=""><span style="float:none;display:inline!important" class="">Spyridon (Spyros) Mastorakis</span><br class=""><span style="float:none;display:inline!important" class="">Personal Website: </span><a href="http://cs.ucla.edu/~mastorakis/" target="_blank" class="">http://cs.ucla.edu/~mastorakis/</a><br class=""><span style="float:none;display:inline!important" class="">Internet Research Laboratory</span><br class=""><span style="float:none;display:inline!important" class="">Computer Science Department</span><br class=""><span style="float:none;display:inline!important" class="">UCLA</span></div><div class=""><br class=""></div></div></div></div><div class=""><blockquote type="cite" class=""><div class="">On Nov 17, 2018, at 10:18 AM, Spyridon (Spyros) Mastorakis <<a href="mailto:mastorakis@cs.ucla.edu" target="_blank" class="">mastorakis@cs.ucla.edu</a>> wrote:</div><br class="m_3270676926318992178Apple-interchange-newline"><div class=""><div style="word-wrap:break-word;line-break:after-white-space" class="">Hi,<div class=""><br class=""></div><div class="">most probably the txt file is not properly formatted. You can run your scenario under a debugger and see what exactly fails.</div><div class=""><br class=""></div><div class="">Thanks,</div><div class=""><br class=""></div><div class=""><div class="">
<div class=""><div class=""><div class=""><span style="float:none;display:inline!important" class="">Spyridon (Spyros) Mastorakis</span><br class=""><span style="float:none;display:inline!important" class="">Personal Website: </span><a href="http://cs.ucla.edu/~mastorakis/" target="_blank" class="">http://cs.ucla.edu/~mastorakis/</a><br class=""><span style="float:none;display:inline!important" class="">Internet Research Laboratory</span><br class=""><span style="float:none;display:inline!important" class="">Computer Science Department</span><br class=""><span style="float:none;display:inline!important" class="">UCLA</span></div><div class=""><br class=""></div></div></div></div><div class=""><blockquote type="cite" class=""><div class="">On Nov 16, 2018, at 11:26 PM, abdou ben <<a href="mailto:abdouinf45@gmail.com" target="_blank" class="">abdouinf45@gmail.com</a>> wrote:</div><br class="m_3270676926318992178Apple-interchange-newline"><div class=""><div dir="ltr" class=""><pre class=""><span style="font-family:arial,helvetica,sans-serif" class="">Hey<br class=""><br class="">I want to use AnnotatedTopologyReader to read toptology from .txt file. It gives the following error. <br class="">Any help please. 
 <br class="">msg="cannot open file /src/ndnSIM//examples/topologies/cong.txt for reading terminate called without an active exception
 <br class="">Thank You</span></pre></div><br class=""></div></blockquote></div><br class=""></div></div>_______________________________________________<br class="">ndnSIM mailing list<br class=""><a href="mailto:ndnSIM@lists.cs.ucla.edu" target="_blank" class="">ndnSIM@lists.cs.ucla.edu</a><br class=""><a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" target="_blank" class="">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br class=""></div></blockquote></div><br class=""></div></div></blockquote></div>
</div></blockquote></div><br class=""></div></body></html>