Error: Invalid utf8 input detected [was: [ANN][Squeak-dev Beta Image] Version sq3.10-7130dev07.07.1]

Klaus D. Witzel klaus.witzel at cobss.com
Sat Jul 28 10:16:28 UTC 2007


Hi Damien,

thank you very much for making these fine .images available!

There seems to be a problem with clipboard/utf8:

o using VM 3.9.2 from Feb 3, 2007 on win xp
o installed FreeType from the universe (great!)
o copied&pasted a character (U+2018) from the clipboard
o got the error notification (appended below)

 From here on the same error occurs also with alt-c even *from* a Squeak  
workspace :( The situation can only be cleared by quit and restart.

[cross-posted to v3dot10]

/Klaus


On Tue, 24 Jul 2007 20:26:05 +0200, Damien wrote:

> Squeak-dev image is an image made for squeak developers.
>
>
> *Important notice:* This version is based on Squeak 3.10 7130.
>
> You can download it here:
> http://damien.cassou.free.fr/squeak-dev/beta/
>
> This version contains a lot of new and exciting features:
...
----------------
Error: Invalid utf8 input detected
28 July 2007 11:56:51 am

VM: Win32 - a SmalltalkImage
Image: Squeak3.10beta [latest update: #7130]

SecurityManager state:
Restricted: false
FileAccess: true
SocketAccess: true
Working Dir ...\SqueakDev
Trusted Dir ...\SqueakDev\kWitzel
Untrusted Dir ...\kWitzel

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

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

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

UTF8TextConverter>>nextFromStream:
	Receiver: an UTF8TextConverter
	Arguments and temporary variables:
		aStream: 	a ReadStream 'Ô'
		character1: 	$Ô
		value1: 	212
		character2: 	nil
		value2: 	nil
		unicode: 	nil
		character3: 	nil
		value3: 	nil
		character4: 	nil
		value4: 	nil
	Receiver's instance variables:
		acceptingEncodings: 	nil
		currentCharSize: 	nil
		forceToEncodingTag: 	nil

ByteString(String)>>convertFromWithConverter:
	Receiver: 'Ô'
	Arguments and temporary variables:
		converter: 	an UTF8TextConverter
		readStream: 	a ReadStream 'Ô'
		writeStream: 	a WriteStream ''
		c: 	nil
	Receiver's instance variables:
'Ô'


--- The full stack ---
UTF8TextConverter(Object)>>error:
UTF8TextConverter>>errorMalformedInput
UTF8TextConverter>>nextFromStream:
ByteString(String)>>convertFromWithConverter:
  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ByteString(String)>>utf8ToSqueak
UTF8ClipboardInterpreter>>fromSystemClipboard:
Clipboard>>clipboardText
Clipboard class>>clipboardText
TextMorphEditor(ParagraphEditor)>>clipboardText
TextMorphEditor(ParagraphEditor)>>copySelection
[] in PluggableTextMorph>>copySelection {[textMorph editor copySelection]}
[] in PluggableTextMorph>>handleEdit: {[result := editBlock value]}
TextMorphForEditView(TextMorph)>>handleEdit:
PluggableTextMorph>>handleEdit:
PluggableTextMorph>>copySelection
FileList2(StringHolder)>>perform:orSendTo:
FileList2(FileList)>>perform:orSendTo:
[] 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:
WorldState>>doOneSubCycleFor:
PasteUpMorph>>doOneSubCycle
MenuMorph>>invokeModalAt:in:allowKeyboard:
MenuMorph>>invokeModal:
MenuMorph>>invokeModal
PluggableTextMorph>>yellowButtonActivity:
TextMorphForEditView>>mouseDown:
TextMorphForEditView(Morph)>>handleMouseDown:
MouseButtonEvent>>sentTo:
TextMorphForEditView(Morph)>>handleEvent:
MorphicEventDispatcher>>dispatchMouseDown:with:
MorphicEventDispatcher>>dispatchEvent:with:
TextMorphForEditView(Morph)>>processEvent:using:
MorphicEventDispatcher>>dispatchMouseDown:with:
-- and more not shown --




More information about the Squeak-dev mailing list