[BUG]TextMorph(Object)>>halt:

bstjean at yahoo.com bstjean at yahoo.com
Thu Jun 19 12:48:40 UTC 2003


Update 5195 (or is it 5196?) halts because the ComicBold font isn't
installed ojn my system (I have installed the Accu fonts).  We should
provide a default font, print a warning on the Transcript and proceed
instead of halting the environment.  The problem is located in
TextMorph>>#fontName:size:

19 June 2003 8:34:56 am

VM: Win32 - Squeak3.4 of 1 March 2003 [latest update: #5170]
Image: Squeak3.6alpha [latest update: #5195]

TextMorph(Object)>>halt:
	Receiver: a TextMorph(1996)
	Arguments and temporary variables: 
		aString: 	'Error: font ComicBold not found.'
	Receiver's instance variables: 
		bounds: 	0 at 0 corner: 51 at 53
		owner: 	nil
		submorphs: 	#()
		fullBounds: 	nil
		color: 	Color black
		extension: 	a MorphExtension (768)
		borderWidth: 	0
		borderColor: 	Color black
		textStyle: 	a TextStyle Accujen12
		text: 	a Text for 'Morphs
welcome
here'
		wrapFlag: 	false
		paragraph: 	a NewParagraph
		editor: 	nil
		container: 	nil
		predecessor: 	nil
		successor: 	nil
		lastGesture: 	nil
		backgroundColor: 	nil
		margins: 	nil

TextMorph>>fontName:size:
	Receiver: a TextMorph(1996)
	Arguments and temporary variables: 
		fontName: 	#ComicBold
		fontSize: 	18
		newTextStyle: 	nil
	Receiver's instance variables: 
		bounds: 	0 at 0 corner: 51 at 53
		owner: 	nil
		submorphs: 	#()
		fullBounds: 	nil
		color: 	Color black
		extension: 	a MorphExtension (768)
		borderWidth: 	0
		borderColor: 	Color black
		textStyle: 	a TextStyle Accujen12
		text: 	a Text for 'Morphs
welcome
here'
		wrapFlag: 	false
		paragraph: 	a NewParagraph
		editor: 	nil
		container: 	nil
		predecessor: 	nil
		successor: 	nil
		lastGesture: 	nil
		backgroundColor: 	nil
		margins: 	nil

EToyMorphsWelcomeMorph>>initialize
	Receiver: an EToyMorphsWelcomeMorph(2084)
	Arguments and temporary variables: 
		earMorph: 	nil
	Receiver's instance variables: 
		bounds: 	0 at 0 corner: 50 at 40
		owner: 	nil
		submorphs: 	#()
		fullBounds: 	nil
		color: 	Color yellow
		extension: 	a MorphExtension (2290) [other:  (layoutPolicy -> a
TableLayout) (co...etc...
		borderWidth: 	0
		borderColor: 	Color black
		fields: 	a Dictionary()
		resultQueue: 	a SharedQueue

EToyMorphsWelcomeMorph(Morph)>>initializeToStandAlone
	Receiver: an EToyMorphsWelcomeMorph(2084)
	Arguments and temporary variables: 

	Receiver's instance variables: 
		bounds: 	0 at 0 corner: 50 at 40
		owner: 	nil
		submorphs: 	#()
		fullBounds: 	nil
		color: 	Color yellow
		extension: 	a MorphExtension (2290) [other:  (layoutPolicy -> a
TableLayout) (co...etc...
		borderWidth: 	0
		borderColor: 	Color black
		fields: 	a Dictionary()
		resultQueue: 	a SharedQueue


--- The full stack ---
TextMorph(Object)>>halt:
TextMorph>>fontName:size:
EToyMorphsWelcomeMorph>>initialize
EToyMorphsWelcomeMorph(Morph)>>initializeToStandAlone
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
EToyMorphsWelcomeMorph class(Morph class)>>newStandAlone
DescriptionForPartsBin>>sampleImageForm
[] in PartsBin class>>thumbnailForPartsDescription:
Dictionary>>at:ifAbsent:
PartsBin class>>thumbnailForPartsDescription:
[] in PartsBin class>>cacheAllThumbnails
Set>>do:
[] in PartsBin class>>cacheAllThumbnails
BlockContext>>ensure:
CursorWithMask(Cursor)>>showWhile:
PartsBin class>>cacheAllThumbnails
[] in UndefinedObject>>DoIt
[] in Utilities class>>informUser:during:
MVCMenuMorph>>displayAt:during:
Utilities class>>informUser:during:
UndefinedObject>>DoIt
Compiler>>evaluate:in:to:notifying:ifFail:
Compiler class>>evaluate:for:notifying:logged:
Compiler class>>evaluate:for:logged:
Compiler class>>evaluate:logged:
[] in RWBinaryOrTextStream(PositionableStream)>>fileInAnnouncing:
BlockContext>>on:do:
[] in RWBinaryOrTextStream(PositionableStream)>>fileInAnnouncing:
ProgressInitiationException>>defaultAction
ProgressInitiationException(Exception)>>signal
ProgressInitiationException>>display:at:from:to:during:
ProgressInitiationException class>>display:at:from:to:during:
String>>displayProgressAt:from:to:during:
RWBinaryOrTextStream(PositionableStream)>>fileInAnnouncing:
[] in ChangeSorter class>>newChangesFromStream:named:
BlockContext>>ensure:
ChangeSorter class>>newChangesFromStream:named:
[] in Utilities
class>>readServer:special:updatesThrough:saveLocally:updateImage:
BlockContext>>ensure:
CursorWithMask(Cursor)>>showWhile:
Utilities
class>>readServer:special:updatesThrough:saveLocally:updateImage:
Utilities class>>readServerUpdatesThrough:saveLocally:updateImage:
Utilities class>>readServerUpdatesSaveLocally:updateImage:
...etc...



More information about the Squeak-dev mailing list