<div dir="ltr"><div><div>I had to refactor the --follow-dependencies code to allow for the list of dependencies to be visible before actual uninstall. From the log, it seems like there is an issue with the else block (lines 66-98, portuninstall.tcl) in the generate_deplist proc. It works fine for all cases where the if block is executed. <br>
<br></div>I was able to replicate the py34-requests error on my local copy and am already working on a fix.<br></div>Sorry for the inconvenience caused.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Aug 24, 2014 at 12:16 PM, Lawrence Velázquez <span dir="ltr">&lt;<a href="mailto:larryv@macports.org" target="_blank">larryv@macports.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On Aug 18, 2014, at 6:01 PM, Shashwat Pandey &lt;<a href="mailto:devshashwatpandey@gmail.com">devshashwatpandey@gmail.com</a>&gt; wrote:<br>

<br>
</div><div><div class="h5">&gt; I have worked on &#39;Interactive Port Command&#39; project this summer and have completed many use cases.<br>
&gt;<br>
&gt; You can find more details about the project here.<br>
&gt; To check out the code, visit the repository here.<br>
&gt;<br>
&gt; Interactivity is the default behaviour now and to access the current behaviour (non-interactive invocations), the flag &#39;-N&#39; needs to be used.<br>
&gt;<br>
&gt; I am currently testing the implementations and request the list to point out any bugs they find. If anyone has identified more use cases please report so that I can add them to the list on the wiki page.<br>
<br>
</div></div>Can someone running trunk post-r124243 tell me whether they can use &quot;port uninstall --follow-dependencies&quot; successfully? It does not work for me at all.<br>
<br>
    % sudo port uninstall --follow-dependencies py34-requests<br>
    ---&gt;  Deactivating py34-requests @2.3.0_0<br>
    ---&gt;  Cleaning py34-requests<br>
    ---&gt;  Uninstalling py34-requests @2.3.0_0<br>
    Error: Failed to uninstall py34-requests: invalid command name &quot;&quot;<br>
    Warning: Failed to execute portfile from registry for py34-requests @2.3.0_0<br>
    Error: port uninstall failed: Registry error: py34-requests not registered as installed<br>
    %<br>
<br>
This is extremely disruptive, and I&#39;m going to revert the changes to registry2.0/portuninstall.tcl in an hour or two if no one can convince me that I&#39;m insane.<br>
<br>
vq</blockquote></div><br></div>