[Pharo-project] Ecompletion in SuperOB
Hello, If I start from a core 10201, and apply updates to 10205, then do: ScriptLoader loadSuperOB, and then ScriptLoader loadEcompletion, Ecompletion works fine in a Workspace, but in an OB Code Pane reproducibly results in the stack trace below. Just wanted to let you know in case it has something to do with all the Morphic clean-up you are doing. Take care, Rob MessageNotUnderstood: TransformationMorph>>x:y: Proceed Abandon Debug Create TransformationMorph(Object)>>doesNotUnderstand: #x:y: ECMenuMorph>>createTitle ECMenuMorph>>setController:position: ECMenuMorph class>>controller:position: ECController>>openMenuFor: ECController>>handleKeystrokeBefore:editor: OBTextMorphWithShout(OBTextMorph)>>keyStroke: OBTextMorphWithShout(TextMorph)>>handleKeystroke: KeyboardEvent>>sentTo: OBTextMorphWithShout(Morph)>>handleEvent: OBTextMorphWithShout(Morph)>>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>>sendKeyboardEvent: HandMorph>>handleEvent: HandMorph>>processEvents TransformationMorph(Object)>>doesNotUnderstand: #x:y: ECMenuMorph>>createTitle ECMenuMorph>>setController:position: ECMenuMorph class>>controller:position: ECController>>openMenuFor: ECController>>handleKeystrokeBefore:editor: OBTextMorphWithShout(OBTextMorph)>>keyStroke: OBTextMorphWithShout(TextMorph)>>handleKeystroke: KeyboardEvent>>sentTo: OBTextMorphWithShout(Morph)>>handleEvent: OBTextMorphWithShout(Morph)>>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>>sendKeyboardEvent: HandMorph>>handleEvent: HandMorph>>processEvents
On Wed, Jan 14, 2009 at 4:50 AM, Rob Rothwell <r.j.rothwell@gmail.com> wrote:
Ecompletion works fine in a Workspace, but in an OB Code Pane reproducibly results in the stack trace below.
Just wanted to let you know in case it has something to do with all the Morphic clean-up you are doing.
It should work with the pharo dev image (newer version of eCompletion I guess). I don't understand why people keep using a core image and install the dev tools manually... I do that already for everyone. -- Damien Cassou http://damiencassou.seasidehosting.st
If I start from a core 10201, and apply updates to 10205, then do:
ScriptLoader loadSuperOB, and then ScriptLoader loadEcompletion,
Maybe this is because loadSuperOB already loads eCompletion along with extensions to make it work in OB. Probably what happens when you load eCompletion a second time in loadEcompletion is that these extensions get lost, which causes the problem. Just a guess. David
MessageNotUnderstood: TransformationMorph>>x:y: Proceed Abandon Debug Create TransformationMorph(Object)>>doesNotUnderstand: #x:y: ECMenuMorph>>createTitle ECMenuMorph>>setController:position: ECMenuMorph class>>controller:position: ECController>>openMenuFor: ECController>>handleKeystrokeBefore:editor: OBTextMorphWithShout(OBTextMorph)>>keyStroke: OBTextMorphWithShout(TextMorph)>>handleKeystroke: KeyboardEvent>>sentTo: OBTextMorphWithShout(Morph)>>handleEvent: OBTextMorphWithShout(Morph)>>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>>sendKeyboardEvent: HandMorph>>handleEvent: HandMorph>>processEvents
TransformationMorph(Object)>>doesNotUnderstand: #x:y: ECMenuMorph>>createTitle ECMenuMorph>>setController:position: ECMenuMorph class>>controller:position: ECController>>openMenuFor: ECController>>handleKeystrokeBefore:editor: OBTextMorphWithShout(OBTextMorph)>>keyStroke: OBTextMorphWithShout(TextMorph)>>handleKeystroke: KeyboardEvent>>sentTo: OBTextMorphWithShout(Morph)>>handleEvent: OBTextMorphWithShout(Morph)>>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>>sendKeyboardEvent: HandMorph>>handleEvent: HandMorph>>processEvents
------------------------------------------------------------------------
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
participants (3)
-
Damien Cassou -
David Röthlisberger -
Rob Rothwell