[ndnSIM] Please help: OSError: [Errno 2] No such file or directory

Spyridon (Spyros) Mastorakis mastorakis at cs.ucla.edu
Tue Sep 19 10:53:15 PDT 2017


I usually get this error when I build ndnSIM under some directory, then I move it or copy it to some other place on my system and try to run an example or build it again. It is not clear to me what the reason for that is, but I would assume probably some broken symbolic links (?)...

Please try to do a fresh clone of ndnSIM from the master branch on github.


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

> On Sep 19, 2017, at 2:28 AM, JEAN PIERRE NIYIGENA <jeanpierre at siat.ac.cn> wrote:
> Hi Team!
> Could you guys tell me why I am having this problem: 
> I followed this link when installing my ndnSIM https://github.com/named-data-ndnSIM/scenario-template
> now when I try to run examples  from this page http://ndnsim.net/2.3/examples.html I get the below error:
> pierre at pierre-VirtualBox:~/ndnSIM/my-simulations$ ./waf --run ndn-simple
> Waf: Entering directory `/home/pierre/ndnSIM/my-simulations/build'
> Waf: Leaving directory `/home/pierre/ndnSIM/my-simulations/build'
> 'build' finished successfully (0.036s)
> Traceback (most recent call last):
> File "/home/pierre/ndnSIM/my-simulations/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Scripting.py", line 103, in waf_entry_point
> run_commands()
> File "/home/pierre/ndnSIM/my-simulations/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Scripting.py", line 166, in run_commands
> run_command('shutdown')
> File "/home/pierre/ndnSIM/my-simulations/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Scripting.py", line 155, in run_command
> ctx.execute()
> File "/home/pierre/ndnSIM/my-simulations/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Context.py", line 92, in execute
> self.recurse([os.path.dirname(g_module.root_path)])
> File "/home/pierre/ndnSIM/my-simulations/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Context.py", line 133, in recurse
> user_function(self)
> File "/home/pierre/ndnSIM/my-simulations/wscript", line 122, in shutdown
> return subprocess.call (argv)
> File "/usr/lib/python2.7/subprocess.py", line 168, in call
> return Popen(*popenargs, **kwargs).wait()
> File "/usr/lib/python2.7/subprocess.py", line 390, in __init__
> errread, errwrite)
> File "/usr/lib/python2.7/subprocess.py", line 1024, in _execute_child
> raise child_exception
> OSError: [Errno 2] No such file or directory
> pierre at pierre-VirtualBox:~/ndnSIM/my-simulations$ 

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

More information about the ndnSIM mailing list