Ah, that is totally my bad, I added that in to detect if port was installed while I was working on the <a href="http://www.ros.org/wiki/electric/Installation/OSX/Homebrew">Homebrew</a> port. I forgot that port goes into 'interactive' mode if you don't give it a verb.  `port help` is a good alternative or `port --version`, just anything that tests to see if it exists and is in the path.<div>

<br></div><div>When you file the ticket let us know here.</div><div><br></div><div>Thanks,</div><div> <br clear="all">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>William Woodall<br>Graduate Software Engineering<br>Auburn University<br>

<a href="mailto:w@auburn.edu" target="_blank">w@auburn.edu</a><br><a href="mailto:wjwwood@gmail.com" target="_blank">wjwwood@gmail.com</a><div><a href="http://williamjwoodall.com" target="_blank">williamjwoodall.com</a><br>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</div><br>
<br><br><div class="gmail_quote">On Mon, Nov 14, 2011 at 11:51 AM, Ken Conley <span dir="ltr"><<a href="mailto:kwc@willowgarage.com">kwc@willowgarage.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="im">On Mon, Nov 14, 2011 at 8:51 AM, Benjamin Charrow<br>
<<a href="mailto:bcharrow@seas.upenn.edu">bcharrow@seas.upenn.edu</a>> wrote:<br>
</div><div class="im">> Hi all.<br>
><br>
> I've been experiencing a slight problem with rosdep and macports.  Basically, after I run rosdep, a macports process consumes 100% of my CPU and commands I enter in the terminal aren't displayed (stdin is stolen).  I have macports 2.0.3 and am using the ros-1.6.6 tagged version of ros.  Has anyone else had this problem?<br>


><br>
> Looking at the source, the issue seems to be a check for whether or not macports exists in the constructor of rosdep.installers.MacportsInstaller.  There's a popen command which opens up a macports session, but the process doesn't look like it's being killed.  This would explain why I/O is being stolen, though I'm not sure why my CPU usage spikes.  My quick fix was to just change the command to be "port help" (see diff bellow).<br>


><br>
> Should I file a bug report?<br>
<br>
</div>Yes, please use the bug tracker to file patches instead of ros-users.<br>
It's easier to track and follow up on.<br>
<br>
There is a link to create new tickets at the bottom of the rosdep wiki page:<br>
<a href="http://ros.org/wiki/rosdep" target="_blank">http://ros.org/wiki/rosdep</a><br>
<br>
thanks,<br>
Ken<br>
<div class="HOEnZb"><div class="h5"><br>
> Cheers,<br>
> Ben<br>
><br>
> SVN URL: <a href="https://code.ros.org/svn/ros/stacks/ros/tags/ros-1.6.6/tools/rosdep/src/rosdep" target="_blank">https://code.ros.org/svn/ros/stacks/ros/tags/ros-1.6.6/tools/rosdep/src/rosdep</a><br>
><br>
> bcharrow@amateur:/opt/ros/electric/ros/tools/rosdep/src/rosdep<br>
> $ svn diff<br>
> Index: installers.py<br>
> ===================================================================<br>
> --- installers.py       (revision 15358)<br>
> +++ installers.py       (working copy)<br>
> @@ -424,7 +424,7 @@<br>
>             packages = packages.split()<br>
><br>
>         try:<br>
> -            pop = subprocess.Popen(['port'], stdout=subprocess.PIPE, stderr=subprocess.PIPE)<br>
> +            pop = subprocess.Popen(['port', 'help'], stdout=subprocess.PIPE, stderr=subprocess.PIPE)<br>
>         except OSError:<br>
>             import traceback; traceback.print_exc()<br>
>             print("There was an error running macports, make sure it is installed properly.", file=sys.stderr)<br>
> _______________________________________________<br>
> ros-users mailing list<br>
> <a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
> <a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
><br>
_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
</div></div></blockquote></div><br></div>