[Mini-NDN] About nlsr configuration

=?gb2312?B?wO7i+JXTIFlpdG9uZyBMSQ==?= yitongli at hkust-gz.edu.cn
Sat Mar 30 19:03:42 PDT 2024


Hi,

I want to run nlsr on minindn, so I set up a simple configuration to test it. However, when I run it, it gave me an error. I’m not sure what error it’s indicating. I’ve attach my log, python source code and nlsr configuration below.

Many thanks,
Caster
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/mini-ndn/attachments/20240331/61e9b939/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nlsr_test.py
Type: application/octet-stream
Size: 620 bytes
Desc: nlsr_test.py
URL: <http://www.lists.cs.ucla.edu/pipermail/mini-ndn/attachments/20240331/61e9b939/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nlsr_topo.conf
Type: application/octet-stream
Size: 389 bytes
Desc: nlsr_topo.conf
URL: <http://www.lists.cs.ucla.edu/pipermail/mini-ndn/attachments/20240331/61e9b939/attachment-0001.obj>
-------------- next part --------------
Traceback (most recent call last):
  File "nlsr_test.py", line 24, in <module>
    run()
  File "nlsr_test.py", line 10, in run
    with Minindn(scenario_name=SCENARIO_NAME, num_nodes=NUM_NODES) as minindn:
  File "/home/caster/Downloads/mini-ndn/mini-ndn/minindn/minindn.py", line 89, in __init__
    self.topo, self.faces_to_create = self.processTopo(self.topoFile)
  File "/home/caster/Downloads/mini-ndn/mini-ndn/minindn/minindn.py", line 158, in processTopo
    config.read(topoFile)
  File "/usr/lib/python3.8/configparser.py", line 697, in read
    self._read(fp, filename)
  File "/usr/lib/python3.8/configparser.py", line 1057, in _read
    cursect[optname].append(value)
AttributeError: 'NoneType' object has no attribute 'append'


More information about the Mini-NDN mailing list