[ndnSIM] Error in installing ndnsim 2.7

Zeinab Rezaiefar zeinab.rezaiefar at gmail.com
Thu May 2 02:15:59 PDT 2019


Hello,
Thanks for your help. I have changed base.py file according what you said
and I did not receive error when I config, however, when I run the program
with the vis command (./waf --run=ndn-simple --vis) I receive the error as
below:

No visualization support (cannot import name core).
Traceback (most recent call last):
  File "<string>", line 2, in <module>
  File "/home/zeinab/ndnSIM/ns-3/src/visualizer/visualizer/core.py", line
1875, in start
    import sys
RuntimeError: maximum recursion depth exceeded while calling a Python object

may I know that you have not faced the same problem?
thanks
best Zeinab


On Tue, Apr 30, 2019 at 4:16 PM hamidreza afzal <hamidreza.afzal at gmail.com>
wrote:

> Hello Zeinab
> you must edit basy.py in this path:
> /ndnsim/ns-3/src/visualizer/visualizer/
> open this file with gedit
> in line 134 and 139 edit this phrase  file=stderr to file(stderr)
> then execute ./waf
>
> On Tue, Apr 30, 2019 at 5:48 PM Zeinab via ndnSIM <
> ndnsim at lists.cs.ucla.edu> wrote:
>
>> Hello,
>> I am trying to install ndnsim 2.7 on ubuntu 18.04 . I followed the ndnsim
>> website however I received syntax error after running ./waf command as
>> follows:
>>
>> Traceback (most recent call last):
>>   File "<string>", line 3, in <module>
>>   File "/usr/lib/python2.7/py_compile.py", line 117, in compile
>>     raise py_exc
>> py_compile.PyCompileError:   File
>> "/usr/local/lib/python2.7/dist-packages/visualizer/base.py", line 134
>>     print("Could not load plugin %r: %s" % (filename, str(ex)),
>> file=sys.stderr)
>>                                                                     ^
>> SyntaxError: invalid syntax
>>
>> May I know how I can solve it.
>> Thanks
>> Best regards
>> Zeinab
>> _______________________________________________
>> 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/20190502/a2d1b18b/attachment.html>


More information about the ndnSIM mailing list