Issue with gofer/metacello

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

Issue with gofer/metacello

Alexandre Bergel
Hi!

Last week, the following expression was used to load Mondrian.
Gofer new squeaksource: 'Mondrian'; addPackage:  
'ConfigurationOfMondrian'; load. (Smalltalk at:  
#ConfigurationOfMondrian) perform: #loadLastStable.

With the last version of Pharo (10502), I get few deprecation warnings  
(package: should be used instead of addPackage: and version: instead  
of addVersion:).

After proceeding these warnings, I have a rollback: MNU  
GoferPackageReference class>>name:repository:

Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






_______________________________________________
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: Issue with gofer/metacello

Geert Claes
Administrator

Alexandre Bergel wrote
With the last version of Pharo (10502), I get few deprecation warnings  
(package: should be used instead of addPackage: and version: instead  
of addVersion:).
Similar issues when trying to load Moose with the last version of Pharo (addPackage, data was late?, addVersion followed by a message not understood)
Reply | Threaded
Open this post in threaded view
|

Re: Issue with gofer/metacello

Lukas Renggli
In reply to this post by Alexandre Bergel
> After proceeding these warnings, I have a rollback: MNU
> GoferPackageReference class>>name:repository:

Can you evaluate

   [ Gofer gofer load ]
       on: Error
       do: [ :err | err retry ].
   Gofer gofer recompile.

? I don't have any senders of #name:repository: to GoferPackageReference.

Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch

_______________________________________________
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: Issue with gofer/metacello

Alexandre Bergel
Hi Lukas,

In a fresh 10502 I evaluated:
-=-=-=-=-=-=-=-=-=
  [ Gofer gofer load ]
       on: Error
       do: [ :err | err retry ].
   Gofer gofer recompile.
Gofer new
        squeaksource: 'Mondrian';
        addPackage: 'ConfigurationOfMondrian';
        load.
(Smalltalk at: #ConfigurationOfMondrian) perform: #loadLastStable.
-=-=-=-=-=-=-=-=-=

I have the same error.
The error comes from:

-=-=-=-=-=-=-=-=-=
MetacelloMCProject>>updateProject
        "load the latest version of the configuration package"
       
        | mcLoader |
        (mcLoader := self loader) == nil
                                ifTrue: [ mcLoader := self project loaderClass on: nil ].
        mcLoader doingLoads: [
                | gofer |
                gofer := Gofer new.
                MCWorkingCopy
                        managersForClass: self configuration class
                        do: [:mgr |
                                gofer add: (GoferPackageReference name: mgr packageName  
repository: mgr repositoryGroup) versionReference.
                                Transcript cr; show: 'Loading -> ', mgr packageName, ' <-' ].
                gofer load ].
        ^true
-=-=-=-=-=-=-=-=-=

Cheers,
Alexandre

On 27 Dec 2009, at 17:27, Lukas Renggli wrote:

>> After proceeding these warnings, I have a rollback: MNU
>> GoferPackageReference class>>name:repository:
>
> Can you evaluate
>
>   [ Gofer gofer load ]
>       on: Error
>       do: [ :err | err retry ].
>   Gofer gofer recompile.
>
> ? I don't have any senders of #name:repository: to  
> GoferPackageReference.
>
> Lukas
>
> --
> Lukas Renggli
> http://www.lukas-renggli.ch
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






_______________________________________________
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: Issue with gofer/metacello

Tudor Girba
Hi,

The problem is that Metacello is not quite working with the latest  
Gofer.

Cheers,
Doru


On 27 Dec 2009, at 17:39, Alexandre Bergel wrote:

> Hi Lukas,
>
> In a fresh 10502 I evaluated:
> -=-=-=-=-=-=-=-=-=
>  [ Gofer gofer load ]
>       on: Error
>       do: [ :err | err retry ].
>   Gofer gofer recompile.
> Gofer new
> squeaksource: 'Mondrian';
> addPackage: 'ConfigurationOfMondrian';
> load.
> (Smalltalk at: #ConfigurationOfMondrian) perform: #loadLastStable.
> -=-=-=-=-=-=-=-=-=
>
> I have the same error.
> The error comes from:
>
> -=-=-=-=-=-=-=-=-=
> MetacelloMCProject>>updateProject
> "load the latest version of the configuration package"
>
> | mcLoader |
> (mcLoader := self loader) == nil
> ifTrue: [ mcLoader := self project loaderClass on: nil ].
> mcLoader doingLoads: [
> | gofer |
> gofer := Gofer new.
> MCWorkingCopy
> managersForClass: self configuration class
> do: [:mgr |
> gofer add: (GoferPackageReference name: mgr packageName
> repository: mgr repositoryGroup) versionReference.
> Transcript cr; show: 'Loading -> ', mgr packageName, ' <-' ].
> gofer load ].
> ^true
> -=-=-=-=-=-=-=-=-=
>
> Cheers,
> Alexandre
>
> On 27 Dec 2009, at 17:27, Lukas Renggli wrote:
>
>>> After proceeding these warnings, I have a rollback: MNU
>>> GoferPackageReference class>>name:repository:
>>
>> Can you evaluate
>>
>>  [ Gofer gofer load ]
>>      on: Error
>>      do: [ :err | err retry ].
>>  Gofer gofer recompile.
>>
>> ? I don't have any senders of #name:repository: to
>> GoferPackageReference.
>>
>> Lukas
>>
>> --
>> Lukas Renggli
>> http://www.lukas-renggli.ch
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

--
www.tudorgirba.com

"From an abstract enough point of view, any two things are similar."




_______________________________________________
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: Issue with gofer/metacello

Ramiro Diaz Trepat-2
I get problems trying to load Seaside30 using

[Gofer new
     squeaksource: 'Seaside30';
     package: 'LoadOrderTests';
     load]
       valueSupplyingAnswers: {
                        {'Load Seaside'. true}.
                        {'SqueakSource User Name'. ''}.
                        {'SqueakSource Password'. ''}.
                        {'Run tests'. false}}.

The problems seem to be related to _ used in some tests instead of :=

For the same reason I seem to be unable to load Magma now.

Is there a script to migrate underscore assignment to :=  ?


Cheers





On Sun, Dec 27, 2009 at 5:35 PM, Tudor Girba <[hidden email]> wrote:
Hi,

The problem is that Metacello is not quite working with the latest
Gofer.

Cheers,
Doru


On 27 Dec 2009, at 17:39, Alexandre Bergel wrote:

> Hi Lukas,
>
> In a fresh 10502 I evaluated:
> -=-=-=-=-=-=-=-=-=
>  [ Gofer gofer load ]
>       on: Error
>       do: [ :err | err retry ].
>   Gofer gofer recompile.
> Gofer new
>       squeaksource: 'Mondrian';
>       addPackage: 'ConfigurationOfMondrian';
>       load.
> (Smalltalk at: #ConfigurationOfMondrian) perform: #loadLastStable.
> -=-=-=-=-=-=-=-=-=
>
> I have the same error.
> The error comes from:
>
> -=-=-=-=-=-=-=-=-=
> MetacelloMCProject>>updateProject
>       "load the latest version of the configuration package"
>
>       | mcLoader |
>       (mcLoader := self loader) == nil
>                               ifTrue: [ mcLoader := self project loaderClass on: nil ].
>       mcLoader doingLoads: [
>               | gofer |
>               gofer := Gofer new.
>               MCWorkingCopy
>                       managersForClass: self configuration class
>                       do: [:mgr |
>                               gofer add: (GoferPackageReference name: mgr packageName
> repository: mgr repositoryGroup) versionReference.
>                               Transcript cr; show: 'Loading -> ', mgr packageName, ' <-' ].
>               gofer load ].
>       ^true
> -=-=-=-=-=-=-=-=-=
>
> Cheers,
> Alexandre
>
> On 27 Dec 2009, at 17:27, Lukas Renggli wrote:
>
>>> After proceeding these warnings, I have a rollback: MNU
>>> GoferPackageReference class>>name:repository:
>>
>> Can you evaluate
>>
>>  [ Gofer gofer load ]
>>      on: Error
>>      do: [ :err | err retry ].
>>  Gofer gofer recompile.
>>
>> ? I don't have any senders of #name:repository: to
>> GoferPackageReference.
>>
>> Lukas
>>
>> --
>> Lukas Renggli
>> http://www.lukas-renggli.ch
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

--
www.tudorgirba.com

"From an abstract enough point of view, any two things are similar."




_______________________________________________
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: [Metacello] Re: Issue with gofer/metacello

Dale
In reply to this post by Tudor Girba
Doru,

Have you tried 1.0-beta.18 with the "latest gofer"?

Dale
----- "Tudor Girba" <[hidden email]> wrote:

| Hi,
|
| The problem is that Metacello is not quite working with the latest  
| Gofer.
|
| Cheers,
| Doru
|
|
| On 27 Dec 2009, at 17:39, Alexandre Bergel wrote:
|
| > Hi Lukas,
| >
| > In a fresh 10502 I evaluated:
| > -=-=-=-=-=-=-=-=-=
| >  [ Gofer gofer load ]
| >       on: Error
| >       do: [ :err | err retry ].
| >   Gofer gofer recompile.
| > Gofer new
| > squeaksource: 'Mondrian';
| > addPackage: 'ConfigurationOfMondrian';
| > load.
| > (Smalltalk at: #ConfigurationOfMondrian) perform: #loadLastStable.
| > -=-=-=-=-=-=-=-=-=
| >
| > I have the same error.
| > The error comes from:
| >
| > -=-=-=-=-=-=-=-=-=
| > MetacelloMCProject>>updateProject
| > "load the latest version of the configuration package"
| >
| > | mcLoader |
| > (mcLoader := self loader) == nil
| > ifTrue: [ mcLoader := self project loaderClass on: nil ].
| > mcLoader doingLoads: [
| > | gofer |
| > gofer := Gofer new.
| > MCWorkingCopy
| > managersForClass: self configuration class
| > do: [:mgr |
| > gofer add: (GoferPackageReference name: mgr packageName
| > repository: mgr repositoryGroup) versionReference.
| > Transcript cr; show: 'Loading -> ', mgr packageName, ' <-' ].
| > gofer load ].
| > ^true
| > -=-=-=-=-=-=-=-=-=
| >
| > Cheers,
| > Alexandre
| >
| > On 27 Dec 2009, at 17:27, Lukas Renggli wrote:
| >
| >>> After proceeding these warnings, I have a rollback: MNU
| >>> GoferPackageReference class>>name:repository:
| >>
| >> Can you evaluate
| >>
| >>  [ Gofer gofer load ]
| >>      on: Error
| >>      do: [ :err | err retry ].
| >>  Gofer gofer recompile.
| >>
| >> ? I don't have any senders of #name:repository: to
| >> GoferPackageReference.
| >>
| >> Lukas
| >>
| >> --
| >> Lukas Renggli
| >> http://www.lukas-renggli.ch
| >>
| >> _______________________________________________
| >> Pharo-project mailing list
| >> [hidden email]
| >>
| http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
| >>
| >
| > --
| > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
| > Alexandre Bergel  http://www.bergel.eu
| > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
| >
| >
| >
| >
| >
| >
| > _______________________________________________
| > Pharo-project mailing list
| > [hidden email]
| > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
|
| --
| www.tudorgirba.com
|
| "From an abstract enough point of view, any two things are similar."

_______________________________________________
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: Issue with gofer/metacello

Dale
In reply to this post by Alexandre Bergel
Version 1.0-beta.18 (development) should have fixes for the latest Gofer. 1.0-beta.18 is currently in #development so it is automatically loaded. When I get the chance to test the Metacello fixes with 10502, I'll #release 1.0-beta.18 (and will be automatically loaded).

Dale
----- "Alexandre Bergel" <[hidden email]> wrote:

| Hi Lukas,
|
| In a fresh 10502 I evaluated:
| -=-=-=-=-=-=-=-=-=
|   [ Gofer gofer load ]
|        on: Error
|        do: [ :err | err retry ].
|    Gofer gofer recompile.
| Gofer new
| squeaksource: 'Mondrian';
| addPackage: 'ConfigurationOfMondrian';
| load.
| (Smalltalk at: #ConfigurationOfMondrian) perform: #loadLastStable.
| -=-=-=-=-=-=-=-=-=
|
| I have the same error.
| The error comes from:
|
| -=-=-=-=-=-=-=-=-=
| MetacelloMCProject>>updateProject
| "load the latest version of the configuration package"
|
| | mcLoader |
| (mcLoader := self loader) == nil
| ifTrue: [ mcLoader := self project loaderClass on: nil ].
| mcLoader doingLoads: [
| | gofer |
| gofer := Gofer new.
| MCWorkingCopy
| managersForClass: self configuration class
| do: [:mgr |
| gofer add: (GoferPackageReference name: mgr packageName  
| repository: mgr repositoryGroup) versionReference.
| Transcript cr; show: 'Loading -> ', mgr packageName, ' <-' ].
| gofer load ].
| ^true
| -=-=-=-=-=-=-=-=-=
|
| Cheers,
| Alexandre
|
| On 27 Dec 2009, at 17:27, Lukas Renggli wrote:
|
| >> After proceeding these warnings, I have a rollback: MNU
| >> GoferPackageReference class>>name:repository:
| >
| > Can you evaluate
| >
| >   [ Gofer gofer load ]
| >       on: Error
| >       do: [ :err | err retry ].
| >   Gofer gofer recompile.
| >
| > ? I don't have any senders of #name:repository: to  
| > GoferPackageReference.
| >
| > Lukas
| >
| > --
| > Lukas Renggli
| > http://www.lukas-renggli.ch
| >
| > _______________________________________________
| > Pharo-project mailing list
| > [hidden email]
| > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
| >
|
| --
| _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
| Alexandre Bergel  http://www.bergel.eu
| ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
|
|
|
|
|
|
| _______________________________________________
| 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: Issue with gofer/metacello

Lukas Renggli
In reply to this post by Ramiro Diaz Trepat-2
> I get problems trying to load Seaside30 using
> [Gofer new
>      squeaksource: 'Seaside30';
>      package: 'LoadOrderTests';
>      load]
>        valueSupplyingAnswers: {
>                         {'Load Seaside'. true}.
>                         {'SqueakSource User Name'. ''}.
>                         {'SqueakSource Password'. ''}.
>                         {'Run tests'. false}}.

You shouldn't use Pharo 1.1 for Seaside 3.0. It is very unlikely to work.

Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch

_______________________________________________
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: Issue with gofer/metacello

Alexandre Bergel
In reply to this post by Dale
Ok. Thanks,

Alexandre


On 27 Dec 2009, at 20:14, Dale Henrichs wrote:

> Version 1.0-beta.18 (development) should have fixes for the latest  
> Gofer. 1.0-beta.18 is currently in #development so it is  
> automatically loaded. When I get the chance to test the Metacello  
> fixes with 10502, I'll #release 1.0-beta.18 (and will be  
> automatically loaded).
>
> Dale
> ----- "Alexandre Bergel" <[hidden email]> wrote:
>
> | Hi Lukas,
> |
> | In a fresh 10502 I evaluated:
> | -=-=-=-=-=-=-=-=-=
> |   [ Gofer gofer load ]
> |        on: Error
> |        do: [ :err | err retry ].
> |    Gofer gofer recompile.
> | Gofer new
> | squeaksource: 'Mondrian';
> | addPackage: 'ConfigurationOfMondrian';
> | load.
> | (Smalltalk at: #ConfigurationOfMondrian) perform: #loadLastStable.
> | -=-=-=-=-=-=-=-=-=
> |
> | I have the same error.
> | The error comes from:
> |
> | -=-=-=-=-=-=-=-=-=
> | MetacelloMCProject>>updateProject
> | "load the latest version of the configuration package"
> |
> | | mcLoader |
> | (mcLoader := self loader) == nil
> | ifTrue: [ mcLoader := self project loaderClass on: nil ].
> | mcLoader doingLoads: [
> | | gofer |
> | gofer := Gofer new.
> | MCWorkingCopy
> | managersForClass: self configuration class
> | do: [:mgr |
> | gofer add: (GoferPackageReference name: mgr packageName
> | repository: mgr repositoryGroup) versionReference.
> | Transcript cr; show: 'Loading -> ', mgr packageName, ' <-' ].
> | gofer load ].
> | ^true
> | -=-=-=-=-=-=-=-=-=
> |
> | Cheers,
> | Alexandre
> |
> | On 27 Dec 2009, at 17:27, Lukas Renggli wrote:
> |
> | >> After proceeding these warnings, I have a rollback: MNU
> | >> GoferPackageReference class>>name:repository:
> | >
> | > Can you evaluate
> | >
> | >   [ Gofer gofer load ]
> | >       on: Error
> | >       do: [ :err | err retry ].
> | >   Gofer gofer recompile.
> | >
> | > ? I don't have any senders of #name:repository: to
> | > GoferPackageReference.
> | >
> | > Lukas
> | >
> | > --
> | > Lukas Renggli
> | > http://www.lukas-renggli.ch
> | >
> | > _______________________________________________
> | > Pharo-project mailing list
> | > [hidden email]
> | > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo- 
> project
> | >
> |
> | --
> | _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> | Alexandre Bergel  http://www.bergel.eu
> | ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> |
> |
> |
> |
> |
> |
> | _______________________________________________
> | 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
>

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






_______________________________________________
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: Issue with gofer/metacello

Lukas Renggli
In reply to this post by Ramiro Diaz Trepat-2
> Is there a script to migrate underscore assignment to :=  ?

rule := RBUnderscoreAssignmentRule new.
environment := BrowserEnvironment new forPackageNames: #('PackageA'
'PackageB' ...).
SmalllintChecker runRule: rule onEnvironment: environment.
rule open

--
Lukas Renggli
http://www.lukas-renggli.ch

_______________________________________________
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: Issue with gofer/metacello

Ramiro Diaz Trepat-2
Thanks for both replies.
Cheers

r

On Sun, Dec 27, 2009 at 7:25 PM, Lukas Renggli <[hidden email]> wrote:
> Is there a script to migrate underscore assignment to :=  ?

rule := RBUnderscoreAssignmentRule new.
environment := BrowserEnvironment new forPackageNames: #('PackageA'
'PackageB' ...).
SmalllintChecker runRule: rule onEnvironment: environment.
rule open

--
Lukas Renggli
http://www.lukas-renggli.ch

_______________________________________________
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: Issue with gofer/metacello

Ramiro Diaz Trepat-2
In reply to this post by Lukas Renggli
It is a shame :)
I really wanted to use Pharo 1.1, at least for development.  The UI is so much faster.


On Sun, Dec 27, 2009 at 7:23 PM, Lukas Renggli <[hidden email]> wrote:
> I get problems trying to load Seaside30 using
> [Gofer new
>      squeaksource: 'Seaside30';
>      package: 'LoadOrderTests';
>      load]
>        valueSupplyingAnswers: {
>                         {'Load Seaside'. true}.
>                         {'SqueakSource User Name'. ''}.
>                         {'SqueakSource Password'. ''}.
>                         {'Run tests'. false}}.

You shouldn't use Pharo 1.1 for Seaside 3.0. It is very unlikely to work.

Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch

_______________________________________________
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: Issue with gofer/metacello

Lukas Renggli
> It is a shame :)

I agree, but we do not have the resources to maintain two branches.

> I really wanted to use Pharo 1.1, at least for development.  The UI is so
> much faster.

It would be cool if that could be back-ported to 1.0.

Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch

_______________________________________________
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: Issue with gofer/metacello

Stéphane Ducasse

On Dec 27, 2009, at 8:33 PM, Lukas Renggli wrote:

>> It is a shame :)
>
> I agree, but we do not have the resources to maintain two branches.
>
>> I really wanted to use Pharo 1.1, at least for development.  The UI is so
>> much faster.
>
> It would be cool if that could be back-ported to 1.0.

no :)
we too should not branch.
don't dream it is better than we do a 1.1 release faster than get stuck with a 1.0


>
> Lukas
>
> --
> Lukas Renggli
> http://www.lukas-renggli.ch
>
> _______________________________________________
> 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: [Metacello] Re: Issue with gofer/metacello

Tudor Girba
In reply to this post by Dale
Hi Dale,

I did, but there seems to be an error during the bootstrapping of the  
metacello in a new Pharo image.

Cheers,
Doru


On 27 Dec 2009, at 20:06, Dale Henrichs wrote:

> Doru,
>
> Have you tried 1.0-beta.18 with the "latest gofer"?
>
> Dale
> ----- "Tudor Girba" <[hidden email]> wrote:
>
> | Hi,
> |
> | The problem is that Metacello is not quite working with the latest
> | Gofer.
> |
> | Cheers,
> | Doru
> |
> |
> | On 27 Dec 2009, at 17:39, Alexandre Bergel wrote:
> |
> | > Hi Lukas,
> | >
> | > In a fresh 10502 I evaluated:
> | > -=-=-=-=-=-=-=-=-=
> | >  [ Gofer gofer load ]
> | >       on: Error
> | >       do: [ :err | err retry ].
> | >   Gofer gofer recompile.
> | > Gofer new
> | > squeaksource: 'Mondrian';
> | > addPackage: 'ConfigurationOfMondrian';
> | > load.
> | > (Smalltalk at: #ConfigurationOfMondrian) perform: #loadLastStable.
> | > -=-=-=-=-=-=-=-=-=
> | >
> | > I have the same error.
> | > The error comes from:
> | >
> | > -=-=-=-=-=-=-=-=-=
> | > MetacelloMCProject>>updateProject
> | > "load the latest version of the configuration package"
> | >
> | > | mcLoader |
> | > (mcLoader := self loader) == nil
> | > ifTrue: [ mcLoader := self project loaderClass on: nil ].
> | > mcLoader doingLoads: [
> | > | gofer |
> | > gofer := Gofer new.
> | > MCWorkingCopy
> | > managersForClass: self configuration class
> | > do: [:mgr |
> | > gofer add: (GoferPackageReference name: mgr packageName
> | > repository: mgr repositoryGroup) versionReference.
> | > Transcript cr; show: 'Loading -> ', mgr packageName, ' <-' ].
> | > gofer load ].
> | > ^true
> | > -=-=-=-=-=-=-=-=-=
> | >
> | > Cheers,
> | > Alexandre
> | >
> | > On 27 Dec 2009, at 17:27, Lukas Renggli wrote:
> | >
> | >>> After proceeding these warnings, I have a rollback: MNU
> | >>> GoferPackageReference class>>name:repository:
> | >>
> | >> Can you evaluate
> | >>
> | >>  [ Gofer gofer load ]
> | >>      on: Error
> | >>      do: [ :err | err retry ].
> | >>  Gofer gofer recompile.
> | >>
> | >> ? I don't have any senders of #name:repository: to
> | >> GoferPackageReference.
> | >>
> | >> Lukas
> | >>
> | >> --
> | >> Lukas Renggli
> | >> http://www.lukas-renggli.ch
> | >>
> | >> _______________________________________________
> | >> Pharo-project mailing list
> | >> [hidden email]
> | >>
> | http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> | >>
> | >
> | > --
> | > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> | > Alexandre Bergel  http://www.bergel.eu
> | > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> | >
> | >
> | >
> | >
> | >
> | >
> | > _______________________________________________
> | > Pharo-project mailing list
> | > [hidden email]
> | > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo- 
> project
> |
> | --
> | www.tudorgirba.com
> |
> | "From an abstract enough point of view, any two things are similar."

--
www.tudorgirba.com

"What is more important: To be happy, or to make happy?"


_______________________________________________
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: Issue with gofer/metacello

Dale
In reply to this post by Alexandre Bergel
The latest Gofer API is not backward compatible with the earlier versions of the Gofer API. This means that I need to have different versions of Metacello to use with the different versions of Gofer. Unfortunately, I can't use Gofer to detect which version of Gofer is loaded because of the API changes. So I will have to write more code than I'd like to detect which version of Gofer is pre-installed. The API changes also impact the bootstrapping code.

Solving these problems are a larger project than I can undertake on a Sunday and I _am_ on vacation the coming week as well.

So until further notice, if you want to use Metacello 1.0-beta.17 (or earlier) in Pharo you will have to manually ensure Gofer-lr.83 (or earlier) is loaded into your image before attempting to load any Metacello configurations. I'm not sure that you use Gofer to load an earlier version of itself (I'll be finding out in the next few days)...

Metacello 1.0-beta.18 works with Gofer-lr.107 (in pharo 1.0-10502). If you want to use Metacello 1.0-beta.18 (currently in development, so it's subject to change). You will have to manually bootstrap Metacello by executing:

  Gofer new
    gemsource: 'metacello';
    package: 'ConfigurationOfMetacello';
    load.
  (Smalltalk at: #ConfigurationOfMetacello) perform: #ensureMetacello18.
  ((Smalltalk at: #ConfigurationOfMetacello) project version: '1.0-beta.18') load: 'ALL'.

before loading your configuration.

I won't release 1.0-beta.18 until I've resolved the bootstrapping problem. I'm pretty sure that there is a technical solution, but it will take several days for me to get it implemented.

Dale

----- "Dale Henrichs" <[hidden email]> wrote:

| Version 1.0-beta.18 (development) should have fixes for the latest
| Gofer. 1.0-beta.18 is currently in #development so it is automatically
| loaded. When I get the chance to test the Metacello fixes with 10502,
| I'll #release 1.0-beta.18 (and will be automatically loaded).
|
| Dale
| ----- "Alexandre Bergel" <[hidden email]> wrote:
|
| | Hi Lukas,
| |
| | In a fresh 10502 I evaluated:
| | -=-=-=-=-=-=-=-=-=
| |   [ Gofer gofer load ]
| |        on: Error
| |        do: [ :err | err retry ].
| |    Gofer gofer recompile.
| | Gofer new
| | squeaksource: 'Mondrian';
| | addPackage: 'ConfigurationOfMondrian';
| | load.
| | (Smalltalk at: #ConfigurationOfMondrian) perform: #loadLastStable.
| | -=-=-=-=-=-=-=-=-=
| |
| | I have the same error.
| | The error comes from:
| |
| | -=-=-=-=-=-=-=-=-=
| | MetacelloMCProject>>updateProject
| | "load the latest version of the configuration package"
| |
| | | mcLoader |
| | (mcLoader := self loader) == nil
| | ifTrue: [ mcLoader := self project loaderClass on: nil ].
| | mcLoader doingLoads: [
| | | gofer |
| | gofer := Gofer new.
| | MCWorkingCopy
| | managersForClass: self configuration class
| | do: [:mgr |
| | gofer add: (GoferPackageReference name: mgr packageName  
| | repository: mgr repositoryGroup) versionReference.
| | Transcript cr; show: 'Loading -> ', mgr packageName, ' <-' ].
| | gofer load ].
| | ^true
| | -=-=-=-=-=-=-=-=-=
| |
| | Cheers,
| | Alexandre
| |
| | On 27 Dec 2009, at 17:27, Lukas Renggli wrote:
| |
| | >> After proceeding these warnings, I have a rollback: MNU
| | >> GoferPackageReference class>>name:repository:
| | >
| | > Can you evaluate
| | >
| | >   [ Gofer gofer load ]
| | >       on: Error
| | >       do: [ :err | err retry ].
| | >   Gofer gofer recompile.
| | >
| | > ? I don't have any senders of #name:repository: to  
| | > GoferPackageReference.
| | >
| | > Lukas
| | >
| | > --
| | > Lukas Renggli
| | > http://www.lukas-renggli.ch
| | >
| | > _______________________________________________
| | > Pharo-project mailing list
| | > [hidden email]
| | >
| http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
| | >
| |
| | --
| | _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
| | Alexandre Bergel  http://www.bergel.eu
| | ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
| |
| |
| |
| |
| |
| |
| | _______________________________________________
| | 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: [Metacello] Re: Issue with gofer/metacello

Dale
In reply to this post by Alexandre Bergel
Doru,

I've seen that ... more changes to the gofer api were made after I did my initial port:(

I'm writing an email to the pharo list covering the problem and will cc it here as well.

Dale
----- "Tudor Girba" <[hidden email]> wrote:

| Hi Dale,
|
| I did, but there seems to be an error during the bootstrapping of the
|
| metacello in a new Pharo image.
|
| Cheers,
| Doru
|
|
| On 27 Dec 2009, at 20:06, Dale Henrichs wrote:
|
| > Doru,
| >
| > Have you tried 1.0-beta.18 with the "latest gofer"?
| >
| > Dale
| > ----- "Tudor Girba" <[hidden email]> wrote:
| >
| > | Hi,
| > |
| > | The problem is that Metacello is not quite working with the
| latest
| > | Gofer.
| > |
| > | Cheers,
| > | Doru
| > |
| > |
| > | On 27 Dec 2009, at 17:39, Alexandre Bergel wrote:
| > |
| > | > Hi Lukas,
| > | >
| > | > In a fresh 10502 I evaluated:
| > | > -=-=-=-=-=-=-=-=-=
| > | >  [ Gofer gofer load ]
| > | >       on: Error
| > | >       do: [ :err | err retry ].
| > | >   Gofer gofer recompile.
| > | > Gofer new
| > | > squeaksource: 'Mondrian';
| > | > addPackage: 'ConfigurationOfMondrian';
| > | > load.
| > | > (Smalltalk at: #ConfigurationOfMondrian) perform:
| #loadLastStable.
| > | > -=-=-=-=-=-=-=-=-=
| > | >
| > | > I have the same error.
| > | > The error comes from:
| > | >
| > | > -=-=-=-=-=-=-=-=-=
| > | > MetacelloMCProject>>updateProject
| > | > "load the latest version of the configuration package"
| > | >
| > | > | mcLoader |
| > | > (mcLoader := self loader) == nil
| > | > ifTrue: [ mcLoader := self project loaderClass on: nil ].
| > | > mcLoader doingLoads: [
| > | > | gofer |
| > | > gofer := Gofer new.
| > | > MCWorkingCopy
| > | > managersForClass: self configuration class
| > | > do: [:mgr |
| > | > gofer add: (GoferPackageReference name: mgr packageName
| > | > repository: mgr repositoryGroup) versionReference.
| > | > Transcript cr; show: 'Loading -> ', mgr packageName, ' <-'
| ].
| > | > gofer load ].
| > | > ^true
| > | > -=-=-=-=-=-=-=-=-=
| > | >
| > | > Cheers,
| > | > Alexandre
| > | >
| > | > On 27 Dec 2009, at 17:27, Lukas Renggli wrote:
| > | >
| > | >>> After proceeding these warnings, I have a rollback: MNU
| > | >>> GoferPackageReference class>>name:repository:
| > | >>
| > | >> Can you evaluate
| > | >>
| > | >>  [ Gofer gofer load ]
| > | >>      on: Error
| > | >>      do: [ :err | err retry ].
| > | >>  Gofer gofer recompile.
| > | >>
| > | >> ? I don't have any senders of #name:repository: to
| > | >> GoferPackageReference.
| > | >>
| > | >> Lukas
| > | >>
| > | >> --
| > | >> Lukas Renggli
| > | >> http://www.lukas-renggli.ch
| > | >>
| > | >> _______________________________________________
| > | >> Pharo-project mailing list
| > | >> [hidden email]
| > | >>
| > |
| http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
| > | >>
| > | >
| > | > --
| > | > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
| > | > Alexandre Bergel  http://www.bergel.eu
| > | > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
| > | >
| > | >
| > | >
| > | >
| > | >
| > | >
| > | > _______________________________________________
| > | > Pharo-project mailing list
| > | > [hidden email]
| > | > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo- 
| > project
| > |
| > | --
| > | www.tudorgirba.com
| > |
| > | "From an abstract enough point of view, any two things are
| similar."
|
| --
| www.tudorgirba.com
|
| "What is more important: To be happy, or to make happy?"

_______________________________________________
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: Issue with gofer/metacello

Stéphane Ducasse
In reply to this post by Dale
argh!
lukas is it possible to lower the pain of dale?

Stef

On Dec 27, 2009, at 10:27 PM, Dale Henrichs wrote:

> The latest Gofer API is not backward compatible with the earlier versions of the Gofer API. This means that I need to have different versions of Metacello to use with the different versions of Gofer. Unfortunately, I can't use Gofer to detect which version of Gofer is loaded because of the API changes. So I will have to write more code than I'd like to detect which version of Gofer is pre-installed. The API changes also impact the bootstrapping code.
>
> Solving these problems are a larger project than I can undertake on a Sunday and I _am_ on vacation the coming week as well.
>
> So until further notice, if you want to use Metacello 1.0-beta.17 (or earlier) in Pharo you will have to manually ensure Gofer-lr.83 (or earlier) is loaded into your image before attempting to load any Metacello configurations. I'm not sure that you use Gofer to load an earlier version of itself (I'll be finding out in the next few days)...
>
> Metacello 1.0-beta.18 works with Gofer-lr.107 (in pharo 1.0-10502). If you want to use Metacello 1.0-beta.18 (currently in development, so it's subject to change). You will have to manually bootstrap Metacello by executing:
>
>  Gofer new
>    gemsource: 'metacello';
>    package: 'ConfigurationOfMetacello';
>    load.
>  (Smalltalk at: #ConfigurationOfMetacello) perform: #ensureMetacello18.
>  ((Smalltalk at: #ConfigurationOfMetacello) project version: '1.0-beta.18') load: 'ALL'.
>
> before loading your configuration.
>
> I won't release 1.0-beta.18 until I've resolved the bootstrapping problem. I'm pretty sure that there is a technical solution, but it will take several days for me to get it implemented.
>
> Dale
>
> ----- "Dale Henrichs" <[hidden email]> wrote:
>
> | Version 1.0-beta.18 (development) should have fixes for the latest
> | Gofer. 1.0-beta.18 is currently in #development so it is automatically
> | loaded. When I get the chance to test the Metacello fixes with 10502,
> | I'll #release 1.0-beta.18 (and will be automatically loaded).
> |
> | Dale
> | ----- "Alexandre Bergel" <[hidden email]> wrote:
> |
> | | Hi Lukas,
> | |
> | | In a fresh 10502 I evaluated:
> | | -=-=-=-=-=-=-=-=-=
> | |   [ Gofer gofer load ]
> | |        on: Error
> | |        do: [ :err | err retry ].
> | |    Gofer gofer recompile.
> | | Gofer new
> | | squeaksource: 'Mondrian';
> | | addPackage: 'ConfigurationOfMondrian';
> | | load.
> | | (Smalltalk at: #ConfigurationOfMondrian) perform: #loadLastStable.
> | | -=-=-=-=-=-=-=-=-=
> | |
> | | I have the same error.
> | | The error comes from:
> | |
> | | -=-=-=-=-=-=-=-=-=
> | | MetacelloMCProject>>updateProject
> | | "load the latest version of the configuration package"
> | |
> | | | mcLoader |
> | | (mcLoader := self loader) == nil
> | | ifTrue: [ mcLoader := self project loaderClass on: nil ].
> | | mcLoader doingLoads: [
> | | | gofer |
> | | gofer := Gofer new.
> | | MCWorkingCopy
> | | managersForClass: self configuration class
> | | do: [:mgr |
> | | gofer add: (GoferPackageReference name: mgr packageName  
> | | repository: mgr repositoryGroup) versionReference.
> | | Transcript cr; show: 'Loading -> ', mgr packageName, ' <-' ].
> | | gofer load ].
> | | ^true
> | | -=-=-=-=-=-=-=-=-=
> | |
> | | Cheers,
> | | Alexandre
> | |
> | | On 27 Dec 2009, at 17:27, Lukas Renggli wrote:
> | |
> | | >> After proceeding these warnings, I have a rollback: MNU
> | | >> GoferPackageReference class>>name:repository:
> | | >
> | | > Can you evaluate
> | | >
> | | >   [ Gofer gofer load ]
> | | >       on: Error
> | | >       do: [ :err | err retry ].
> | | >   Gofer gofer recompile.
> | | >
> | | > ? I don't have any senders of #name:repository: to  
> | | > GoferPackageReference.
> | | >
> | | > Lukas
> | | >
> | | > --
> | | > Lukas Renggli
> | | > http://www.lukas-renggli.ch
> | | >
> | | > _______________________________________________
> | | > Pharo-project mailing list
> | | > [hidden email]
> | | >
> | http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> | | >
> | |
> | | --
> | | _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> | | Alexandre Bergel  http://www.bergel.eu
> | | ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> | |
> | |
> | |
> | |
> | |
> | |
> | | _______________________________________________
> | | 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: Issue with gofer/metacello

Lukas Renggli
>> | | >> After proceeding these warnings, I have a rollback: MNU
>> | | >> GoferPackageReference class>>name:repository:
>> | | >
>> | | > Can you evaluate
>> | | >
>> | | >   [ Gofer gofer load ]
>> | | >       on: Error
>> | | >       do: [ :err | err retry ].
>> | | >   Gofer gofer recompile.
>> | | >
>> | | > ? I don't have any senders of #name:repository: to
>> | | > GoferPackageReference.

We can remove the deprecated warnings, but that will not solve the
real problem. Metacello is using some internal parts of Gofer that had
to be changed to properly support fetch/push operations on multiple
repositories.

People have to stick with an old version of Gofer/Monticello. That's
the same as with Pharo 1.1: Do not use the latest one.

Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch

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