Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

examples/nlsr/pingall.py fails #54

Open
nikosft opened this issue Dec 23, 2020 · 1 comment
Open

examples/nlsr/pingall.py fails #54

nikosft opened this issue Dec 23, 2020 · 1 comment

Comments

@nikosft
Copy link

nikosft commented Dec 23, 2020

This script fails with the following error

Traceback (most recent call last):
  File "examples/nlsr/pingall.py", line 56, in <module>
    Experiment.startPctPings(ndn.net, args.nPings, args.pctTraffic)
  File "/home/mmlab/mini-ndn/minindn/helpers/experiment.py", line 98, in startPctPings
    NDNPingClient.ping(host, other, nPings)
  File "/home/mmlab/mini-ndn/minindn/helpers/ndnpingclient.py", line 45, in ping
    str.replace(prefix[1:], "/", "-")

line #98 of mini-ndn/minindn/helpers/experiment.py should be replaced from NDNPingClient.ping(host, other, nPings) to NDNPingClient.ping(host, other.name, nPings)

nikosft added a commit to nikosft/mini-ndn that referenced this issue Dec 23, 2020
@Jiacheng98
Copy link

Thanks!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants