[Pharo-project] SmaccDev compatibility
Hello, I tried to load SmaccDev into the latest pharo image (pharo0.1-10289dev09.04.5) but it fails. See the stacktrace below. Is SmaccDev compatible with Pharo ? François Subject: [BUG]TabbedPalette(Object)>>doesNotUnderstand: #goToPageMorph:transitionSpec:runTransitionScripts: 25 April 2009 9:01 am VM: Mac OS - a SmalltalkImage Image: Pharo0.1 [Latest update: #10289] SecurityManager state: Restricted: false FileAccess: true SocketAccess: true Working Dir /Users/paco/Desktop/workspace/Pharo/SmallLang Trusted Dir /foobar/tooBar/forSqueak/bogus Untrusted Dir /Users/paco/Library/Preferences/Squeak/Internet/My Squeak TabbedPalette(Object)>>doesNotUnderstand: #goToPageMorph:transitionSpec:runTransitionScripts: Receiver: a TabbedPalette(1820) Arguments and temporary variables: aMessage: goToPageMorph: a Morph<Compile>(4067) transitionSpec: nil runTransiti...etc... exception: MessageNotUnderstood: TabbedPalette>>goToPageMorph:transitionSpec:ru...etc... resumeValue: nil Receiver's instance variables: bounds: 458@166 corner: 1198@513 owner: a SystemWindow(2689) submorphs: an Array(an IndexTabs(1173)) fullBounds: 458@166 corner: 1198@513 color: Color white extension: a MorphExtension (1950) [locked] [other: (layoutPolicy -> a TableL...etc... borderWidth: 0 borderColor: (Color r: 0.667 g: 0.667 b: 0.667) pageSize: 156@232 newPagePrototype: nil pages: an OrderedCollection(a PluggableTextMorph<Scanner>(2385) a PluggableText...etc... currentPage: a PluggableTextMorph<Scanner>(2385) tabsMorph: an IndexTabs(1173) Message>>sentTo: Receiver: goToPageMorph: a Morph<Compile>(4067) transitionSpec: nil runTransitionScripts: true Arguments and temporary variables: receiver: a TabbedPalette(1820) Receiver's instance variables: selector: #goToPageMorph:transitionSpec:runTransitionScripts: args: an Array(a Morph<Compile>(4067) nil true) lookupClass: TabbedPalette TabbedPalette(Object)>>doesNotUnderstand: #goToPageMorph:transitionSpec:runTransitionScripts: Receiver: a TabbedPalette(1820) Arguments and temporary variables: aMessage: goToPageMorph: a Morph<Compile>(4067) transitionSpec: nil runTransiti...etc... exception: MessageNotUnderstood: TabbedPalette>>goToPageMorph:transitionSpec:ru...etc... resumeValue: MessageNotUnderstood: TabbedPalette>>goToPageMorph:transitionSpec:...etc... Receiver's instance variables: bounds: 458@166 corner: 1198@513 owner: a SystemWindow(2689) submorphs: an Array(an IndexTabs(1173)) fullBounds: 458@166 corner: 1198@513 color: Color white extension: a MorphExtension (1950) [locked] [other: (layoutPolicy -> a TableL...etc... borderWidth: 0 borderColor: (Color r: 0.667 g: 0.667 b: 0.667) pageSize: 156@232 newPagePrototype: nil pages: an OrderedCollection(a PluggableTextMorph<Scanner>(2385) a PluggableText...etc... currentPage: a PluggableTextMorph<Scanner>(2385) tabsMorph: an IndexTabs(1173) TabbedPalette(BookMorph)>>goToPage:transitionSpec:runTransitionScripts: Receiver: a TabbedPalette(1820) Arguments and temporary variables: pageNumber: 3 transitionSpec: nil aBoolean: true pageMorph: a Morph<Compile>(4067) Receiver's instance variables: bounds: 458@166 corner: 1198@513 owner: a SystemWindow(2689) submorphs: an Array(an IndexTabs(1173)) fullBounds: 458@166 corner: 1198@513 color: Color white extension: a MorphExtension (1950) [locked] [other: (layoutPolicy -> a TableL...etc... borderWidth: 0 borderColor: (Color r: 0.667 g: 0.667 b: 0.667) pageSize: 156@232 newPagePrototype: nil pages: an OrderedCollection(a PluggableTextMorph<Scanner>(2385) a PluggableText...etc... currentPage: a PluggableTextMorph<Scanner>(2385) tabsMorph: an IndexTabs(1173) --- The full stack --- TabbedPalette(Object)>>doesNotUnderstand: #goToPageMorph:transitionSpec:runTransitionScripts: Message>>sentTo: TabbedPalette(Object)>>doesNotUnderstand: #goToPageMorph:transitionSpec:runTransitionScripts: TabbedPalette(BookMorph)>>goToPage:transitionSpec:runTransitionScripts: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TabbedPalette(BookMorph)>>goToPageMorph:runTransitionScripts: TabbedPalette(BookMorph)>>goToPageMorph: TabbedPalette>>selectTab: TabbedPalette>>selectTabNamed: SmaCCParserGenerator>>openInWorld SmaCCParserGenerator class>>open SmaCCParserGenerator class>>initialize MCMethodDefinition>>postloadOver: [] in [] in [] in MCPackageLoader>>basicLoad [] in [] in OrderedCollection(SequenceableCollection)>>do:displayingProgress: OrderedCollection(SequenceableCollection)>>withIndexDo: ...etc...
Apparently the bookmorph removal impacted Smacc UI because it used tab (which are of course subclasses of bookmorph of course!) Stef On Apr 25, 2009, at 8:07 AM, François Tanguy wrote:
Hello,
I tried to load SmaccDev into the latest pharo image (pharo0.1-10289dev09.04.5) but it fails. See the stacktrace below. Is SmaccDev compatible with Pharo ?
François
Subject: [BUG]TabbedPalette(Object)>>doesNotUnderstand: #goToPageMorph:transitionSpec:runTransitionScripts:
25 April 2009 9:01 am
VM: Mac OS - a SmalltalkImage Image: Pharo0.1 [Latest update: #10289]
SecurityManager state: Restricted: false FileAccess: true SocketAccess: true Working Dir /Users/paco/Desktop/workspace/Pharo/SmallLang Trusted Dir /foobar/tooBar/forSqueak/bogus Untrusted Dir /Users/paco/Library/Preferences/Squeak/Internet/My Squeak
TabbedPalette(Object)>>doesNotUnderstand: #goToPageMorph:transitionSpec:runTransitionScripts: Receiver: a TabbedPalette(1820) Arguments and temporary variables: aMessage: goToPageMorph: a Morph<Compile>(4067) transitionSpec: nil runTransiti...etc... exception: MessageNotUnderstood: TabbedPalette>>goToPageMorph:transitionSpec:ru...etc... resumeValue: nil Receiver's instance variables: bounds: 458@166 corner: 1198@513 owner: a SystemWindow(2689) submorphs: an Array(an IndexTabs(1173)) fullBounds: 458@166 corner: 1198@513 color: Color white extension: a MorphExtension (1950) [locked] [other: (layoutPolicy -> a TableL...etc... borderWidth: 0 borderColor: (Color r: 0.667 g: 0.667 b: 0.667) pageSize: 156@232 newPagePrototype: nil pages: an OrderedCollection(a PluggableTextMorph<Scanner>(2385) a PluggableText...etc... currentPage: a PluggableTextMorph<Scanner>(2385) tabsMorph: an IndexTabs(1173)
Message>>sentTo: Receiver: goToPageMorph: a Morph<Compile>(4067) transitionSpec: nil runTransitionScripts: true Arguments and temporary variables: receiver: a TabbedPalette(1820) Receiver's instance variables: selector: #goToPageMorph:transitionSpec:runTransitionScripts: args: an Array(a Morph<Compile>(4067) nil true) lookupClass: TabbedPalette
TabbedPalette(Object)>>doesNotUnderstand: #goToPageMorph:transitionSpec:runTransitionScripts: Receiver: a TabbedPalette(1820) Arguments and temporary variables: aMessage: goToPageMorph: a Morph<Compile>(4067) transitionSpec: nil runTransiti...etc... exception: MessageNotUnderstood: TabbedPalette>>goToPageMorph:transitionSpec:ru...etc... resumeValue: MessageNotUnderstood: TabbedPalette>>goToPageMorph:transitionSpec:...etc... Receiver's instance variables: bounds: 458@166 corner: 1198@513 owner: a SystemWindow(2689) submorphs: an Array(an IndexTabs(1173)) fullBounds: 458@166 corner: 1198@513 color: Color white extension: a MorphExtension (1950) [locked] [other: (layoutPolicy -> a TableL...etc... borderWidth: 0 borderColor: (Color r: 0.667 g: 0.667 b: 0.667) pageSize: 156@232 newPagePrototype: nil pages: an OrderedCollection(a PluggableTextMorph<Scanner>(2385) a PluggableText...etc... currentPage: a PluggableTextMorph<Scanner>(2385) tabsMorph: an IndexTabs(1173)
TabbedPalette (BookMorph)>>goToPage:transitionSpec:runTransitionScripts: Receiver: a TabbedPalette(1820) Arguments and temporary variables: pageNumber: 3 transitionSpec: nil aBoolean: true pageMorph: a Morph<Compile>(4067) Receiver's instance variables: bounds: 458@166 corner: 1198@513 owner: a SystemWindow(2689) submorphs: an Array(an IndexTabs(1173)) fullBounds: 458@166 corner: 1198@513 color: Color white extension: a MorphExtension (1950) [locked] [other: (layoutPolicy -> a TableL...etc... borderWidth: 0 borderColor: (Color r: 0.667 g: 0.667 b: 0.667) pageSize: 156@232 newPagePrototype: nil pages: an OrderedCollection(a PluggableTextMorph<Scanner>(2385) a PluggableText...etc... currentPage: a PluggableTextMorph<Scanner>(2385) tabsMorph: an IndexTabs(1173)
--- The full stack --- TabbedPalette(Object)>>doesNotUnderstand: #goToPageMorph:transitionSpec:runTransitionScripts: Message>>sentTo: TabbedPalette(Object)>>doesNotUnderstand: #goToPageMorph:transitionSpec:runTransitionScripts: TabbedPalette (BookMorph)>>goToPage:transitionSpec:runTransitionScripts: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TabbedPalette(BookMorph)>>goToPageMorph:runTransitionScripts: TabbedPalette(BookMorph)>>goToPageMorph: TabbedPalette>>selectTab: TabbedPalette>>selectTabNamed: SmaCCParserGenerator>>openInWorld SmaCCParserGenerator class>>open SmaCCParserGenerator class>>initialize MCMethodDefinition>>postloadOver: [] in [] in [] in MCPackageLoader>>basicLoad [] in [] in OrderedCollection(SequenceableCollection)>>do:displayingProgress: OrderedCollection(SequenceableCollection)>>withIndexDo: ...etc...
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
This is a problem of the ugly Morphic GUI SmaCC comes with. Unfortunately it uses BookMorph, that was removed from Pharo. I quickly patched the GUI in SmaCCDev-lr.20 to use Polymorph, it looks still ugly but at least should work. At some point we should put the GUI into a separate package and build something with OB. Cheers, Lukas 2009/4/25 François Tanguy <francois.tanguy@gmail.com>:
Hello, I tried to load SmaccDev into the latest pharo image (pharo0.1-10289dev09.04.5) but it fails. See the stacktrace below. Is SmaccDev compatible with Pharo ? François Subject: [BUG]TabbedPalette(Object)>>doesNotUnderstand: #goToPageMorph:transitionSpec:runTransitionScripts: 25 April 2009 9:01 am VM: Mac OS - a SmalltalkImage Image: Pharo0.1 [Latest update: #10289] SecurityManager state: Restricted: false FileAccess: true SocketAccess: true Working Dir /Users/paco/Desktop/workspace/Pharo/SmallLang Trusted Dir /foobar/tooBar/forSqueak/bogus Untrusted Dir /Users/paco/Library/Preferences/Squeak/Internet/My Squeak TabbedPalette(Object)>>doesNotUnderstand: #goToPageMorph:transitionSpec:runTransitionScripts: Receiver: a TabbedPalette(1820) Arguments and temporary variables: aMessage: goToPageMorph: a Morph<Compile>(4067) transitionSpec: nil runTransiti...etc... exception: MessageNotUnderstood: TabbedPalette>>goToPageMorph:transitionSpec:ru...etc... resumeValue: nil Receiver's instance variables: bounds: 458@166 corner: 1198@513 owner: a SystemWindow(2689) submorphs: an Array(an IndexTabs(1173)) fullBounds: 458@166 corner: 1198@513 color: Color white extension: a MorphExtension (1950) [locked]  [other:  (layoutPolicy -> a TableL...etc... borderWidth: 0 borderColor: (Color r: 0.667 g: 0.667 b: 0.667) pageSize: 156@232 newPagePrototype: nil pages: an OrderedCollection(a PluggableTextMorph<Scanner>(2385) a PluggableText...etc... currentPage: a PluggableTextMorph<Scanner>(2385) tabsMorph: an IndexTabs(1173) Message>>sentTo: Receiver: goToPageMorph: a Morph<Compile>(4067) transitionSpec: nil runTransitionScripts: true Arguments and temporary variables: receiver: a TabbedPalette(1820) Receiver's instance variables: selector: #goToPageMorph:transitionSpec:runTransitionScripts: args: an Array(a Morph<Compile>(4067) nil true) lookupClass: TabbedPalette TabbedPalette(Object)>>doesNotUnderstand: #goToPageMorph:transitionSpec:runTransitionScripts: Receiver: a TabbedPalette(1820) Arguments and temporary variables: aMessage: goToPageMorph: a Morph<Compile>(4067) transitionSpec: nil runTransiti...etc... exception: MessageNotUnderstood: TabbedPalette>>goToPageMorph:transitionSpec:ru...etc... resumeValue: MessageNotUnderstood: TabbedPalette>>goToPageMorph:transitionSpec:...etc... Receiver's instance variables: bounds: 458@166 corner: 1198@513 owner: a SystemWindow(2689) submorphs: an Array(an IndexTabs(1173)) fullBounds: 458@166 corner: 1198@513 color: Color white extension: a MorphExtension (1950) [locked]  [other:  (layoutPolicy -> a TableL...etc... borderWidth: 0 borderColor: (Color r: 0.667 g: 0.667 b: 0.667) pageSize: 156@232 newPagePrototype: nil pages: an OrderedCollection(a PluggableTextMorph<Scanner>(2385) a PluggableText...etc... currentPage: a PluggableTextMorph<Scanner>(2385) tabsMorph: an IndexTabs(1173) TabbedPalette(BookMorph)>>goToPage:transitionSpec:runTransitionScripts: Receiver: a TabbedPalette(1820) Arguments and temporary variables: pageNumber: 3 transitionSpec: nil aBoolean: true pageMorph: a Morph<Compile>(4067) Receiver's instance variables: bounds: 458@166 corner: 1198@513 owner: a SystemWindow(2689) submorphs: an Array(an IndexTabs(1173)) fullBounds: 458@166 corner: 1198@513 color: Color white extension: a MorphExtension (1950) [locked]  [other:  (layoutPolicy -> a TableL...etc... borderWidth: 0 borderColor: (Color r: 0.667 g: 0.667 b: 0.667) pageSize: 156@232 newPagePrototype: nil pages: an OrderedCollection(a PluggableTextMorph<Scanner>(2385) a PluggableText...etc... currentPage: a PluggableTextMorph<Scanner>(2385) tabsMorph: an IndexTabs(1173)
--- The full stack --- TabbedPalette(Object)>>doesNotUnderstand: #goToPageMorph:transitionSpec:runTransitionScripts: Message>>sentTo: TabbedPalette(Object)>>doesNotUnderstand: #goToPageMorph:transitionSpec:runTransitionScripts: TabbedPalette(BookMorph)>>goToPage:transitionSpec:runTransitionScripts: Â - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TabbedPalette(BookMorph)>>goToPageMorph:runTransitionScripts: TabbedPalette(BookMorph)>>goToPageMorph: TabbedPalette>>selectTab: TabbedPalette>>selectTabNamed: SmaCCParserGenerator>>openInWorld SmaCCParserGenerator class>>open SmaCCParserGenerator class>>initialize MCMethodDefinition>>postloadOver: [] in [] in [] in MCPackageLoader>>basicLoad [] in [] in OrderedCollection(SequenceableCollection)>>do:displayingProgress: OrderedCollection(SequenceableCollection)>>withIndexDo: ...etc...
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Lukas Renggli http://www.lukas-renggli.ch
participants (3)
-
François Tanguy -
Lukas Renggli -
Stéphane Ducasse