[BUG]String(Object)>>error:

ned at bike-nomad.com ned at bike-nomad.com
Tue Jul 22 19:52:59 UTC 2003


I went to open a package loader and got this.
Problem is that in

SMLoader>>packageNameList

	^self packageList collect: [:e | e name, ' (', e versionLabel , ')']

"e versionLabel" is actually not a string. It's a 9-element Array:

#('1.26' 3235793836 17 $- $> $1 $. $2 $7)

22 July 2003 12:50:53 pm

VM: unix - Squeak3.4 of 1 March 2003 [latest update: #5170]
Image: Squeak3.6beta [latest update: #5371]

String(Object)>>error:
	Receiver: 'BFAV  (         '
	Arguments and temporary variables: 
		aString: 	'Strings only store Characters'
	Receiver's instance variables: 
'BFAV  (         '

String>>at:put:
	Receiver: 'BFAV  (         '
	Arguments and temporary variables: 
		index: 	8
		aCharacter: 	'1.26'
	Receiver's instance variables: 
'BFAV  (         '

String(SequenceableCollection)>>replaceFrom:to:with:startingAt:
	Receiver: 'BFAV  (         '
	Arguments and temporary variables: 
		start: 	8
		stop: 	16
		replacement: 	#('1.26' 3235793836 17 $- $> $1 $. $2 $7)
		repStart: 	1
		index: 	8
		repOff: 	-7
	Receiver's instance variables: 
'BFAV  (         '

String>>replaceFrom:to:with:startingAt:
	Receiver: 'BFAV  (         '
	Arguments and temporary variables: 
		start: 	8
		stop: 	16
		replacement: 	#('1.26' 3235793836 17 $- $> $1 $. $2 $7)
		repStart: 	1
	Receiver's instance variables: 
'BFAV  (         '


--- The full stack ---
String(Object)>>error:
String>>at:put:
String(SequenceableCollection)>>replaceFrom:to:with:startingAt:
String>>replaceFrom:to:with:startingAt:
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
String(SequenceableCollection)>>copyReplaceFrom:to:with:
String(SequenceableCollection)>>,
[] in SMLoader>>packageNameList
Array(SequenceableCollection)>>collect:
SMLoader>>packageNameList
PluggableListMorph>>getList
PluggableListMorph>>on:list:selected:changeSelected:menu:keystroke:
SMLoader>>buildMorphicPackagesList
SMLoader>>createWindow
SMLoader class>>open
TheWorldMenu>>doMenuItem:with:
[] in MenuItemMorph>>invokeWithEvent:
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:
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:
PasteUpMorph>>doOneCycle
[] in Project class>>spawnNewProcess
[] in BlockContext>>newProcess



More information about the Squeak-dev mailing list