Smalltalk unloadAllKnownPackages (was Re: [squeak-dev] The Inbox: GetText-edc.26.mcz)

H. Hirzel hannes.hirzel at gmail.com
Fri Dec 28 11:23:42 UTC 2012


On 12/28/12, Edgar J. De Cleene <edgardec2005 at gmail.com> wrote:
>
>
>
> On 12/28/12 7:56 AM, "H. Hirzel" <hannes.hirzel at gmail.com> wrote:
>
>> Are there any news from your side on an updated (i.e. working)
>>
>>   #unloadAllKnownPackages
>>
>> method for the 4.4-12324 version?
>>
>> --Hannes
>>
>
>
> Just now I have time and take it
> Steps I do
> Load a fresh Squeak4.4-12324.image
> Go to inbox and load
>  GetText-edc.26.mcz
> And then
>  GetText-edc.27.mcz
> Do Smalltalk unloadAllKnownPackages
>
> The pict is here http://imageshack.us/photo/my-images/528/debug1.jpg/

Yes, this is the result I got.



>
> Repeat with no loading from inbox
>
> Same result
> Try to hack as the unloading almost complete with the attached.
> Debug raise in different places related to PackageInfo and
> PackageOrganizer.
>
> Without change nothing, et is fresh .image, I notice trying to edit change
> some method you see red in right top of editor and .image stops working.
>
> This with Older John Vms and new Cogs from Pharo and Croquet, results was
> same.
>
> So at the moment can't follow the code for see where
> AnObsoleteMCMockPackageInfo do not have the necessary info, answer with nil
> and Houston we have a problem :=).

Yes, this means that the regression test
    Smalltalk unloadAllKnownPackages
fails.

The unload script used to work in earlier 4.n releases.

It seems it has to do something with MCMockPackageInfo?


--Hannes


>
> Can confirm edit some method shows red and the image stop working ?
>
> Edgar
>
>


More information about the Squeak-dev mailing list