[ndnSIM] ndnSim crash

Spyridon (Spyros) Mastorakis mastorakis at CS.UCLA.EDU
Sat Dec 31 01:13:33 PST 2016


Hi,

This error has to do with waf and not ndnSIM (assuming that you have not edited any wscripts). I would suggest you do the following:

1) Try to clean your current build by typing ./waf distclean and then configure and build again.
2) If 1 does not work, clone the ns3 and ndnSIM repos again and configure and build from scratch.

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


> On Dec 30, 2016, at 11:56 PM, Junior DONGO <junior.dongo at lacl.fr> wrote:
> 
> Hello,
> 
> after a thousand of execution of a scenario which was working fine, I suddenly have the following error when trying to execute a scenario.
> Any idea?
> Thanks
> 
> Junior
> 
> Waf: Entering directory `/ndnSIM/ns-3/build'
> Waf: Leaving directory `/ndnSIM/ns-3/build'
> Build commands will be stored in build/compile_commands.json
> Traceback (most recent call last):
>   File "/ndnSIM/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Scripting.py", line 108, in waf_entry_point
>     run_commands()
>   File "/ndnSIM/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Scripting.py", line 169, in run_commands
>     ctx=run_command(cmd_name)
>   File "/ndnSIM/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Scripting.py", line 160, in run_command
>     ctx.execute()
>   File "/ndnSIM/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Scripting.py", line 370, in execute
>     return execute_method(self)
>   File "/ndnSIM/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Build.py", line 104, in execute
>     self.execute_build()
>   File "/ndnSIM/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Build.py", line 118, in execute_build
>     self.post_build()
>   File "/ndnSIM/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Build.py", line 273, in post_build
>     m(self)
>   File "waf-tools/clang_compilation_database.py", line 45, in write_compilation_database
>     root = json.load(database_file)
>   File "/usr/lib/python2.7/json/__init__.py", line 291, in load
>     **kw)
>   File "/usr/lib/python2.7/json/__init__.py", line 339, in loads
>     return _default_decoder.decode(s)
>   File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
>     obj, end = self.raw_decode(s, idx=_w(s, 0).end())
>   File "/usr/lib/python2.7/json/decoder.py", line 380, in raw_decode
>     obj, end = self.scan_once(s, idx)
> ValueError: Invalid control character at: line 6138 column 11 (char 1200128)
> 

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


More information about the ndnSIM mailing list