[Pharo-project] Unicode Problem (again) even with fix in 10266

Stéphane Ducasse stephane.ducasse at inria.fr
Sun Apr 5 14:47:51 EDT 2009


argh
Somethings strange happened.
Really strange since I rebuild the image fro 10263 all the time


On Apr 5, 2009, at 8:31 PM, Mariano Martinez Peck wrote:

> I have the same problem when trying to update 10264 trought system - 
> > software updates.  :(
>
>
>
> On Sun, Apr 5, 2009 at 9:39 AM, Stéphane Ducasse <stephane.ducasse at inria.fr 
> > wrote:
> I cannot release the fixes I was integrating
>
> UTF8DecomposedTextConverter>>nextFromStream: aStream
>
>        | char resultChar |
>        char := super nextFromStream: aStream.
>        (CombinedChar isCompositionCharacter: char charCode)
>                ifFalse: [^char].
>        combinedChar
>                ifNil: [
>                        combinedChar := CombinedChar new.
>                        combinedChar simpleAdd: char]
>                ifNotNil: [
>                        [combinedChar simpleAdd: char]
>                                whileFalse: [char := super  
> nextFromStream: aStream].
>                        resultChar := combinedChar combined.
>                        combinedChar := CombinedChar new.
>                        combinedChar simpleAdd: char.
>                        ^resultChar]
>
> char charCode -> DNU
> char is nil.
>
> Stef
>
> From: ddd
> To: Pharo-project at lists.gforge.inria.fr
> Subject: [BUG]UndefinedObject(Object)>>doesNotUnderstand: #charCode
>
> here insert explanation of what you were doing, suspect changes you've
> made and so forth.
>
> 5 April 2009 2:39:03 pm
>
> VM: Mac OS - a SmalltalkImage
> Image: Pharo0.1 [Latest update: #10266]
>
> SecurityManager state:
> Restricted: false
> FileAccess: true
> SocketAccess: true
> Working Dir /Users/ducasse/Workspace/FirstCircle/ActiveResearch/Pharo/
> Pharo
> Trusted Dir /foobar/tooBar/forSqueak/bogus
> Untrusted Dir /Users/ducasse/Library/Preferences/Squeak/Internet/My
> Squeak
>
> UndefinedObject(Object)>>doesNotUnderstand: #charCode
>        Receiver: nil
>        Arguments and temporary variables:
>                aMessage:       charCode
>                exception:      MessageNotUnderstood:  
> UndefinedObject>>charCode
>                resumeValue:    nil
>        Receiver's instance variables:
> nil
>
> UTF8DecomposedTextConverter>>nextFromStream:
>        Receiver: an UTF8DecomposedTextConverter
>        Arguments and temporary variables:
> <<error during printing>
>        Receiver's instance variables:
>                combinedChar:   nil
>
> MultiByteBinaryOrTextStream>>next
>        Receiver: <<error during printing>>
>        Arguments and temporary variables:
>                n:      nil
>        Receiver's instance variables:
>                collection:     '      '
>                position:       1
>                readLimit:      1
>                writeLimit:     6
>                isBinary:       true
>                converter:      an UTF8DecomposedTextConverter
>
> MultiByteBinaryOrTextStream>>upToEnd
>        Receiver: <<error during printing>>
>        Arguments and temporary variables:
>                newStream:      a WriteStream #[32]
>                element:        32
>                newCollection:  #[32 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0  
> 0 0 0 0 0 0 0 0
> 0 0 0 0 0 0...etc...
>        Receiver's instance variables:
>                collection:     '      '
>                position:       1
>                readLimit:      1
>                writeLimit:     6
>                isBinary:       true
>                converter:      an UTF8DecomposedTextConverter
>
>
> --- The full stack ---
> UndefinedObject(Object)>>doesNotUnderstand: #charCode
> UTF8DecomposedTextConverter>>nextFromStream:
> MultiByteBinaryOrTextStream>>next
> MultiByteBinaryOrTextStream>>upToEnd
>  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> MultiByteBinaryOrTextStream>>contents
> [] in  
> ByteString(String)>>encodeForHTTPWithTextEncoding:conditionBlock:
> ByteString(SequenceableCollection)>>do:
> ByteString(String)>>encodeForHTTPWithTextEncoding:conditionBlock:
> ByteString(String)>>encodeForHTTP
> MCHttpRepository>>urlForFileNamed:
> MCHttpRepository>>writeStreamForFileNamed:replace:do:
> MCHttpRepository(MCFileBasedRepository)>>writeStreamForFileNamed:do:
> MCHttpRepository(MCFileBasedRepository)>>basicStoreVersion:
> MCHttpRepository(MCRepository)>>storeVersion:
> [] in ScriptLoader>>copyPackagesFromWaitingFolderToHomeRepository
> OrderedCollection>>do:
> ScriptLoader>>copyPackagesFromWaitingFolderToHomeRepository
> ScriptLoader>>publishChanges
> ScriptLoader class>>DoIt
> Compiler>>evaluate:in:to:notifying:ifFail:logged:
> [] in TextMorphEditor(ParagraphEditor)>>evaluateSelection
> BlockClosure>>on:do:
> TextMorphEditor(ParagraphEditor)>>evaluateSelection
> TextMorphEditor(ParagraphEditor)>>doIt
> [] in TextMorphEditor(ParagraphEditor)>>doIt:
> TextMorphEditor(ParagraphEditor)>>terminateAndInitializeAround:
> TextMorphEditor(ParagraphEditor)>>doIt:
> TextMorphEditor(ParagraphEditor)>>dispatchOnKeyEvent:with:
> TextMorphEditor>>dispatchOnKeyEvent:with:
> TextMorphEditor(ParagraphEditor)>>keystroke:
> TextMorphEditor>>keystroke:
> [] in TextMorphForEditView(TextMorph)>>keyStroke:
> TextMorphForEditView(TextMorph)>>handleInteraction:
> TextMorphForEditView>>handleInteraction:
> TextMorphForEditView(TextMorph)>>keyStroke:
> TextMorphForEditView>>keyStroke:
> TextMorphForEditView(TextMorph)>>handleKeystroke:
> KeyboardEvent>>sentTo:
> TextMorphForEditView(Morph)>>handleEvent:
> TextMorphForEditView(Morph)>>handleFocusEvent:
> [] in HandMorph>>sendFocusEvent:to:clear:
> [] in PasteUpMorph>>becomeActiveDuring:
> BlockClosure>>on:do:
> PasteUpMorph>>becomeActiveDuring:
> HandMorph>>sendFocusEvent:to:clear:
> HandMorph>>sendEvent:focus:clear:
> HandMorph>>sendKeyboardEvent:
> HandMorph>>handleEvent:
> HandMorph>>processEvents
> [] in WorldState>>doOneCycleNowFor:
> Array(SequenceableCollection)>>do:
> WorldState>>handsDo:
> WorldState>>doOneCycleNowFor:
> WorldState>>doOneCycleFor:
> PasteUpMorph>>doOneCycle
> [] in Project class>>spawnNewProcess
> [] in BlockClosure>>newProcess
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project at lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project at lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project





More information about the Pharo-dev mailing list