Broken SqueakSource?

Edgar J. De Cleene edgardec2001 at yahoo.com.ar
Mon Nov 20 13:56:25 UTC 2006


David T. Lewis puso en su mail :

> On Sun, Nov 19, 2006 at 03:43:41PM +0100, Bert Freudenberg wrote:
>> On Nov 19, 2006, at 15:38 , Edgar J. De Cleene wrote:
>> 
>>> By the way , I have a partial solution to have preamble /
>>> postscript for
>>> Monticello .
>> 
>> What do you mean? There already are pre/post load/unload scripts in
>> PackageInfo, usable by MC.
> 
> OK, I'm completely clueless. I'm looking at a 3.9 image, and I see
> nothing that looks like "pre/post load/unload scripts" in PackageInfo
> or MC, and certainly nothing that could serve as a replacement for
> a SAR. What am I missing?
> 
> Thanks,
> Dave
> 
All this begins when Pavel say what hitting Scripts button on Monticello
Browser gives the attached walkback.
I always use .sar for complex code and extra things like picts, sound, etc
and have experience in load this in different version .images (see
Rompecabezas.8.sar for a complex "micro app" what figures what load for
work)
I should mess something and found many are "in progress", as no implemented
or no clues or how could manage this.
My dirty solution works , until now, only via drag and drop and tell SAR
install.
Still guessing how manage the fact what sometimes in reduced images you
should load something what image lacks BEFORE Monticello owns logic.
Take MinimalMorphic and the .cs and .mcz I send for test what works , but
need refining...

Edgar

-------------- next part --------------
MessageNotUnderstood: PackageInfo>>preamble
20 November 2006 10:47:44 am

VM: Mac OS - a SmalltalkImage
Image: Squeak3.9 [latest update: #7067]

SecurityManager state:
Restricted: false
FileAccess: true
SocketAccess: true
Working Dir Discovery:Users:admin:SqueakDevelop:Squeak3.10alpha.7068
Trusted Dir Discovery:Users:admin:SqueakDevelop:Squeak3.10alpha.7068
Untrusted Dir Discovery:Users:admin:Library:Preferences:Squeak:Internet:My Squeak

PackageInfo(Object)>>doesNotUnderstand: #preamble
	Receiver: a PackageInfo
	Arguments and temporary variables: 
		aMessage: 	preamble
	Receiver's instance variables: 
		packageName: 	'Balloon'
		methodCategoryPrefix: 	'*balloon'

MCWorkingCopyBrowser>>editScript:
	Receiver: a MCWorkingCopyBrowser
	Arguments and temporary variables: 
		scriptSymbol: 	#preamble
		script: 	nil
	Receiver's instance variables: 
		morph: 	nil
		label: 	nil
		modal: 	false
		modalValue: 	nil
		workingCopy: 	a MCWorkingCopy
		workingCopyWrapper: 	nil
		repository: 	nil
		defaults: 	a Dictionary()

[] in MenuItemMorph>>invokeWithEvent: {[(selArgCount := selector numArgs) = 0   ifTrue: [target perform: selector] ...]}
	Arguments and temporary variables: 
		evt: 	[358 at 60 mouseUp 13874]
		selArgCount: 	1
		w: 	a PasteUpMorph(1622) [world]

BlockContext>>ensure:
	Receiver: [] in MenuItemMorph>>invokeWithEvent: {[(selArgCount := selector numArgs) = 0   ifTrue: [t...etc...
	Arguments and temporary variables: 
		aBlock: 	[] in CursorWithMask(Cursor)>>showWhile: {[oldcursor show]}
		returnValue: 	nil
		b: 	nil
	Receiver's instance variables: 
		sender: 	BlockContext>>ensure:
		pc: 	153
		stackp: 	0
		nargs: 	0
		startpc: 	132
		home: 	MenuItemMorph>>invokeWithEvent:


--- The full stack ---
PackageInfo(Object)>>doesNotUnderstand: #preamble
MCWorkingCopyBrowser>>editScript:
[] in MenuItemMorph>>invokeWithEvent: {[(selArgCount := selector numArgs) = 0   ifTrue: [target perform: selector] ...]}
BlockContext>>ensure:
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
CursorWithMask(Cursor)>>showWhile:
MenuItemMorph>>invokeWithEvent:
MenuItemMorph>>mouseUp:
MenuItemMorph>>handleMouseUp:
MouseButtonEvent>>sentTo:
MenuItemMorph(Morph)>>handleEvent:
MorphicEventDispatcher>>dispatchDefault:with:
MorphicEventDispatcher>>dispatchEvent:with:
MenuItemMorph(Morph)>>processEvent:using:
MorphicEventDispatcher>>dispatchDefault:with:
MorphicEventDispatcher>>dispatchEvent:with:
MenuMorph(Morph)>>processEvent:using:
MenuMorph(Morph)>>processEvent:
MenuMorph>>handleFocusEvent:
[] in HandMorph>>sendFocusEvent:to:clear: {[ActiveHand := self.  ActiveEvent := anEvent.  result := focusHolder     han...]}
[] in PasteUpMorph>>becomeActiveDuring: {[aBlock value]}
BlockContext>>on:do:
PasteUpMorph>>becomeActiveDuring:
HandMorph>>sendFocusEvent:to:clear:
HandMorph>>sendEvent:focus:clear:
HandMorph>>sendMouseEvent:
HandMorph>>handleEvent:
HandMorph>>processEvents
[] in WorldState>>doOneCycleNowFor: {[:h |  ActiveHand := h.  h processEvents.  capturingGesture := capturingGest...]}
Array(SequenceableCollection)>>do:
WorldState>>handsDo:
WorldState>>doOneCycleNowFor:
WorldState>>doOneCycleFor:
PasteUpMorph>>doOneCycle
[] in Project class>>spawnNewProcess {[[World doOneCycle.  Processor yield.  false] whileFalse.  nil]}
[] in BlockContext>>newProcess {[self value.  Processor terminateActive]}


More information about the Squeak-dev mailing list