a metacello bug/problem?

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

a metacello bug/problem?

EstebanLM
Hi,
I'm having this problem:  I want to prepare some configurations to build full images to some projects. This images have "Prod" configuration and "Dev" configuration.
The problem is: 'Dev' images also loads ConfigurationOfPharo, like this:

spec project: 'Pharo' with: [
        spec
                className: 'ConfigurationOfPharo';
                loads: 'Dev Tools OB';
                file: 'ConfigurationOfPharo';
                repository: 'http://www.squeaksource.com/MetacelloRepository' ].
 

and I'm having some problems:

1) it tries to install the default configuration of pharo, not just 'Dev Tools OB'.
2) It throws an 'Error: no such inst var' while trying to load 'ProfStef' (which, btw, shouldn't be there, because group 'Dev Tools OB' doesn't include it).

any clue?

Cheers,
Esteban
Reply | Threaded
Open this post in threaded view
|

Re: a metacello bug/problem?

EstebanLM
correction, 'Dev Tools OB' DO loads ProfStef, so the first problem is not real (the second one, remains there)

El 02/03/2010, a las 10:47a.m., Esteban Lorenzano escribió:

> Hi,
> I'm having this problem:  I want to prepare some configurations to build full images to some projects. This images have "Prod" configuration and "Dev" configuration.
> The problem is: 'Dev' images also loads ConfigurationOfPharo, like this:
>
> spec project: 'Pharo' with: [
> spec
> className: 'ConfigurationOfPharo';
> loads: 'Dev Tools OB';
> file: 'ConfigurationOfPharo';
> repository: 'http://www.squeaksource.com/MetacelloRepository' ].
>
>
> and I'm having some problems:
>
> 1) it tries to install the default configuration of pharo, not just 'Dev Tools OB'.
> 2) It throws an 'Error: no such inst var' while trying to load 'ProfStef' (which, btw, shouldn't be there, because group 'Dev Tools OB' doesn't include it).
>
> any clue?
>
> Cheers,
> Esteban

Reply | Threaded
Open this post in threaded view
|

Re: a metacello bug/problem?

EstebanLM
correction to the correction :)
no, ProfStef is not part of 'Dev Tools OB'... my mistake. So, problem (1) remains there

El 02/03/2010, a las 11:10a.m., Esteban Lorenzano escribió:

> correction, 'Dev Tools OB' DO loads ProfStef, so the first problem is not real (the second one, remains there)
>
> El 02/03/2010, a las 10:47a.m., Esteban Lorenzano escribió:
>
>> Hi,
>> I'm having this problem:  I want to prepare some configurations to build full images to some projects. This images have "Prod" configuration and "Dev" configuration.
>> The problem is: 'Dev' images also loads ConfigurationOfPharo, like this:
>>
>> spec project: 'Pharo' with: [
>> spec
>> className: 'ConfigurationOfPharo';
>> loads: 'Dev Tools OB';
>> file: 'ConfigurationOfPharo';
>> repository: 'http://www.squeaksource.com/MetacelloRepository' ].
>>
>>
>> and I'm having some problems:
>>
>> 1) it tries to install the default configuration of pharo, not just 'Dev Tools OB'.
>> 2) It throws an 'Error: no such inst var' while trying to load 'ProfStef' (which, btw, shouldn't be there, because group 'Dev Tools OB' doesn't include it).
>>
>> any clue?
>>
>> Cheers,
>> Esteban
>

Reply | Threaded
Open this post in threaded view
|

Re: a metacello bug/problem?

Dale
In reply to this post by EstebanLM
Esteban,

Is Metacello preloaded into you initial image (if so which version)? Which image are you using as the basis for your build?

BTW, I've opened Isse 62 (http://code.google.com/p/metacello/issues/detail?id=62) to track this problem.

I'll try to reproduce the problem here and debug it.

Dale
----- "Esteban Lorenzano" <[hidden email]> wrote:

| Hi,
| I'm having this problem:  I want to prepare some configurations to
| build full images to some projects. This images have "Prod"
| configuration and "Dev" configuration.
| The problem is: 'Dev' images also loads ConfigurationOfPharo, like
| this:
|
| spec project: 'Pharo' with: [
| spec
| className: 'ConfigurationOfPharo';
| loads: 'Dev Tools OB';
| file: 'ConfigurationOfPharo';
| repository: 'http://www.squeaksource.com/MetacelloRepository' ].
|  
|
| and I'm having some problems:
|
| 1) it tries to install the default configuration of pharo, not just
| 'Dev Tools OB'.
| 2) It throws an 'Error: no such inst var' while trying to load
| 'ProfStef' (which, btw, shouldn't be there, because group 'Dev Tools
| OB' doesn't include it).
|
| any clue?
|
| Cheers,
| Esteban
Reply | Threaded
Open this post in threaded view
|

Re: a metacello bug/problem?

EstebanLM
Hi Dale,
Sorry for the delay on the answer...
I'm working on latest Pharo 1.0rc2 (with all system updates), and Metacello is loaded on first ConfigurationOfxx load, so I presume it is the latets Metacello too :)

Cheers,
Esteban  

El 02/03/2010, a las 2:50p.m., Dale Henrichs escribió:

> Esteban,
>
> Is Metacello preloaded into you initial image (if so which version)? Which image are you using as the basis for your build?
>
> BTW, I've opened Isse 62 (http://code.google.com/p/metacello/issues/detail?id=62) to track this problem.
>
> I'll try to reproduce the problem here and debug it.
>
> Dale
> ----- "Esteban Lorenzano" <[hidden email]> wrote:
>
> | Hi,
> | I'm having this problem:  I want to prepare some configurations to
> | build full images to some projects. This images have "Prod"
> | configuration and "Dev" configuration.
> | The problem is: 'Dev' images also loads ConfigurationOfPharo, like
> | this:
> |
> | spec project: 'Pharo' with: [
> | spec
> | className: 'ConfigurationOfPharo';
> | loads: 'Dev Tools OB';
> | file: 'ConfigurationOfPharo';
> | repository: 'http://www.squeaksource.com/MetacelloRepository' ].
> |  
> |
> | and I'm having some problems:
> |
> | 1) it tries to install the default configuration of pharo, not just
> | 'Dev Tools OB'.
> | 2) It throws an 'Error: no such inst var' while trying to load
> | 'ProfStef' (which, btw, shouldn't be there, because group 'Dev Tools
> | OB' doesn't include it).
> |
> | any clue?
> |
> | Cheers,
> | Esteban

Reply | Threaded
Open this post in threaded view
|

Re: a metacello bug/problem?

Dale
In reply to this post by EstebanLM
Presumably one of the system updates has perturbed Metacallo. I've been using Pharo-1.0-10508-rc2 #10508 for awhile, but haven't done a system update recently ...

I'll check into it today.

Dale
----- "Esteban Lorenzano" <[hidden email]> wrote:

| Hi Dale,
| Sorry for the delay on the answer...
| I'm working on latest Pharo 1.0rc2 (with all system updates), and
| Metacello is loaded on first ConfigurationOfxx load, so I presume it
| is the latets Metacello too :)
|
| Cheers,
| Esteban  
|
| El 02/03/2010, a las 2:50p.m., Dale Henrichs escribió:
|
| > Esteban,
| >
| > Is Metacello preloaded into you initial image (if so which version)?
| Which image are you using as the basis for your build?
| >
| > BTW, I've opened Isse 62
| (http://code.google.com/p/metacello/issues/detail?id=62) to track this
| problem.
| >
| > I'll try to reproduce the problem here and debug it.
| >
| > Dale
| > ----- "Esteban Lorenzano" <[hidden email]> wrote:
| >
| > | Hi,
| > | I'm having this problem:  I want to prepare some configurations
| to
| > | build full images to some projects. This images have "Prod"
| > | configuration and "Dev" configuration.
| > | The problem is: 'Dev' images also loads ConfigurationOfPharo,
| like
| > | this:
| > |
| > | spec project: 'Pharo' with: [
| > | spec
| > | className: 'ConfigurationOfPharo';
| > | loads: 'Dev Tools OB';
| > | file: 'ConfigurationOfPharo';
| > | repository: 'http://www.squeaksource.com/MetacelloRepository'
| ].
| > |  
| > |
| > | and I'm having some problems:
| > |
| > | 1) it tries to install the default configuration of pharo, not
| just
| > | 'Dev Tools OB'.
| > | 2) It throws an 'Error: no such inst var' while trying to load
| > | 'ProfStef' (which, btw, shouldn't be there, because group 'Dev
| Tools
| > | OB' doesn't include it).
| > |
| > | any clue?
| > |
| > | Cheers,
| > | Esteban
Reply | Threaded
Open this post in threaded view
|

Re: a metacello bug/problem?

Dale
In reply to this post by EstebanLM
Esteban,

I took a PharoCore-1.0-10508rc2 image and did a System update to bring the image up to 'PharoCore1.0rc2 #10511'. Then executed the following:

  Gofer new
    squeaksource: 'MetacelloRepository';
    package: 'ConfigurationOfPharo';
    load.
  ConfigurationOfPharo project latestVersion load: 'Dev Tools OB'.

Which should be the equivalent of what you've described and everything is loaded correctly (i.e., no ProfStef).

BTW, I did load ProfStef into this image and I did't get an error about a missing ivar....ProfStef loaded cleanly.

A week or so ago I think Alexandre tried to use ConfigurationOfPharo to load in the 1.1 core and he reported a similar ivar missing error for ProfStef. So perhaps you are loading into 1.1 and not 1.0? Could you give me the exact version information from System>>about?

I did try to load into PharoCore-1.1-11239-UNSTABLE and got an error about the TheWorldMenu missing ... which isn't surprising ... ConfigurationOfPharo isn't intended to work in PharoCore 1.1, yet.

I would also like more information about how you are using the configuration. The snippet you looked like it was from a baseline so I am curious what other things may be involved in the actual configuration, since my guess is that something else might be bringing in ProfStef...A copy of the complete configuration would help, or failing that the contents of the Transcript would be useful in understanding what might be going on ...

Dale

----- "Esteban Lorenzano" <[hidden email]> wrote:

| Hi Dale,
| Sorry for the delay on the answer...
| I'm working on latest Pharo 1.0rc2 (with all system updates), and
| Metacello is loaded on first ConfigurationOfxx load, so I presume it
| is the latets Metacello too :)
|
| Cheers,
| Esteban  
|
| El 02/03/2010, a las 2:50p.m., Dale Henrichs escribió:
|
| > Esteban,
| >
| > Is Metacello preloaded into you initial image (if so which version)?
| Which image are you using as the basis for your build?
| >
| > BTW, I've opened Isse 62
| (http://code.google.com/p/metacello/issues/detail?id=62) to track this
| problem.
| >
| > I'll try to reproduce the problem here and debug it.
| >
| > Dale
| > ----- "Esteban Lorenzano" <[hidden email]> wrote:
| >
| > | Hi,
| > | I'm having this problem:  I want to prepare some configurations
| to
| > | build full images to some projects. This images have "Prod"
| > | configuration and "Dev" configuration.
| > | The problem is: 'Dev' images also loads ConfigurationOfPharo,
| like
| > | this:
| > |
| > | spec project: 'Pharo' with: [
| > | spec
| > | className: 'ConfigurationOfPharo';
| > | loads: 'Dev Tools OB';
| > | file: 'ConfigurationOfPharo';
| > | repository: 'http://www.squeaksource.com/MetacelloRepository'
| ].
| > |  
| > |
| > | and I'm having some problems:
| > |
| > | 1) it tries to install the default configuration of pharo, not
| just
| > | 'Dev Tools OB'.
| > | 2) It throws an 'Error: no such inst var' while trying to load
| > | 'ProfStef' (which, btw, shouldn't be there, because group 'Dev
| Tools
| > | OB' doesn't include it).
| > |
| > | any clue?
| > |
| > | Cheers,
| > | Esteban