[squeak-dev] [BUG]UTF8TextConverter(Object)>>error:

Ralph Boland rpboland at gmail.com
Thu Jul 23 19:53:16 UTC 2009


I use Linux so, to make fileOuts readable, I modified method
FileStream>>concreteStream to:

      concreteStream
	     "Who should we really direct class queries to?  "
	     ^CrLfFileStream   			  "Original line:  ^ MultiByteFileStream."
			
				
Once I make this modification I cannot download packages from
SqueakMap Package Loader.
In this case I was downloading Shout but I have seen the same problem
with other packages.  When I undo the change things are fine again.
				
The same problem occurs if I try to install packages using Package
Universe Browser.


23 July 2009 1:25:56 pm

VM: unix - a SmalltalkImage
Image: Squeak3.10.2 [latest update: #7179]

SecurityManager state:
Restricted: false
FileAccess: true
SocketAccess: true
Working Dir /home/rocky/FastSets
Trusted Dir /home/rocky/FastSets/secure
Untrusted Dir /home/rocky/FastSets/My Squeak

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

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

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

UTF8TextConverter>>nextFromStream:
	Receiver: an UTF8TextConverter
	Arguments and temporary variables:
		aStream: 	MultiByteFileStream:
'/home/rocky/FastSets/sm/cache/packages/4o0oeyavg...etc...
		character1: 	$–
		value1: 	150
		character2: 	$∫
		value2: 	157
		unicode: 	nil
		character3: 	$È
		value3: 	200
		character4: 	nil
		value4: 	nil
	Receiver's instance variables:
		acceptingEncodings: 	nil
		currentCharSize: 	1
		forceToEncodingTag: 	nil

MultiByteFileStream>>next
	Receiver: MultiByteFileStream:
'/home/rocky/FastSets/sm/cache/packages/4o0oeyavg19me3y905b6ekjht/24/...etc...
	Arguments and temporary variables:
		char: 	nil
		secondChar: 	nil
		state: 	nil
	Receiver's instance variables:



--- The full stack ---
UTF8TextConverter(Object)>>error:
UTF8TextConverter>>errorMalformedInput
UTF8TextConverter>>nextFromStream:
MultiByteFileStream>>next
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
MultiByteFileStream>>detectLineEndConvention
MultiByteFileStream>>open:forWrite:
CrLfFileStream class(StandardFileStream class)>>readOnlyFileNamed:
UnixFileDirectory(FileDirectory)>>readOnlyFileNamed:
SARInstaller>>fileIn
[] in SMSARInstaller>>fileIn {[:installer |  (installer directory: dir
fileName: fileName) fileIn]}
SystemDictionary(Dictionary)>>at:ifPresentAndInMemory:
SMSARInstaller>>fileIn
SMSARInstaller>>install
[] in SMLoader>>installPackageRelease: {[(SMInstaller
forPackageRelease: aRelease) install.  myRelease = self instal...]}
BlockContext>>ensure:
CursorWithMask(Cursor)>>showWhile:
[] in SMLoader>>installPackageRelease: {[Cursor wait   showWhile:
[(SMInstaller forPackageRelease: aRelease) install...]}
BlockContext>>on:do:
SMLoader>>installPackageRelease:
SMLoader>>installPackageRelease
SMLoader>>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:
PasteUpMorph>>doOneCycle
[] in Project class>>spawnNewProcess {[[World doOneCycle.  Processor
yield.  false] whileFalse.  nil]}
[] in BlockContext>>newProcess {[self value.  Processor terminateActive]}



More information about the Squeak-dev mailing list