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

Edgar J. De Cleene edgardec2005 at gmail.com
Fri Dec 28 11:17:27 UTC 2012




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/

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 :=).

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

Edgar

-------------- next part --------------
'From Squeak4.4 of 24 December 2012 [latest update: #12324] on 28 December 2012 at 7:49:54 am'!

!PackageInfo methodsFor: 'naming' stamp: 'edc 12/28/2012 07:49'!
categoryName
	|category|
	category := self class category.
	category ifNotNil:[
	^ (category endsWith: '-Info')
		ifTrue: [category copyUpToLast: $-]
		ifFalse: [category]].
	^nil! !



More information about the Squeak-dev mailing list