<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></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="">this has happened to me when I tried to copy and paste an already compiled version of ndnSIM to another folder. I guess something breaks with the way that waf links things.</div><div class=""><br class=""></div><div class="">The way to get around that is to clone a fresh version of NS-3 and ndnSIM from github.</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></div>
</div>
<div><br class=""><blockquote type="cite" class=""><div class="">On Dec 9, 2018, at 8:15 AM, DJAKER Abou-Bakr <<a href="mailto:djaker.aboubakr@edu.univ-oran1.dz" class="">djaker.aboubakr@edu.univ-oran1.dz</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hello<br class=""><br class="">When I try to execute this command (./waf configure --enable-examples), it outputs the following error:<br class=""><br class=""><br class="">Traceback (most recent call last):<br class="">  File "/home/user/ndnSIM/ns-3/.waf3-1.8.19-b1fc8f7baef51bd2db4c2971909a568d/waflib/Node.py", line 312, in ant_iter<br class="">    raise StopIteration<br class="">StopIteration<br class=""><br class="">The above exception was the direct cause of the following exception:<br class=""><br class="">Traceback (most recent call last):<br class="">  File "/home/user/ndnSIM/ns-3/.waf3-1.8.19-b1fc8f7baef51bd2db4c2971909a568d/waflib/Scripting.py", line 110, in waf_entry_point<br class="">    run_commands()<br class="">  File "/home/user/ndnSIM/ns-3/.waf3-1.8.19-b1fc8f7baef51bd2db4c2971909a568d/waflib/Scripting.py", line 167, in run_commands<br class="">    parse_options()<br class="">  File "/home/user/ndnSIM/ns-3/.waf3-1.8.19-b1fc8f7baef51bd2db4c2971909a568d/waflib/Scripting.py", line 140, in parse_options<br class="">    Context.create_context('options').execute()<br class="">  File "/home/user/ndnSIM/ns-3/.waf3-1.8.19-b1fc8f7baef51bd2db4c2971909a568d/waflib/Options.py", line 146, in execute<br class="">    super(OptionsContext,self).execute()<br class="">  File "/home/user/ndnSIM/ns-3/.waf3-1.8.19-b1fc8f7baef51bd2db4c2971909a568d/waflib/Context.py", line 93, in execute<br class="">    self.recurse([os.path.dirname(g_module.root_path)])<br class="">  File "/home/user/ndnSIM/ns-3/.waf3-1.8.19-b1fc8f7baef51bd2db4c2971909a568d/waflib/Context.py", line 134, in recurse<br class="">    user_function(self)<br class="">  File "/home/user/ndnSIM/ns-3/wscript", line 144, in options<br class="">    opt.load('compiler_c')<br class="">  File "/home/user/ndnSIM/ns-3/.waf3-1.8.19-b1fc8f7baef51bd2db4c2971909a568d/waflib/Context.py", line 90, in load<br class="">    fun(self)<br class="">  File "/home/user/ndnSIM/ns-3/.waf3-1.8.19-b1fc8f7baef51bd2db4c2971909a568d/waflib/Tools/compiler_c.py", line 36, in options<br class="">    opt.load_special_tools('c_*.py',ban=['c_dumbpreproc.py'])<br class="">  File "/home/user/ndnSIM/ns-3/.waf3-1.8.19-b1fc8f7baef51bd2db4c2971909a568d/waflib/Context.py", line 321, in load_special_tools<br class="">    lst=self.root.find_node(waf_dir).find_node('waflib/extras').ant_glob(var)<br class="">  File "/home/user/ndnSIM/ns-3/.waf3-1.8.19-b1fc8f7baef51bd2db4c2971909a568d/waflib/Node.py", line 361, in ant_glob<br class="">    ret=[x for x in self.ant_iter(accept=accept,pats=[to_pat(incl),to_pat(excl)],maxdepth=kw.get('maxdepth',25),dir=dir,src=src,remove=kw.get('remove',True))]<br class="">  File "/home/user/ndnSIM/ns-3/.waf3-1.8.19-b1fc8f7baef51bd2db4c2971909a568d/waflib/Node.py", line 361, in <listcomp><br class="">    ret=[x for x in self.ant_iter(accept=accept,pats=[to_pat(incl),to_pat(excl)],maxdepth=kw.get('maxdepth',25),dir=dir,src=src,remove=kw.get('remove',True))]<br class="">RuntimeError: generator raised StopIteration<br class=""><br class=""><br class="">How can I fix it please ?<br class=""><br class="">Best Regards<br class=""><br class="">--<br class="">DJAKER<br class="">_______________________________________________<br class="">ndnSIM mailing list<br class=""><a href="mailto:ndnSIM@lists.cs.ucla.edu" class="">ndnSIM@lists.cs.ucla.edu</a><br class="">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim<br class=""></div></div></blockquote></div><br class=""></div></body></html>