<div dir="ltr"><div>Hi Alex,</div><div><br></div><div>I'm sorry for not getting back to you on this, I've been super busy. I'm using Ubuntu 18.04.5 LTS. Tomorrow I will reconfigure my waf file and try to run the script again.</div><div><br></div><div>Eric<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Apr 25, 2021 at 10:22 PM Alex Afanasyev <<a href="mailto:aa@cs.fiu.edu" target="_blank">aa@cs.fiu.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div dir="ltr"><br></div><blockquote type="cite"><div dir="ltr"><div dir="ltr"><div>I'm trying to use the ndnSIM Python bindings and I'm trying to access the forwarder. The file ndn-grid.py (within commented-out code) told me to use this command:</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><span style="font-family:monospace">l3Protocol = ndn.L3Protocol.getL3Protocol(nodes.Get(0))<br>forwarder = l3Protocol.getForwarder()</span></div></blockquote><div><br></div><div>However, when I run this code I get the following error:</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><span style="font-family:monospace">Traceback (most recent call last):<br>  File "simulation_for_nn_test.py", line 110, in <module><br>    l3Protocol = ndn.L3Protocol.getL3Protocol(nodes.Get(0))<br>AttributeError: type object 'ndnSIM.ndn.L3Protocol' has no attribute 'getL3Protocol'</span><br></div></blockquote><div><br></div><div>I run the code inside the waf shell using the following commands:</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><span style="font-family:comic sans ms,sans-serif">./waf shell<br>python filename.py</span></div></blockquote><div><br></div><div>Does anyone know why the "getL3Protocol" attribute can't be found?</div></div></div></blockquote><div><br></div><div>This is strange. Is everything ok with python bindings (I mean, they are properly enabled during was configure?).  This should work and everything look correctly.  If you can share a basic snippet that reproduces the issue on your side, I can try to check tomorrow.</div><div><br></div><div>Which OS (and version) are you using?</div><div><br></div><div>—</div><div>Alex</div></div></blockquote></div>