Re: [Metacello] Problem with ConfigurationOfGofer in Pharo1.0 [WAS] Re: ConfigurationOfGofer class

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

Re: [Metacello] Problem with ConfigurationOfGofer in Pharo1.0 [WAS] Re: ConfigurationOfGofer class

Dale
Mariano,

The Pharo-1.0.changes file looks to be corrupted. If you edit the the changes file and search for ConfigurationOfGofer here's what you see:

!ConfigurationOfGofer methodsFor: 'accessing' stamp: 'nk 3/5/2005 15:28'!
sNil! !

!ConfigurationOfGofer methodsFor: 'baselines'!
1 into: [:sum :each | sum * (self foo: each)]! !

!ConfigurationOfGofer methodsFor: 'versions'!
tring].
        ^string! !

!ConfigurationOfGofer methodsFor: 'versions'!
RefactoryTestDataApp methodsFor: 'inline'! !

!ConfigurationOfGofer methodsFor: 'versions'!
inlineComponent
        | a |
        a := 5.
        ^a class
                superclass;
                hasImmediateInstances;
                yourself! !

!ConfigurationOfGofer class methodsFor: 'accessing'!
h |
                        each printString.
                        ^anObject]! !

!ConfigurationOfGofer class methodsFor: 'loading'!
! !

!ConfigurationOfGofer class methodsFor: 'metacello tool support' stamp: 'md 3/14/2006 16:47'!
malltalk at: #MyTest
                ifAbsent:
                        [| collection |
                        collection := #().
                        Smalltalk at: #MyTest put: collection]! !

!ConfigurationOfGofer class methodsFor: 'metacello tool support'!
ng new! !

!ConfigurationOfGofer class methodsFor: 'metacello tool support'!
or: 'inline'! !

!ConfigurationOfGofer class methodsFor: 'private' stamp: 'DaleHenrichs 1/25/2010 13:14'!
bootstrapPackage: aString from: aPath
        | reposito
! !

!ConfigurationOfGofer class methodsFor: 'private'!
4:51'! !

So somehow the source was corrupted ... the compiled methods are correct since:

  ConfigurationOfGofer project versions

gives the correct answer. The source following ConfigurationOfGofer looks fine so I can't imagine how the source would have been corrupted especially since the methods were compiled correctly...

Dale

----- "Mariano Martinez Peck" <[hidden email]> wrote:

| wow...you are right....but I have NO idea how that could have been
| done.
|
| Adrian: look at the instance methods of the class ConfigurationOfGofer
| and
| you will notice what Erwann says.
|
| Dale, do you have an idea how this can be done ?  As I remember
| correctly, I
| just evaluated:
|
|
| Gofer new
|     squeaksource: 'MetacelloRepository';
|     package: 'ConfigurationOfPharo';
|     load.
|
| ((Smalltalk at: #ConfigurationOfPharo) project version: '1.0-10517')
| perform: #silently: with: true; perform: #load.
|
|
| to generate the Pharo1.0 dev image. This code will bootstrap Metacello
| and
| thus, install Gofer. Do you think there could be a problem there ?
|
| Thanks Erwann for reporting!  Open a bug ticket please.
|
| Cheers
|
| Mariano
|
| On Tue, Apr 20, 2010 at 4:52 PM, Adrian Lienhard
| <[hidden email]>wrote:
|
| > Hi Erwann
| >
| > What does scrambled mean?
| >
| > I cc-ed to Mariano, he may more quickly see whether there is
| something
| > wrong.
| >
| > Cheers,
| > Adrian
| >
| > ___________________
| > http://www.adrian-lienhard.ch/
| >
| > On Apr 20, 2010, at 16:34 , Erwann Wernli wrote:
| >
| > > "ConfigurationOfGofer class" seem scrambled in the download of
| Pharo 1.0
| > form the website -- don't know what happened or if it's only on my
| image.
| > >
| > > Erwann
| > >
| > >
| > >
| >
| >
|
|
| --
| Subscription settings:
| http://groups.google.com/group/metacello/subscribe?hl=en

_______________________________________________
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: [Metacello] Problem with ConfigurationOfGofer in Pharo1.0 [WAS] Re: ConfigurationOfGofer class

Mariano Martinez Peck
Thanks for the investigation Dale...now...suppose I want to fix it and I want to force to load gofer again. How can I do that ? because if I try to install it normally, it won't do it as it is already installed.

Thanks

Mariano

On Tue, Apr 20, 2010 at 6:21 PM, Dale Henrichs <[hidden email]> wrote:
Mariano,

The Pharo-1.0.changes file looks to be corrupted. If you edit the the changes file and search for ConfigurationOfGofer here's what you see:

!ConfigurationOfGofer methodsFor: 'accessing' stamp: 'nk 3/5/2005 15:28'!
sNil! !

!ConfigurationOfGofer methodsFor: 'baselines'!
1 into: [:sum :each | sum * (self foo: each)]! !

!ConfigurationOfGofer methodsFor: 'versions'!
tring].
       ^string! !

!ConfigurationOfGofer methodsFor: 'versions'!
RefactoryTestDataApp methodsFor: 'inline'! !

!ConfigurationOfGofer methodsFor: 'versions'!
inlineComponent
       | a |
       a := 5.
       ^a class
               superclass;
               hasImmediateInstances;
               yourself! !

!ConfigurationOfGofer class methodsFor: 'accessing'!
h |
                       each printString.
                       ^anObject]! !

!ConfigurationOfGofer class methodsFor: 'loading'!
! !

!ConfigurationOfGofer class methodsFor: 'metacello tool support' stamp: 'md 3/14/2006 16:47'!
malltalk at: #MyTest
               ifAbsent:
                       [| collection |
                       collection := #().
                       Smalltalk at: #MyTest put: collection]! !

!ConfigurationOfGofer class methodsFor: 'metacello tool support'!
ng new! !

!ConfigurationOfGofer class methodsFor: 'metacello tool support'!
or: 'inline'! !

!ConfigurationOfGofer class methodsFor: 'private' stamp: 'DaleHenrichs 1/25/2010 13:14'!
bootstrapPackage: aString from: aPath
       | reposito
! !

!ConfigurationOfGofer class methodsFor: 'private'!
4:51'! !

So somehow the source was corrupted ... the compiled methods are correct since:

 ConfigurationOfGofer project versions

gives the correct answer. The source following ConfigurationOfGofer looks fine so I can't imagine how the source would have been corrupted especially since the methods were compiled correctly...

Dale

----- "Mariano Martinez Peck" <[hidden email]> wrote:

| wow...you are right....but I have NO idea how that could have been
| done.
|
| Adrian: look at the instance methods of the class ConfigurationOfGofer
| and
| you will notice what Erwann says.
|
| Dale, do you have an idea how this can be done ?  As I remember
| correctly, I
| just evaluated:
|
|
| Gofer new
|     squeaksource: 'MetacelloRepository';
|     package: 'ConfigurationOfPharo';
|     load.
|
| ((Smalltalk at: #ConfigurationOfPharo) project version: '1.0-10517')
| perform: #silently: with: true; perform: #load.
|
|
| to generate the Pharo1.0 dev image. This code will bootstrap Metacello
| and
| thus, install Gofer. Do you think there could be a problem there ?
|
| Thanks Erwann for reporting!  Open a bug ticket please.
|
| Cheers
|
| Mariano
|
| On Tue, Apr 20, 2010 at 4:52 PM, Adrian Lienhard
| <[hidden email]>wrote:
|
| > Hi Erwann
| >
| > What does scrambled mean?
| >
| > I cc-ed to Mariano, he may more quickly see whether there is
| something
| > wrong.
| >
| > Cheers,
| > Adrian
| >
| > ___________________
| > http://www.adrian-lienhard.ch/
| >
| > On Apr 20, 2010, at 16:34 , Erwann Wernli wrote:
| >
| > > "ConfigurationOfGofer class" seem scrambled in the download of
| Pharo 1.0
| > form the website -- don't know what happened or if it's only on my
| image.
| > >
| > > Erwann
| > >
| > >
| > >
| >
| >
|
|
| --
| Subscription settings:
| http://groups.google.com/group/metacello/subscribe?hl=en


_______________________________________________
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: [Metacello] Problem with ConfigurationOfGofer in Pharo1.0 [WAS] Re: ConfigurationOfGofer class

Dale
Mariano,

Sorry for the delay in getting.....wait, I've already told you:)

You can safely unload and reload a configuration.

Dale
----- "Mariano Martinez Peck" <[hidden email]> wrote:

| Thanks for the investigation Dale...now...suppose I want to fix it and
| I
| want to force to load gofer again. How can I do that ? because if I
| try to
| install it normally, it won't do it as it is already installed.
|
| Thanks
|
| Mariano
|
| On Tue, Apr 20, 2010 at 6:21 PM, Dale Henrichs
| <[hidden email]>wrote:
|
| > Mariano,
| >
| > The Pharo-1.0.changes file looks to be corrupted. If you edit the
| the
| > changes file and search for ConfigurationOfGofer here's what you
| see:
| >
| > !ConfigurationOfGofer methodsFor: 'accessing' stamp: 'nk 3/5/2005
| 15:28'!
| > sNil! !
| >
| > !ConfigurationOfGofer methodsFor: 'baselines'!
| > 1 into: [:sum :each | sum * (self foo: each)]! !
| >
| > !ConfigurationOfGofer methodsFor: 'versions'!
| > tring].
| >        ^string! !
| >
| > !ConfigurationOfGofer methodsFor: 'versions'!
| > RefactoryTestDataApp methodsFor: 'inline'! !
| >
| > !ConfigurationOfGofer methodsFor: 'versions'!
| > inlineComponent
| >        | a |
| >        a := 5.
| >        ^a class
| >                superclass;
| >                hasImmediateInstances;
| >                yourself! !
| >
| > !ConfigurationOfGofer class methodsFor: 'accessing'!
| > h |
| >                        each printString.
| >                        ^anObject]! !
| >
| > !ConfigurationOfGofer class methodsFor: 'loading'!
| > ! !
| >
| > !ConfigurationOfGofer class methodsFor: 'metacello tool support'
| stamp: 'md
| > 3/14/2006 16:47'!
| > malltalk at: #MyTest
| >                ifAbsent:
| >                        [| collection |
| >                        collection := #().
| >                        Smalltalk at: #MyTest put: collection]! !
| >
| > !ConfigurationOfGofer class methodsFor: 'metacello tool support'!
| > ng new! !
| >
| > !ConfigurationOfGofer class methodsFor: 'metacello tool support'!
| > or: 'inline'! !
| >
| > !ConfigurationOfGofer class methodsFor: 'private' stamp:
| 'DaleHenrichs
| > 1/25/2010 13:14'!
| > bootstrapPackage: aString from: aPath
| >        | reposito
| > ! !
| >
| > !ConfigurationOfGofer class methodsFor: 'private'!
| > 4:51'! !
| >
| > So somehow the source was corrupted ... the compiled methods are
| correct
| > since:
| >
| >  ConfigurationOfGofer project versions
| >
| > gives the correct answer. The source following ConfigurationOfGofer
| looks
| > fine so I can't imagine how the source would have been corrupted
| especially
| > since the methods were compiled correctly...
| >
| > Dale
| >
| > ----- "Mariano Martinez Peck" <[hidden email]> wrote:
| >
| > | wow...you are right....but I have NO idea how that could have
| been
| > | done.
| > |
| > | Adrian: look at the instance methods of the class
| ConfigurationOfGofer
| > | and
| > | you will notice what Erwann says.
| > |
| > | Dale, do you have an idea how this can be done ?  As I remember
| > | correctly, I
| > | just evaluated:
| > |
| > |
| > | Gofer new
| > |     squeaksource: 'MetacelloRepository';
| > |     package: 'ConfigurationOfPharo';
| > |     load.
| > |
| > | ((Smalltalk at: #ConfigurationOfPharo) project version:
| '1.0-10517')
| > | perform: #silently: with: true; perform: #load.
| > |
| > |
| > | to generate the Pharo1.0 dev image. This code will bootstrap
| Metacello
| > | and
| > | thus, install Gofer. Do you think there could be a problem there
| ?
| > |
| > | Thanks Erwann for reporting!  Open a bug ticket please.
| > |
| > | Cheers
| > |
| > | Mariano
| > |
| > | On Tue, Apr 20, 2010 at 4:52 PM, Adrian Lienhard
| > | <[hidden email]>wrote:
| > |
| > | > Hi Erwann
| > | >
| > | > What does scrambled mean?
| > | >
| > | > I cc-ed to Mariano, he may more quickly see whether there is
| > | something
| > | > wrong.
| > | >
| > | > Cheers,
| > | > Adrian
| > | >
| > | > ___________________
| > | > http://www.adrian-lienhard.ch/
| > | >
| > | > On Apr 20, 2010, at 16:34 , Erwann Wernli wrote:
| > | >
| > | > > "ConfigurationOfGofer class" seem scrambled in the download
| of
| > | Pharo 1.0
| > | > form the website -- don't know what happened or if it's only on
| my
| > | image.
| > | > >
| > | > > Erwann
| > | > >
| > | > >
| > | > >
| > | >
| > | >
| > |
| > |
| > | --
| > | Subscription settings:
| > | http://groups.google.com/group/metacello/subscribe?hl=en
| >

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