Error: no such inst var

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

Error: no such inst var

Miguel Cobá
I am getting this error and I can't find the reason.

Take a PharoCore 10508. Update it to 10514 with update stream.
File in the attached demo ConfigurationOfBroken.
It has only a baseline:

baseline01: spec
        <version: '0.1-baseline'>
       
        spec for: #pharo do: [
                spec blessing: #baseline.
                spec
                        project: 'Pharo' with: [
                                spec
                                        className: 'ConfigurationOfPharo';
                                        loads: 'Dev Tools OB';
                                        file: 'ConfigurationOfPharo';
                                        repository: 'http://www.squeaksource.com/MetacelloRepository' ].
                spec
                        group: 'default' with: 'Dev';
                        group: 'Dev' with: #('Pharo') ].

and a version:
version01: spec
        <version: '0.1' imports: #('0.1-baseline')>

        spec for: #pharo do: [
                spec blessing: #release.
                spec
                        project: 'Pharo' with: '1.0-rc2.10509' ].

File it the attached cs and in a workspace evaluate:

ConfigurationOfBroken project latestVersion load: 'Dev'

After a while the error

Error: no such inst var

is presented while looking for projectReference inst var for ProfStef
spec.

I use the ConfigurationOfPharo in my own ConfigurationOfXXX but I
reduced it to this minimal class to show the error.

I analysed the ConfigurationOfPharo but by using it directly
(ConfigurationOfPharo project latestVersion load: 'Dev Tools OB'

works correctly (as every other invocation I tried directly on
ConfigurationOfPharo). But by using it with a reference from another
ConfigurationOfXXX gives me this error.

In this image, the automatic bootstrap of metacello triggered from
ConfigurationOfBroken installs:

ConfigurationOfGofer-DaleHenrichs.9
ConfigurationOfMetacello-DaleHenrichs.233
ConfiguarationOfPharo-MarianoMartinezPeck.49
Metacello-Core-DaleHenrichs.349
Metacello-MC-DaleHenrichs.335
Metacello-Platform.pharo-DaleHenrichs.13
Gofer-Core-DaleHenrichs.117

Using the same 10514 image, but loading Metacello
1.0-beta.22
1.0-beta.21

with:

Gofer it
squeaksource: 'MetacelloRepository';
package: 'ConfigurationOfMetacello';
load

(ConfigurationOfMetacello project version: '1.0-beta.22') load

ConfigurationOfBroken project latestVersion load: 'Dev'

Can someone help me find the error in this configuration?

Thanks

--
Miguel Cobá
http://miguel.leugim.com.mx

ConfigurationOfBroken.st (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Error: no such inst var

Dale
I'll take a look right now ...

Dale
----- "Miguel Enrique Cobá Martinez" <[hidden email]> wrote:

| I am getting this error and I can't find the reason.
|
| Take a PharoCore 10508. Update it to 10514 with update stream.
| File in the attached demo ConfigurationOfBroken.
| It has only a baseline:
|
| baseline01: spec
| <version: '0.1-baseline'>
|
| spec for: #pharo do: [
| spec blessing: #baseline.
| spec
| project: 'Pharo' with: [
| spec
| className: 'ConfigurationOfPharo';
| loads: 'Dev Tools OB';
| file: 'ConfigurationOfPharo';
| repository: 'http://www.squeaksource.com/MetacelloRepository' ].
| spec
| group: 'default' with: 'Dev';
| group: 'Dev' with: #('Pharo') ].
|
| and a version:
| version01: spec
| <version: '0.1' imports: #('0.1-baseline')>
|
| spec for: #pharo do: [
| spec blessing: #release.
| spec
| project: 'Pharo' with: '1.0-rc2.10509' ].
|
| File it the attached cs and in a workspace evaluate:
|
| ConfigurationOfBroken project latestVersion load: 'Dev'
|
| After a while the error
|
| Error: no such inst var
|
| is presented while looking for projectReference inst var for ProfStef
| spec.
|
| I use the ConfigurationOfPharo in my own ConfigurationOfXXX but I
| reduced it to this minimal class to show the error.
|
| I analysed the ConfigurationOfPharo but by using it directly
| (ConfigurationOfPharo project latestVersion load: 'Dev Tools OB'
|
| works correctly (as every other invocation I tried directly on
| ConfigurationOfPharo). But by using it with a reference from another
| ConfigurationOfXXX gives me this error.
|
| In this image, the automatic bootstrap of metacello triggered from
| ConfigurationOfBroken installs:
|
| ConfigurationOfGofer-DaleHenrichs.9
| ConfigurationOfMetacello-DaleHenrichs.233
| ConfiguarationOfPharo-MarianoMartinezPeck.49
| Metacello-Core-DaleHenrichs.349
| Metacello-MC-DaleHenrichs.335
| Metacello-Platform.pharo-DaleHenrichs.13
| Gofer-Core-DaleHenrichs.117
|
| Using the same 10514 image, but loading Metacello
| 1.0-beta.22
| 1.0-beta.21
|
| with:
|
| Gofer it
| squeaksource: 'MetacelloRepository';
| package: 'ConfigurationOfMetacello';
| load
|
| (ConfigurationOfMetacello project version: '1.0-beta.22') load
|
| ConfigurationOfBroken project latestVersion load: 'Dev'
|
| Can someone help me find the error in this configuration?
|
| Thanks
|
| --
| Miguel Cobá
| http://miguel.leugim.com.mx
Reply | Threaded
Open this post in threaded view
|

Re: Error: no such inst var

Dale
In reply to this post by Miguel Cobá
Miguel,

There was an error in ConfigurationOfPharo (baseline10rc22) that I've fixed (ConfigurationOfPharo-DaleHenrichs.50)

I've added a reference to this problem from Issue 6 (need for configuration validator).

Thanks for putting together the test case ...

Dale
----- "Miguel Enrique Cobá Martinez" <[hidden email]> wrote:

| I am getting this error and I can't find the reason.
|
| Take a PharoCore 10508. Update it to 10514 with update stream.
| File in the attached demo ConfigurationOfBroken.
| It has only a baseline:
|
| baseline01: spec
| <version: '0.1-baseline'>
|
| spec for: #pharo do: [
| spec blessing: #baseline.
| spec
| project: 'Pharo' with: [
| spec
| className: 'ConfigurationOfPharo';
| loads: 'Dev Tools OB';
| file: 'ConfigurationOfPharo';
| repository: 'http://www.squeaksource.com/MetacelloRepository' ].
| spec
| group: 'default' with: 'Dev';
| group: 'Dev' with: #('Pharo') ].
|
| and a version:
| version01: spec
| <version: '0.1' imports: #('0.1-baseline')>
|
| spec for: #pharo do: [
| spec blessing: #release.
| spec
| project: 'Pharo' with: '1.0-rc2.10509' ].
|
| File it the attached cs and in a workspace evaluate:
|
| ConfigurationOfBroken project latestVersion load: 'Dev'
|
| After a while the error
|
| Error: no such inst var
|
| is presented while looking for projectReference inst var for ProfStef
| spec.
|
| I use the ConfigurationOfPharo in my own ConfigurationOfXXX but I
| reduced it to this minimal class to show the error.
|
| I analysed the ConfigurationOfPharo but by using it directly
| (ConfigurationOfPharo project latestVersion load: 'Dev Tools OB'
|
| works correctly (as every other invocation I tried directly on
| ConfigurationOfPharo). But by using it with a reference from another
| ConfigurationOfXXX gives me this error.
|
| In this image, the automatic bootstrap of metacello triggered from
| ConfigurationOfBroken installs:
|
| ConfigurationOfGofer-DaleHenrichs.9
| ConfigurationOfMetacello-DaleHenrichs.233
| ConfiguarationOfPharo-MarianoMartinezPeck.49
| Metacello-Core-DaleHenrichs.349
| Metacello-MC-DaleHenrichs.335
| Metacello-Platform.pharo-DaleHenrichs.13
| Gofer-Core-DaleHenrichs.117
|
| Using the same 10514 image, but loading Metacello
| 1.0-beta.22
| 1.0-beta.21
|
| with:
|
| Gofer it
| squeaksource: 'MetacelloRepository';
| package: 'ConfigurationOfMetacello';
| load
|
| (ConfigurationOfMetacello project version: '1.0-beta.22') load
|
| ConfigurationOfBroken project latestVersion load: 'Dev'
|
| Can someone help me find the error in this configuration?
|
| Thanks
|
| --
| Miguel Cobá
| http://miguel.leugim.com.mx
Reply | Threaded
Open this post in threaded view
|

Re: Error: no such inst var

Miguel Cobá
El lun, 15-03-2010 a las 10:53 -0700, Dale Henrichs escribió:
> Miguel,
>
> There was an error in ConfigurationOfPharo (baseline10rc22) that I've fixed (ConfigurationOfPharo-DaleHenrichs.50)
>
> I've added a reference to this problem from Issue 6 (need for configuration validator).
>
> Thanks for putting together the test case ...

Thank you Dale, it works fine now.

Cheers

>
> Dale
> ----- "Miguel Enrique Cobá Martinez" <[hidden email]> wrote:
>
> | I am getting this error and I can't find the reason.
> |
> | Take a PharoCore 10508. Update it to 10514 with update stream.
> | File in the attached demo ConfigurationOfBroken.
> | It has only a baseline:
> |
> | baseline01: spec
> | <version: '0.1-baseline'>
> |
> | spec for: #pharo do: [
> | spec blessing: #baseline.
> | spec
> | project: 'Pharo' with: [
> | spec
> | className: 'ConfigurationOfPharo';
> | loads: 'Dev Tools OB';
> | file: 'ConfigurationOfPharo';
> | repository: 'http://www.squeaksource.com/MetacelloRepository' ].
> | spec
> | group: 'default' with: 'Dev';
> | group: 'Dev' with: #('Pharo') ].
> |
> | and a version:
> | version01: spec
> | <version: '0.1' imports: #('0.1-baseline')>
> |
> | spec for: #pharo do: [
> | spec blessing: #release.
> | spec
> | project: 'Pharo' with: '1.0-rc2.10509' ].
> |
> | File it the attached cs and in a workspace evaluate:
> |
> | ConfigurationOfBroken project latestVersion load: 'Dev'
> |
> | After a while the error
> |
> | Error: no such inst var
> |
> | is presented while looking for projectReference inst var for ProfStef
> | spec.
> |
> | I use the ConfigurationOfPharo in my own ConfigurationOfXXX but I
> | reduced it to this minimal class to show the error.
> |
> | I analysed the ConfigurationOfPharo but by using it directly
> | (ConfigurationOfPharo project latestVersion load: 'Dev Tools OB'
> |
> | works correctly (as every other invocation I tried directly on
> | ConfigurationOfPharo). But by using it with a reference from another
> | ConfigurationOfXXX gives me this error.
> |
> | In this image, the automatic bootstrap of metacello triggered from
> | ConfigurationOfBroken installs:
> |
> | ConfigurationOfGofer-DaleHenrichs.9
> | ConfigurationOfMetacello-DaleHenrichs.233
> | ConfiguarationOfPharo-MarianoMartinezPeck.49
> | Metacello-Core-DaleHenrichs.349
> | Metacello-MC-DaleHenrichs.335
> | Metacello-Platform.pharo-DaleHenrichs.13
> | Gofer-Core-DaleHenrichs.117
> |
> | Using the same 10514 image, but loading Metacello
> | 1.0-beta.22
> | 1.0-beta.21
> |
> | with:
> |
> | Gofer it
> | squeaksource: 'MetacelloRepository';
> | package: 'ConfigurationOfMetacello';
> | load
> |
> | (ConfigurationOfMetacello project version: '1.0-beta.22') load
> |
> | ConfigurationOfBroken project latestVersion load: 'Dev'
> |
> | Can someone help me find the error in this configuration?
> |
> | Thanks
> |
> | --
> | Miguel Cobá
> | http://miguel.leugim.com.mx

--
Miguel Cobá
http://miguel.leugim.com.mx