[ndnSIM] Problem with waf

Spyridon (Spyros) Mastorakis mastorakis at cs.ucla.edu
Sun Dec 9 09:20:59 PST 2018


Hi,

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.

The way to get around that is to clone a fresh version of NS-3 and ndnSIM from github.

Thanks,

Spyridon (Spyros) Mastorakis
Personal Website: http://cs.ucla.edu/~mastorakis/ <http://cs.ucla.edu/~mastorakis/>
Internet Research Laboratory
Computer Science Department
UCLA

> On Dec 9, 2018, at 8:15 AM, DJAKER Abou-Bakr <djaker.aboubakr at edu.univ-oran1.dz> wrote:
> 
> Hello
> 
> When I try to execute this command (./waf configure --enable-examples), it outputs the following error:
> 
> 
> Traceback (most recent call last):
>  File "/home/user/ndnSIM/ns-3/.waf3-1.8.19-b1fc8f7baef51bd2db4c2971909a568d/waflib/Node.py", line 312, in ant_iter
>    raise StopIteration
> StopIteration
> 
> The above exception was the direct cause of the following exception:
> 
> Traceback (most recent call last):
>  File "/home/user/ndnSIM/ns-3/.waf3-1.8.19-b1fc8f7baef51bd2db4c2971909a568d/waflib/Scripting.py", line 110, in waf_entry_point
>    run_commands()
>  File "/home/user/ndnSIM/ns-3/.waf3-1.8.19-b1fc8f7baef51bd2db4c2971909a568d/waflib/Scripting.py", line 167, in run_commands
>    parse_options()
>  File "/home/user/ndnSIM/ns-3/.waf3-1.8.19-b1fc8f7baef51bd2db4c2971909a568d/waflib/Scripting.py", line 140, in parse_options
>    Context.create_context('options').execute()
>  File "/home/user/ndnSIM/ns-3/.waf3-1.8.19-b1fc8f7baef51bd2db4c2971909a568d/waflib/Options.py", line 146, in execute
>    super(OptionsContext,self).execute()
>  File "/home/user/ndnSIM/ns-3/.waf3-1.8.19-b1fc8f7baef51bd2db4c2971909a568d/waflib/Context.py", line 93, in execute
>    self.recurse([os.path.dirname(g_module.root_path)])
>  File "/home/user/ndnSIM/ns-3/.waf3-1.8.19-b1fc8f7baef51bd2db4c2971909a568d/waflib/Context.py", line 134, in recurse
>    user_function(self)
>  File "/home/user/ndnSIM/ns-3/wscript", line 144, in options
>    opt.load('compiler_c')
>  File "/home/user/ndnSIM/ns-3/.waf3-1.8.19-b1fc8f7baef51bd2db4c2971909a568d/waflib/Context.py", line 90, in load
>    fun(self)
>  File "/home/user/ndnSIM/ns-3/.waf3-1.8.19-b1fc8f7baef51bd2db4c2971909a568d/waflib/Tools/compiler_c.py", line 36, in options
>    opt.load_special_tools('c_*.py',ban=['c_dumbpreproc.py'])
>  File "/home/user/ndnSIM/ns-3/.waf3-1.8.19-b1fc8f7baef51bd2db4c2971909a568d/waflib/Context.py", line 321, in load_special_tools
>    lst=self.root.find_node(waf_dir).find_node('waflib/extras').ant_glob(var)
>  File "/home/user/ndnSIM/ns-3/.waf3-1.8.19-b1fc8f7baef51bd2db4c2971909a568d/waflib/Node.py", line 361, in ant_glob
>    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))]
>  File "/home/user/ndnSIM/ns-3/.waf3-1.8.19-b1fc8f7baef51bd2db4c2971909a568d/waflib/Node.py", line 361, in <listcomp>
>    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))]
> RuntimeError: generator raised StopIteration
> 
> 
> How can I fix it please ?
> 
> Best Regards
> 
> --
> DJAKER
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20181209/af094874/attachment.html>


More information about the ndnSIM mailing list