[Etoys] [BUG]Default file name converter, win32

Karl Ramberg karlramberg at gmail.com
Thu Sep 4 15:22:53 EDT 2008


I just downloaded a old Etoy-dev image and updated it to latest update 
and got a walkback when saving and quiting.
The default filename language converter protested.
Opening the image again the same thing happened, log attached.
Changing the converter to Latin1TextConverter soved the problem.

Karl
-------------- next part --------------
Error: Invalid utf8 input detected
4 September 2008 9:13:10 pm

VM: Win32 - a SmalltalkImage
Image: etoys3.0 [latest update: #2127]

SecurityManager state:
Restricted: false
FileAccess: true
SocketAccess: true
Working Dir C:\Documents and Settings\Karl\Skrivbord
Trusted Dir C:\Documents and Settings\Karl\Skrivbord\Karl
Untrusted Dir C:\My Squeak\Karl

UTF8TextConverter(Object)>>error:
	Receiver: an UTF8TextConverter
	Arguments and temporary variables: 
		t1: 	'Invalid utf8 input detected'
	Receiver's instance variables: 
		acceptingEncodings: 	nil
		currentCharSize: 	4
		forceToEncodingTag: 	nil

UTF8TextConverter>>errorMalformedInput
	Receiver: an UTF8TextConverter
	Arguments and temporary variables: 

	Receiver's instance variables: 
		acceptingEncodings: 	nil
		currentCharSize: 	4
		forceToEncodingTag: 	nil

UTF8TextConverter>>nextFromStream:
	Receiver: an UTF8TextConverter
	Arguments and temporary variables: 
		t1: 	a ReadStream 'böcker'
		t2: 	$ö
		t3: 	246
		t4: 	$c
		t5: 	99
		t6: 	1719013
		t7: 	$k
		t8: 	107
		t9: 	$e
		t10: 	101
	Receiver's instance variables: 
		acceptingEncodings: 	nil
		currentCharSize: 	4
		forceToEncodingTag: 	nil

ByteString(String)>>convertFromWithConverter:
	Receiver: 'böcker'
	Arguments and temporary variables: 
		t1: 	an UTF8TextConverter
		t2: 	a ReadStream 'böcker'
		t3: 	a WriteStream 'b'
		t4: 	$b
	Receiver's instance variables: 
'böcker'

--- The full stack ---
UTF8TextConverter(Object)>>error:
UTF8TextConverter>>errorMalformedInput
UTF8TextConverter>>nextFromStream:
ByteString(String)>>convertFromWithConverter:
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FilePath>>pathName:isEncoded:
FilePath class>>pathName:isEncoded:
DirectoryEntry>>convertFromSystemName
[] in DosFileDirectory(FileDirectory)>>directoryContentsFor: {[:t7 | t7 convertFromSystemName]}
Array(SequenceableCollection)>>collect:
DosFileDirectory(FileDirectory)>>directoryContentsFor:
DosFileDirectory(FileDirectory)>>entries
DosFileDirectory(FileDirectory)>>fileNames
DosFileDirectory(FileDirectory)>>fileExists:
FileDirectory class>>openSources:forImage:
FileDirectory class>>openSources:forImage:
FileDirectory class>>openSources:andChanges:forImage:
SmalltalkImage>>openSourceFiles
FileDirectory class>>startUp
FileDirectory class(Behavior)>>startUp:
[] in SystemDictionary>>send:toClassesNamedIn:with: {[:t6 |  t5 := self     at: t6     ifAbsent: [].  t5   ifNil: [t4 add: t6]   ...]}
OrderedCollection>>do:
SystemDictionary>>send:toClassesNamedIn:with:
SystemDictionary>>processStartUpList:
SmalltalkImage>>snapshot:andQuit:embedded:
SmalltalkImage>>snapshot:andQuit:
SmalltalkImage>>saveSession
SimpleButtonMorph>>doButtonAction
SimpleButtonMorph>>mouseUp:
SimpleButtonMorph(Morph)>>handleMouseUp:
MouseButtonEvent>>sentTo:
SimpleButtonMorph(Morph)>>handleEvent:
SimpleButtonMorph(Morph)>>handleFocusEvent:
[] in HandMorph>>sendFocusEvent:to:clear: {[ActiveHand := self.  ActiveEvent := t1.  t4 := t2     handleFocusEvent: (t1...]}
[] in PasteUpMorph>>becomeActiveDuring: {[t1 value]}
BlockContext>>on:do:
PasteUpMorph>>becomeActiveDuring:
HandMorph>>sendFocusEvent:to:clear:
HandMorph>>sendEvent:focus:clear:
HandMorph>>sendMouseEvent:
HandMorph>>handleEvent:
HandMorph>>processEvents
[] in WorldState>>doOneCycleNowFor: {[:t3 |  ActiveHand := t3.  t3 processEvents.  t2 := t2     or: [t3 isCapturi...]}
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 etoys-dev mailing list