Unicode Problem (again) even with fix in 10266

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Unicode Problem (again) even with fix in 10266

Stéphane Ducasse
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: [hidden email]
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
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Unicode Problem (again) even with fix in 10266

Stéphane Ducasse
I fixed it apparently the previous fix was not intergated correclty


On Apr 5, 2009, at 2:39 PM, Stéphane Ducasse 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: [hidden email]
> 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
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Unicode Problem (again) even with fix in 10266

Mariano Martinez Peck
In reply to this post by Stéphane Ducasse
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 <[hidden email]> 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: [hidden email]
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
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Unicode Problem (again) even with fix in 10266

Stéphane Ducasse
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 <[hidden email]
> > 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: [hidden email]
> 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
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Unicode Problem (again) even with fix in 10266

Stéphane Ducasse
In reply to this post by Mariano Martinez Peck
this is strange because I can update without problem from 10263

Stef

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 <[hidden email]
> > 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: [hidden email]
> 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
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Unicode Problem (again) even with fix in 10266

Mariano Martinez Peck


On Sun, Apr 5, 2009 at 3:49 PM, Stéphane Ducasse <[hidden email]> wrote:
this is strange because I can update without problem from 10263

Yes. I am updating from 10263 :( 

Perhaps I can try to download a new image instead of trying to update.
 


Stef

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 <[hidden email]
> > 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: [hidden email]
> 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
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Unicode Problem (again) even with fix in 10266

Stéphane Ducasse
I will release a new image soon.


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

>
>
> On Sun, Apr 5, 2009 at 3:49 PM, Stéphane Ducasse <[hidden email]
> > wrote:
> this is strange because I can update without problem from 10263
>
> Yes. I am updating from 10263 :(
>
> Perhaps I can try to download a new image instead of trying to update.
>
>
>
> Stef
>
> 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 <[hidden email]
> > > 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: [hidden email]
> > 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
> > [hidden email]
> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> >
> > _______________________________________________
> > Pharo-project mailing list
> > [hidden email]
> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Unicode Problem (again) even with fix in 10266

Mariano Martinez Peck


On Sun, Apr 5, 2009 at 4:10 PM, Stéphane Ducasse <[hidden email]> wrote:
I will release a new image soon.

Ok. Thanks a lot. I am not hurry
 


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

>
>
> On Sun, Apr 5, 2009 at 3:49 PM, Stéphane Ducasse <[hidden email]
> > wrote:
> this is strange because I can update without problem from 10263
>
> Yes. I am updating from 10263 :(
>
> Perhaps I can try to download a new image instead of trying to update.
>
>
>
> Stef
>
> 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 <[hidden email]
> > > 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: [hidden email]
> > 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
> > [hidden email]
> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> >
> > _______________________________________________
> > Pharo-project mailing list
> > [hidden email]
> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Unicode Problem (again) even with fix in 10266

Michael Rueger-6
In reply to this post by Stéphane Ducasse
Stéphane Ducasse wrote:
> this is strange because I can update without problem from 10263

The problem originates from the iteration over subclasses. Depending on
the exact state of the image the iteration can provided a different
order on different images.

If someone could come up with a better way than this automagic
allSubclasses configuration pattern, that would be most welcome.

Michael

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project