<div dir="auto">Hi Justin</div><div dir="auto"><br></div><div dir="auto">Have you followed the advice in the error message?</div><div dir="auto"><br></div><div dir="auto"><div style="font-size:1rem;font-family:Calibri,Arial,Helvetica,sans-serif;word-spacing:1px;background-color:rgb(255,255,255)" dir="auto">Error: attempting to enable the packet metadata subsystem too late in the simulation, which is not allowed.</div><div style="font-size:1rem;font-family:Calibri,Arial,Helvetica,sans-serif;word-spacing:1px;background-color:rgb(255,255,255)" dir="auto">A common cause for this problem is to enable ASCII tracing after sending any packets.  <b>One way to fix this problem is to call ns3::PacketMetadata::Enable () near the beginning of the program</b>, before any packets are sent.</div><div style="font-size:1rem;font-family:Calibri,Arial,Helvetica,sans-serif;word-spacing:1px;background-color:rgb(255,255,255)" dir="auto"><br></div><div style="font-size:1rem;font-family:Calibri,Arial,Helvetica,sans-serif;word-spacing:1px;background-color:rgb(255,255,255)" dir="auto">Yours, Junxiao</div></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jul 6, 2021 at 14:28 Justin Rodrigues via ndnSIM <<a href="mailto:ndnsim@lists.cs.ucla.edu">ndnsim@lists.cs.ucla.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr"><p style="text-align:center"><font color="red"><strong>External Email</strong><br></font></p>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
Hello everyone,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
I hope you are doing well. I am receiving this error when I am generating a third consumer in the mobility tree walk example.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
[3596/3638] Linking build/src/ndnSIM/examples/ns3.30.1-mobility-tree-walk4-debug
<div>Waf: Leaving directory `/home/justin/Downloads/ndn_sim_mobility/ndnsim/ns-3/build'</div>
<div>Build commands will be stored in build/compile_commands.json</div>
<div>'build' finished successfully (13.571s)</div>
<div>Could not load plugin 'show_last_packets.py': No module named 'kiwi.ui'</div>
<div>Could not load icon applets-screenshooter due to missing gnomedesktop Python module</div>
<div>assert failed. cond="!m_metadataSkipped", msg="Error: attempting to enable the packet metadata subsystem too late in the simulation, which is not allowed.</div>
<div>A common cause for this problem is to enable ASCII tracing after sending any packets.  One way to fix this problem is to call ns3::PacketMetadata::Enable () near the beginning of the program, before any packets are sent.", file=../src/network/model/packet-metadata.cc,
 line=61</div>
<div>terminate called without an active exception</div>
<span>Command ['/home/justin/Downloads/ndn_sim_mobility/ndnsim/ns-3/build/src/ndnSIM/examples/ns3.30.1-mobility-tree-walk4-debug', '--SimulatorImplementationType=ns3::VisualSimulatorImpl'] terminated with signal SIGIOT. Run it under a debugger to get more information
 (./waf --run <program> --command-template="gdb --args %s <args>").</span><br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
Anyone know what could be the cause?</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
Thanks,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
Justin Rodrigues<br>
</div>
</div>

_______________________________________________<br>
ndnSIM mailing list<br>
<a href="mailto:ndnSIM@lists.cs.ucla.edu" target="_blank">ndnSIM@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" rel="noreferrer" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
</blockquote></div></div>