<div dir="ltr">Anyone? </div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Aug 28, 2013 at 2:12 PM, Mariano Martinez Peck <span dir="ltr">&lt;<a href="mailto:marianopeck@gmail.com" target="_blank">marianopeck@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi guys,<div><br></div><div>I was trying to build a new image with latest Pharo 2.0 with all the frameworks I use. While installing, I get a dnu in:</div>
<div><br></div><div><div>packageFromOrganizer: anRPackageOrganizer</div>
<div><span style="white-space:pre-wrap">        </span>&quot;This method returns the package this method belongs to.  </div><div><span style="white-space:pre-wrap">        </span>It takes into account classes and traits.  </div>
<div><span style="white-space:pre-wrap">        </span>If the method is in no package, returns nil by now&quot;</div><div><span style="white-space:pre-wrap">        </span>self flag: &#39;TODO: use anRPackageOrganizer, or better delegate to anRPackageOrganizer&#39;.</div>

<div><span style="white-space:pre-wrap">        </span>^self origin packages </div><div><span style="white-space:pre-wrap">                </span>detect: [ :each | </div><div><span style="white-space:pre-wrap">                        </span>(each includesSelector: self selector ofClassName: self origin theNonMetaClass originalName) </div>

<div><span style="white-space:pre-wrap">                        </span>or: [ each includesSelector: self selector ofMetaclassName: self origin theNonMetaClass originalName]] </div><div><span style="white-space:pre-wrap">                </span>ifNone: [ nil ]</div>

<div><br></div><div>because &quot;each&quot; (which was GRPackage) dnu #includesSelector:ofClassName:</div><div><br></div><div>Problem is that &quot;self origin&quot; answers GRPackage. And GRPackage DOES implement a CLASS side method #packages that answers instances of GRPackage.....not RPackage...</div>

<div><br></div><div>So...which one do we prefix? GRPackage class #packages to #greasePackages?</div><div><br></div><div>BTW, there are yet more class side implementations of #packages, which are basically subclasses for the HelpSystem (CustomHelp). So we have for example SUnitAPIDocumentation, RegexAPIDocumentation, ProfStefAPIHelp, HelpAPIDocumentation, AnnouncementsAPIDocumentation.</div>

<div><br></div><div>Guess we should update the HelpSystem as well?</div><div><br></div><div>Let me know and I open issues/submit fixes.</div><div><br></div><div>Cheers,</div><span class="HOEnZb"><font color="#888888"><div>
<br></div>-- <br>Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br>

</font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br>
</div>