<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Milad,<div><br></div><div>I pushed a small update of ndnSIM-nom-rapid-car2car repository.  I didn't change any code, just updated README instructions and fixed the directory structure: the scenarios and scripts assume that there is results/ and graphs/pdfs/ folders exist, but they were missing from the clone.</div><div><br></div><div>I also checked on my ubuntu installation and ./run.py -s figure-5-retx-count   succeeded and produced the graph.</div><div><br></div><div>---</div><div>Alex</div><div><br></div><div><br><div><div>On Apr 17, 2013, at 5:43 PM, Milad Mahdian <<a href="mailto:mahdian.m@husky.neu.edu">mahdian.m@husky.neu.edu</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div><div><div><div>Alex,<br><br></div>After running the commands, it starts building the graph and then I get this error:<br>...<br>./build/car-relay --run=8 --distance=170<br>./build/car-relay --run=9 --distance=170<br>
./build/car-relay --run=10 --distance=170<br>Traceback (most recent call last):<br>  File "./run.py", line 139, in <module><br>    fig5.run ()<br>  File "./run.py", line 74, in run<br>    self.postprocess ()<br>
  File "./run.py", line 107, in postprocess<br>    f_out = open ("%s-%s.txt" % (prefix_out, subtype), "w")<br>IOError: [Errno 2] No such file or directory: 'results/figure-5-retx-count/car-relay-jump-distance.txt'<br>
<br></div>I have installed R and ggplot2 previously.<br><br></div>Regards,<br></div>Milad<br><div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 17, 2013 at 8:04 PM, Alex Afanasyev <span dir="ltr"><<a href="mailto:alexander.afanasyev@ucla.edu" target="_blank">alexander.afanasyev@ucla.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word">Hi Milad,<div><br></div><div>Just run the following command, which will install the missing python library</div>
<div><br></div><pre style="margin-top:0px;margin-bottom:12px;padding:2px;background-color:rgb(238,232,217);font-size:14px;font-family:'Courier New';border-radius:5px 5px 5px 5px;overflow:auto;border:1px solid rgb(136,136,136);color:rgb(63,63,63)"><span style="">sudo easy_install workerpool</span></pre><div><br></div><div>If it complains that easy_install is not found, then just install it using:</div><div><br></div><div><pre style="margin-top:0px;margin-bottom:12px;padding:2px;background-color:rgb(238,232,217);font-size:14px;font-family:'Courier New';border-radius:5px 5px 5px 5px;overflow:auto;border:1px solid rgb(136,136,136);color:rgb(63,63,63)"><span style="">sudo apt</span><span style="color:rgb(102,102,0)">-</span><span style="color:rgb(0,0,136)">get</span><span style=""> install python</span><span style="color:rgb(102,102,0)">-</span><span style="">setuptools</span></pre>
<div><br></div><div>---</div><div>Alex</div><div><br></div><div><div><div class="h5"><div>On Apr 17, 2013, at 4:59 PM, Milad Mahdian <<a href="mailto:mahdian.m@husky.neu.edu" target="_blank">mahdian.m@husky.neu.edu</a>> wrote:</div>
<br></div></div><blockquote type="cite"><div><div class="h5"><div dir="ltr"><div><div><div><div><div><div>Hi Alex,<br><br></div>I am trying to run the car2car example. After following the instructions on :<a href="http://ndnsim.net/getting-started.html#simulating-using-ndnsim" target="_blank">http://ndnsim.net/getting-started.html#simulating-using-ndnsim</a>, building the scenario, and running it successfully, I get :<br>

 <br>milad@ubuntu:~/repos/ns-3-allinone/ns-3.16/ndnSIM/ns-3/ndnSIM/car$ ./waf --run car-relay<br>Waf: Entering directory `/home/milad/repos/ns-3-allinone/ns-3.16/ndnSIM/ns-3/ndnSIM/car/build'<br>Waf: Leaving directory `/home/milad/repos/ns-3-allinone/ns-3.16/ndnSIM/ns-3/ndnSIM/car/build'<br>

'build' finished successfully (0.017s)<br><br></div>However, when I want it to show the results in a figure I get this error<br><br>milad@ubuntu:~/repos/ns-3-allinone/ns-3.16/ndnSIM/ns-3/ndnSIM/car$ ./run.py -s figure-4-data-propagation-vs-distance<br>

Traceback (most recent call last):<br>  File "./run.py", line 8, in <module><br>    import workerpool<br>ImportError: No module named workerpool<br>milad@ubuntu:~/repos/ns-3-allinone/ns-3.16/ndnSIM/ns-3/ndnSIM/car$ ./run.py figure-5-retx-count<br>

Traceback (most recent call last):<br>  File "./run.py", line 8, in <module><br>    import workerpool<br>ImportError: No module named workerpool<br><br></div>And this is the waf configuration:<br>milad@ubuntu:~/repos/ns-3-allinone/ns-3.16/ndnSIM/ns-3/ndnSIM/car$ ./waf configure<br>

Setting top to                           : /home/milad/repos/ns-3-allinone/ns-3.16/ndnSIM/ns-3/ndnSIM/car <br>Setting out to                           : /home/milad/repos/ns-3-allinone/ns-3.16/ndnSIM/ns-3/ndnSIM/car/build <br>

Checking for 'g++' (c++ compiler)        : /usr/bin/g++ <br>Checking boost includes                  : 1_49 <br>Checking boost libs                      : ok <br>Checking for boost linkage               : ok <br>
Checking for program pkg-config          : /usr/bin/pkg-config <br>
Checking for pkg-config version >= '0.0.0' : yes <br>Checking for ns3-ndnSIM                    : yes <br>Checking for ns3-core                      : yes <br>Checking for ns3-network                   : yes <br>

Checking for ns3-internet                  : yes <br>Checking for ns3-point-to-point            : yes <br>Checking for ns3-topology-read             : yes <br>Checking for ns3-applications              : yes <br>Checking for ns3-mobility                  : yes <br>

Checking for ns3-wifi                      : yes <br>Checking for ns3-visualizer                : yes <br>'configure' finished successfully (0.300s)<br><br></div>can you please help me solve this problem?<br><br>
<br>
</div>Regards,<br></div>Milad<br></div></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" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
</blockquote></div><br></div></div></blockquote></div><br></div></div></div>
_______________________________________________<br>ndnSIM mailing list<br><a href="mailto:ndnSIM@lists.cs.ucla.edu">ndnSIM@lists.cs.ucla.edu</a><br>http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim<br></blockquote></div><br></div></body></html>