Hi Dale,
I thought you'd be very interested in this: looks like some Newspeak folk need to use Metacello! (Ryan Macnak suggested a workaround in the meantime: SystemVersion newVersion: 'Squeak4.3 of 22 December 2011 update 11860'.) frank ---------- Forwarded message ---------- From: pduti <[hidden email]> Date: 24 September 2012 22:17 Subject: Fuel To: [hidden email] Hi, I'm checking out to see if I can port Fuel to Newspeak. The first step is loading Fuel into the image and then create a NSFuel. But I even can't load fuel into the image :-( I go to console, open a Monticello browser, add the following http repository MCHttpRepository location: 'http://ss3.gemstone.com/ss/Fuel' user: '' password: '' Then I open that repository and load ConfigurationOfFuel. Then I execute the following in a squeak workspace : ((Smalltalk at: #ConfigurationOfFuel) project version: #stable) load. This gives the error : Unrecognized version of Squeak/Pharo: nsboot-2012-09-02 Windows 7, 64 bit System Version : nsboot-2012-09-02 of 2 September 2012 VM Version : Newspeak Virtual Machine CoInterpreter_VMMaker.oscog-eem.203 VM: Win32 version 6.1 - Smalltalk VM Name: Newspeak Virtual Machine CoInterpreter_VMMaker.oscog-eem.203 Image: nsboot-2012-09-02 [latest update: #11860] SecurityManager state: Restricted: false FileAccess: true SocketAccess: true Working Dir T:\NewSpeakImages\Original\2012-09-02 Trusted Dir T:\NewSpeakImages\Original\2012-09-02\Pascal Untrusted Dir C:\Users\Pascal\Documents\My Squeak MetacelloPlatform(Object)>>error: Receiver: a MetacelloPlatform Arguments and temporary variables: aString: 'Unrecognized version of Squeak/Pharo: nsboot-2012-09-02' Receiver's instance variables: bypassProgressBars: nil bypassGoferLoadUpdateCategories: nil [] in MetacelloPlatform>>defaultPlatformAttributes Receiver: a MetacelloPlatform Arguments and temporary variables: versionString: SystemVersion cl: #('nsboot-2012-09-02') Receiver's instance variables: bypassProgressBars: nil bypassGoferLoadUpdateCategories: nil SystemDictionary(Dictionary)>>at:ifPresent: Receiver: Smalltalk globals "a SystemDictionary with lots of globals" Arguments and temporary variables: key: #SystemVersion aBlock: [closure] in MetacelloPlatform>>defaultPlatformAttributes v: SystemVersion Receiver's instance variables: tally: 1861 array: {nil . #ObjectiveCAlien->ObjectiveCAlien . nil . nil . #WCharAlien->WCha...etc... cachedClassNames: an OrderedCollection(#AColorSelectorMorph #ADPCMCodec #AIFFFi...etc... cachedNonClassNames: an OrderedCollection(#APIManager #ActivationMirrors #Activ...etc... SmalltalkImage>>at:ifPresent: Receiver: Smalltalk Arguments and temporary variables: key: #SystemVersion aBlock: [closure] in MetacelloPlatform>>defaultPlatformAttributes Receiver's instance variables: globals: Smalltalk globals "a SystemDictionary with lots of globals" MetacelloPlatform>>defaultPlatformAttributes Receiver: a MetacelloPlatform Arguments and temporary variables: versionString: #('nsboot-2012-09-02') Receiver's instance variables: bypassProgressBars: nil bypassGoferLoadUpdateCategories: nil MetacelloMCProject(MetacelloProject)>>defaultPlatformAttributes Receiver: MetacelloMCProject() Arguments and temporary variables: Receiver's instance variables: versionMap: nil symbolicVersionMap: nil loader: nil loaderClass: nil loadType: nil configuration: MetacelloMCProject() projectAttributes: nil |
Hi. I don't have permissions to post in newspeak. But as far as I know, Eliot already migrated Fuel long time ago to Newspeak.
It is a very old version of Fuel (1.4, and right now the latest stable is 1.8), but it worked. Since we used Traits (at that point) for a very few tests, I remember Eliot needed to do a flatten fileout first... In Fuel 1.8 we do not use Traits at all in the core, so it should be even easier to port.
As Frank pointed out, I guess the guy couldn't load Fuel just because there wasn't a stable version for Squeak. Anyway, you can just try by doing (ConfigurationOfFuel project version: '1.8') load.
I would be happy if someone wants to port Fuel 1.8 to Newspeak. Cheers,
On Tue, Sep 25, 2012 at 12:05 PM, Frank Shearar <[hidden email]> wrote: Hi Dale, Mariano http://marianopeck.wordpress.com |
In reply to this post by Frank Shearar-3
Frank,
That would be interesting if they started using Metacello:) Dale ----- Original Message ----- | From: "Frank Shearar" <[hidden email]> | To: [hidden email] | Sent: Tuesday, September 25, 2012 3:05:12 AM | Subject: [Metacello] Fwd: Fuel | | Hi Dale, | | I thought you'd be very interested in this: looks like some Newspeak | folk need to use Metacello! | | (Ryan Macnak suggested a workaround in the meantime: SystemVersion | newVersion: 'Squeak4.3 of 22 December 2011 update 11860'.) | | frank | | ---------- Forwarded message ---------- | From: pduti <[hidden email]> | Date: 24 September 2012 22:17 | Subject: Fuel | To: [hidden email] | | | Hi, I'm checking out to see if I can port Fuel to Newspeak. The | first | step is loading Fuel into the image and then create a NSFuel. But I | even can't load fuel into the image :-( | | I go to console, open a Monticello browser, add the following http | repository | | MCHttpRepository | location: 'http://ss3.gemstone.com/ss/Fuel' | user: '' | password: '' | | | Then I open that repository and load ConfigurationOfFuel. | | Then I execute the following in a squeak workspace : | | ((Smalltalk at: #ConfigurationOfFuel) project version: #stable) | load. | | This gives the error : Unrecognized version of Squeak/Pharo: | nsboot-2012-09-02 | | Windows 7, 64 bit | System Version : nsboot-2012-09-02 of 2 September 2012 | VM Version : Newspeak Virtual Machine | CoInterpreter_VMMaker.oscog-eem.203 | | VM: Win32 version 6.1 - Smalltalk | VM Name: Newspeak Virtual Machine CoInterpreter_VMMaker.oscog-eem.203 | Image: nsboot-2012-09-02 [latest update: #11860] | | SecurityManager state: | Restricted: false | FileAccess: true | SocketAccess: true | Working Dir T:\NewSpeakImages\Original\2012-09-02 | Trusted Dir T:\NewSpeakImages\Original\2012-09-02\Pascal | Untrusted Dir C:\Users\Pascal\Documents\My Squeak | | MetacelloPlatform(Object)>>error: | Receiver: a MetacelloPlatform | Arguments and temporary variables: | aString: 'Unrecognized version of Squeak/Pharo: nsboot-2012-09-02' | Receiver's instance variables: | bypassProgressBars: nil | bypassGoferLoadUpdateCategories: nil | | [] in MetacelloPlatform>>defaultPlatformAttributes | Receiver: a MetacelloPlatform | Arguments and temporary variables: | versionString: SystemVersion | cl: #('nsboot-2012-09-02') | Receiver's instance variables: | bypassProgressBars: nil | bypassGoferLoadUpdateCategories: nil | | SystemDictionary(Dictionary)>>at:ifPresent: | Receiver: Smalltalk globals "a SystemDictionary with lots of globals" | Arguments and temporary variables: | key: #SystemVersion | aBlock: [closure] in MetacelloPlatform>>defaultPlatformAttributes | v: SystemVersion | Receiver's instance variables: | tally: 1861 | array: {nil . #ObjectiveCAlien->ObjectiveCAlien . nil . nil . | #WCharAlien->WCha...etc... | cachedClassNames: an OrderedCollection(#AColorSelectorMorph | #ADPCMCodec #AIFFFi...etc... | cachedNonClassNames: an OrderedCollection(#APIManager | #ActivationMirrors #Activ...etc... | | SmalltalkImage>>at:ifPresent: | Receiver: Smalltalk | Arguments and temporary variables: | key: #SystemVersion | aBlock: [closure] in MetacelloPlatform>>defaultPlatformAttributes | Receiver's instance variables: | globals: Smalltalk globals "a SystemDictionary with lots of globals" | | MetacelloPlatform>>defaultPlatformAttributes | Receiver: a MetacelloPlatform | Arguments and temporary variables: | versionString: #('nsboot-2012-09-02') | Receiver's instance variables: | bypassProgressBars: nil | bypassGoferLoadUpdateCategories: nil | | MetacelloMCProject(MetacelloProject)>>defaultPlatformAttributes | Receiver: MetacelloMCProject() | Arguments and temporary variables: | | Receiver's instance variables: | versionMap: nil | symbolicVersionMap: nil | loader: nil | loaderClass: nil | loadType: nil | configuration: MetacelloMCProject() | projectAttributes: nil | |
Free forum by Nabble | Edit this page |