[squeak-dev] I found this odd (GetText)

Edgar J. De Cleene edgardec2005 at gmail.com
Fri Mar 30 12:08:18 UTC 2012


Skipped content of type multipart/alternative-------------- next part --------------
Error: My subclass should have overridden #isDomainLoaded:
30 March 2012 9:03:06.572 am

VM: Mac OS - Smalltalk
Image: Squeak4.3 [latest update: #11969]

SecurityManager state:
Restricted: false
FileAccess: true
SocketAccess: true
Working Dir /Users/edgar/AtlantisSqueak/imagesZip/Squeak4.4-11860
Trusted Dir /foobar/tooBar/forSqueak/bogus/
Untrusted Dir /Users/edgar/Library/Preferences/Squeak/Internet/My Squeak/

NaturalLanguageTranslator(Object)>>error:
	Receiver: NaturalLanguageTranslator(en)
	Arguments and temporary variables: 
		aString: 	'My subclass should have overridden #isDomainLoaded:'
	Receiver's instance variables: 
		id: 	en

NaturalLanguageTranslator(Object)>>subclassResponsibility
	Receiver: NaturalLanguageTranslator(en)
	Arguments and temporary variables: 

	Receiver's instance variables: 
		id: 	en

NaturalLanguageTranslator>>isDomainLoaded:
	Receiver: NaturalLanguageTranslator(en)
	Arguments and temporary variables: 
		aDomainName: 	'Etoys'
	Receiver's instance variables: 
		id: 	en

GetTextTranslator class(NaturalLanguageTranslator class)>>translateWithoutLoading:toLocaleID:inDomain:
	Receiver: GetTextTranslator
	Arguments and temporary variables: 
		aString: 	'<language display name>'
		localeID: 	en
		aDomainName: 	'Etoys'
		translator: 	NaturalLanguageTranslator(en)
	Receiver's instance variables: 
		superclass: 	NaturalLanguageTranslator
		methodDict: 	a MethodDictionary(#atRandom->(GetTextTranslator>>#atRandom "a Comp...etc...
		format: 	134
		instanceVariables: 	#('moFiles')
		organization: 	('accessing' atRandom domainRegistered: domainUnregistered: isDom...etc...
		subclasses: 	nil
		name: 	#GetTextTranslator
		classPool: 	a Dictionary(#LocaleDirsForDomain->a Dictionary() #SystemDefaultLoca...etc...
		sharedPools: 	nil
		environment: 	Smalltalk globals "a SystemDictionary with lots of globals"
		category: 	#'GetText-Localization'

GetTextTranslator class(NaturalLanguageTranslator class)>>translateWithoutLoading:toLocaleID:
	Receiver: GetTextTranslator
	Arguments and temporary variables: 
		aString: 	'<language display name>'
		localeID: 	en
	Receiver's instance variables: 
		superclass: 	NaturalLanguageTranslator
		methodDict: 	a MethodDictionary(#atRandom->(GetTextTranslator>>#atRandom "a Comp...etc...
		format: 	134
		instanceVariables: 	#('moFiles')
		organization: 	('accessing' atRandom domainRegistered: domainUnregistered: isDom...etc...
		subclasses: 	nil
		name: 	#GetTextTranslator
		classPool: 	a Dictionary(#LocaleDirsForDomain->a Dictionary() #SystemDefaultLoca...etc...
		sharedPools: 	nil
		environment: 	Smalltalk globals "a SystemDictionary with lots of globals"
		category: 	#'GetText-Localization'

LocaleID>>displayName
	Receiver: en
	Arguments and temporary variables: 
		magicPhrase: 	'<language display name>'
		translatedMagicPhrase: 	nil
	Receiver's instance variables: 
		isoLanguage: 	'en'
		isoCountry: 	nil

MorphicProject(Project)>>naturalLanguage
	Receiver: a MorphicProject (Unnamed1) in a PasteUpMorph(1622) [world]
	Arguments and temporary variables: 

	Receiver's instance variables: 
		dependents: 	nil
		world: 	a PasteUpMorph(1622) [world]
		uiManager: 	a MorphicUIManager
		changeSet: 	a ChangeSet named Unnamed1
		transcript: 	a TranscriptStream ''
		parentProject: 	a MorphicProject (Unnamed1) in a PasteUpMorph(1622) [world]
		previousProject: 	nil
		displayDepth: 	32
		viewSize: 	151 at 132
		thumbnail: 	Form(151x132x32)
		nextProject: 	nil
		guards: 	nil
		projectParameters: 	an IdentityDictionary(#PrevailingProjectFlags->an IdentityDi...etc...
		version: 	nil
		urlList: 	nil
		environment: 	nil
		lastDirectory: 	nil
		lastSavedAtSeconds: 	nil
		projectPreferenceFlagDictionary: 	an IdentityDictionary(#showSharedFlaps->true #...etc...
		resourceManager: 	a ResourceManager

ProjectNavigationMorph>>buttonLanguage
	Receiver: a ProjectNavigationMorph(3620)
	Arguments and temporary variables: 

	Receiver's instance variables: 
		bounds: 	0 at 0 corner: 50 at 40
		owner: 	nil
		submorphs: 	#()
		fullBounds: 	nil
		color: 	Color orange
		extension: 	a MorphExtension (3645) [other:  (layoutPolicy -> a TableLayout) (la...etc...
		borderWidth: 	0
		borderColor: 	Color black
		mouseInside: 	false
		soundSlider: 	nil

ProjectNavigationMorph>>makeTheAdvancedButtons
	Receiver: a ProjectNavigationMorph(3620)
	Arguments and temporary variables: 

	Receiver's instance variables: 
		bounds: 	0 at 0 corner: 50 at 40
		owner: 	nil
		submorphs: 	#()
		fullBounds: 	nil
		color: 	Color orange
		extension: 	a MorphExtension (3645) [other:  (layoutPolicy -> a TableLayout) (la...etc...
		borderWidth: 	0
		borderColor: 	Color black
		mouseInside: 	false
		soundSlider: 	nil

ProjectNavigationMorph>>makeTheButtons
	Receiver: a ProjectNavigationMorph(3620)
	Arguments and temporary variables: 

	Receiver's instance variables: 
		bounds: 	0 at 0 corner: 50 at 40
		owner: 	nil
		submorphs: 	#()
		fullBounds: 	nil
		color: 	Color orange
		extension: 	a MorphExtension (3645) [other:  (layoutPolicy -> a TableLayout) (la...etc...
		borderWidth: 	0
		borderColor: 	Color black
		mouseInside: 	false
		soundSlider: 	nil

ProjectNavigationMorph>>addButtons
	Receiver: a ProjectNavigationMorph(3620)
	Arguments and temporary variables: 

	Receiver's instance variables: 
		bounds: 	0 at 0 corner: 50 at 40
		owner: 	nil
		submorphs: 	#()
		fullBounds: 	nil
		color: 	Color orange
		extension: 	a MorphExtension (3645) [other:  (layoutPolicy -> a TableLayout) (la...etc...
		borderWidth: 	0
		borderColor: 	Color black
		mouseInside: 	false
		soundSlider: 	nil

ProjectNavigationMorph>>initialize
	Receiver: a ProjectNavigationMorph(3620)
	Arguments and temporary variables: 

	Receiver's instance variables: 
		bounds: 	0 at 0 corner: 50 at 40
		owner: 	nil
		submorphs: 	#()
		fullBounds: 	nil
		color: 	Color orange
		extension: 	a MorphExtension (3645) [other:  (layoutPolicy -> a TableLayout) (la...etc...
		borderWidth: 	0
		borderColor: 	Color black
		mouseInside: 	false
		soundSlider: 	nil

ProjectNavigationMorph class(Behavior)>>new
	Receiver: ProjectNavigationMorph
	Arguments and temporary variables: 

	Receiver's instance variables: 
		superclass: 	AlignmentMorphBob1
		methodDict: 	a MethodDictionary(#addButtons->(ProjectNavigationMorph>>#addButton...etc...
		format: 	150
		instanceVariables: 	#('mouseInside' 'soundSlider')
		organization: 	('accessing' color:)
('as yet unclassified' addButtons amountToSh...etc...
		subclasses: 	{NebraskaNavigationMorph}
		name: 	#ProjectNavigationMorph
		classPool: 	a Dictionary(#LastManualPlacement->nil )
		sharedPools: 	nil
		environment: 	Smalltalk globals "a SystemDictionary with lots of globals"
		category: 	#'MorphicExtras-Navigators'

Flaps class>>newNavigatorFlap
	Receiver: Flaps
	Arguments and temporary variables: 
		aFlapTab: 	nil
		navBar: 	nil
		aFlap: 	nil
	Receiver's instance variables: 
		superclass: 	Object
		methodDict: 	a MethodDictionary()
		format: 	2
		instanceVariables: 	nil
		organization: 	('as yet unclassified')

		subclasses: 	nil
		name: 	#Flaps
		classPool: 	a Dictionary(#FlapsQuads->a Dictionary('PlugIn Supplies'->an Ordered...etc...
		sharedPools: 	nil
		environment: 	Smalltalk globals "a SystemDictionary with lots of globals"
		category: 	#'MorphicExtras-Flaps'

Flaps class>>makeNavigatorFlapResembleGoldenBar
	Receiver: Flaps
	Arguments and temporary variables: 

	Receiver's instance variables: 
		superclass: 	Object
		methodDict: 	a MethodDictionary()
		format: 	2
		instanceVariables: 	nil
		organization: 	('as yet unclassified')

		subclasses: 	nil
		name: 	#Flaps
		classPool: 	a Dictionary(#FlapsQuads->a Dictionary('PlugIn Supplies'->an Ordered...etc...
		sharedPools: 	nil
		environment: 	Smalltalk globals "a SystemDictionary with lots of globals"
		category: 	#'MorphicExtras-Flaps'

Flaps class>>DoIt
	Receiver: Flaps
	Arguments and temporary variables: 

	Receiver's instance variables: 
		superclass: 	Object
		methodDict: 	a MethodDictionary()
		format: 	2
		instanceVariables: 	nil
		organization: 	('as yet unclassified')

		subclasses: 	nil
		name: 	#Flaps
		classPool: 	a Dictionary(#FlapsQuads->a Dictionary('PlugIn Supplies'->an Ordered...etc...
		sharedPools: 	nil
		environment: 	Smalltalk globals "a SystemDictionary with lots of globals"
		category: 	#'MorphicExtras-Flaps'

Compiler>>evaluate:in:to:notifying:ifFail:logged:
	Receiver: a Compiler
	Arguments and temporary variables: 
		textOrStream: 	a ReadWriteStream 'makeNavigatorFlapResembleGoldenBar
	"At explic...etc...
		aContext: 	nil
		receiver: 	Flaps
		aRequestor: 	a SmalltalkEditor
		failBlock: 	[closure] in [] in SmalltalkEditor(TextEditor)>>evaluateSelectionAnd...etc...
		logFlag: 	true
		methodNode: 	DoIt
	^ Flaps makeNavigatorFlapResembleGoldenBar
		method: 	(Flaps class>>#DoIt "a CompiledMethod(170)")
		value: 	nil
		toLog: 	nil
		itsSelection: 	nil
		itsSelectionString: 	nil
	Receiver's instance variables: 
		sourceStream: 	a ReadWriteStream 'makeNavigatorFlapResembleGoldenBar
	"At explic...etc...
		requestor: 	a SmalltalkEditor
		class: 	Flaps class
		category: 	nil
		context: 	nil
		parser: 	a Parser

[] in SmalltalkEditor(TextEditor)>>evaluateSelectionAndDo:
	Receiver: a SmalltalkEditor
	Arguments and temporary variables: 
<<error during printing>
	Receiver's instance variables: 
		morph: 	a TextMorphForEditView(1803)
		selectionShowing: 	false
		model: 	a MessageNames
		paragraph: 	a MultiNewParagraph
		markBlock: 	a CharacterBlock with index 169 and character $F and rectangle 29 at 64...etc...
		pointBlock: 	a CharacterBlock with index 209 and character $" and rectangle 302 at ...etc...
		beginTypeInIndex: 	nil
		emphasisHere: 	{a TextColor code: (Color r: 0.0 g: 0.5 b: 0.5)}
		lastParenLocation: 	nil
		otherInterval: 	(1 to: 0)
		oldInterval: 	(1 to: 0)
		typeAhead: 	nil
		styler: 	nil

BlockClosure>>on:do:
	Receiver: [closure] in SmalltalkEditor(TextEditor)>>evaluateSelectionAndDo:
	Arguments and temporary variables: 
		exception: 	OutOfScopeNotification
		handlerAction: 	[closure] in SmalltalkEditor(TextEditor)>>evaluateSelectionAndDo...etc...
		handlerActive: 	true
	Receiver's instance variables: 
		outerContext: 	SmalltalkEditor(TextEditor)>>evaluateSelectionAndDo:
		startpc: 	97
		numArgs: 	0


--- The full stack ---
NaturalLanguageTranslator(Object)>>error:
NaturalLanguageTranslator(Object)>>subclassResponsibility
NaturalLanguageTranslator>>isDomainLoaded:
GetTextTranslator class(NaturalLanguageTranslator class)>>translateWithoutLoading:toLocaleID:inDomain:
GetTextTranslator class(NaturalLanguageTranslator class)>>translateWithoutLoading:toLocaleID:
LocaleID>>displayName
MorphicProject(Project)>>naturalLanguage
ProjectNavigationMorph>>buttonLanguage
ProjectNavigationMorph>>makeTheAdvancedButtons
ProjectNavigationMorph>>makeTheButtons
ProjectNavigationMorph>>addButtons
ProjectNavigationMorph>>initialize
ProjectNavigationMorph class(Behavior)>>new
Flaps class>>newNavigatorFlap
Flaps class>>makeNavigatorFlapResembleGoldenBar
Flaps class>>DoIt
Compiler>>evaluate:in:to:notifying:ifFail:logged:
[] in SmalltalkEditor(TextEditor)>>evaluateSelectionAndDo:
BlockClosure>>on:do:
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SmalltalkEditor(TextEditor)>>evaluateSelectionAndDo:
SmalltalkEditor(TextEditor)>>evaluateSelection
[] in PluggableTextMorphPlus(PluggableTextMorph)>>doIt
TextMorphForEditView(TextMorph)>>handleEdit:
PluggableTextMorphPlus(PluggableTextMorph)>>handleEdit:
PluggableTextMorphPlus(PluggableTextMorph)>>doIt
MessageNames(StringHolder)>>perform:orSendTo:
[] in MenuItemMorph>>invokeWithEvent:
BlockClosure>>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:
BlockClosure>>on:do:
PasteUpMorph>>becomeActiveDuring:
HandMorph>>sendFocusEvent:to:clear:
HandMorph>>sendEvent:focus:clear:
HandMorph>>sendMouseEvent:
HandMorph>>handleEvent:
HandMorph>>processEvents
[] in WorldState>>doOneCycleNowFor:
Array(SequenceableCollection)>>do:
WorldState>>handsDo:
WorldState>>doOneCycleNowFor:
WorldState>>doOneCycleFor:
WorldState>>doOneSubCycleFor:
PasteUpMorph>>doOneSubCycle
MenuMorph>>invokeModalAt:in:allowKeyboard:
MenuMorph>>invokeModal:
MenuMorph>>invokeModal
PluggableTextMorphPlus(PluggableTextMorph)>>yellowButtonActivity:
-- and more not shown --


More information about the Squeak-dev mailing list