<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Can you explain what specific problems you have right now?  Are the consumers getting the data?
<div class=""><br class="">
</div>
<div class="">Lan<br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Sep 27, 2020, at 7:33 PM, Lan Wang (lanwang) <<a href="mailto:lanwang@memphis.edu" class="">lanwang@memphis.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<br class="">
<div class=""><br class="">
<blockquote type="cite" class="">
<div class="">Begin forwarded message:</div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class="">
<br class="">
</div>
<div class="">
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class="">
<span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">From:
</b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">AndrĂ© D. Carneiro <<a href="mailto:adcarneiro@inf.ufrgs.br" class="">adcarneiro@inf.ufrgs.br</a>><br class="">
</span></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class="">
<span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Subject:
</b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><b class="">Issues with producer and consumer in Python experiment</b><br class="">
</span></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class="">
<span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Date:
</b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">September 27, 2020 at 5:42:24 PM CDT<br class="">
</span></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class="">
<span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">To:
</b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><a href="mailto:mini-ndn@lists.cs.ucla.edu" class="">mini-ndn@lists.cs.ucla.edu</a><br class="">
</span></div>
<br class="">
<br class="">
Hi everyone and thanks very much for the help so far,<br class="">
<br class="">
<br class="">
I have the basics covered now and the install seems to be working fine. Running producers/consumers on the MiniNDN CLI responds as I expected so I got back to my python experiment. Only when instantiating producers/consumers via the 'host.cmd' directive I am
 getting NACKs, though I'm not sure why. These producer and consumer programs are copies from the ones in the examples directory, only with minimal changes to log the elapsed time and accept interest filters from the command line.<br class="">
<br class="">
To give you a broad view of the script, all the producers are instantiated during setup, being assigned their interest filter, after running their respective 'nlsrc advertise'  command (thanks for that again) and running in the background (ex. 'producer /a
 &').<br class="">
<br class="">
The consumers are instantiated by demand, the main difference being that they don't run in the background (without the '&') and they are responsible for logging the elapsed time when onData, onNack or onTimeout is called.<br class="">
<br class="">
When the experiment is done and the CLI is shown, I ran 'nlsrc lsdb' and noticed that the advertise commands had worked because the interest filters show up in their respective hosts. I also tried adding the 'export HOME' command for each host before calling
 the producer or consumer programs, but it did not seem to make any difference.<br class="">
<br class="">
<br class="">
Also note that a consumer can run while a producer for that same host is running in the background, which I don't think is a problem.<br class="">
<br class="">
<br class="">
Best regards,<br class="">
<br class="">
AndrĂ© Dexheimer Carneiro<br class="">
<br class="">
<br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
_______________________________________________<br class="">
Mini-NDN mailing list<br class="">
<a href="mailto:Mini-NDN@lists.cs.ucla.edu" class="">Mini-NDN@lists.cs.ucla.edu</a><br class="">
http://www.lists.cs.ucla.edu/mailman/listinfo/mini-ndn<br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>