"How to extend the system scripts" - Omnibrowser script fails.

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

"How to extend the system scripts" - Omnibrowser script fails.

Michael Davies-2
Hi all,

I just noticed a problem with the script in the 4.2 beta (and I assume in 4.1).

The line

((Smalltalk at: #ConfigurationOfOmniBrowser) project perform: #lastVersion) load: #( Dev ).

 fails in MetacelloFetchingMCSpecLoader(MetacelloCommonMCSpecLoader)>>retryingResolvePackageSpecReferences:gofer: with error message: 'Could not resolve: OB-Morphic [OB-Morphic-cwp.117] in /Users/mike/Documents/Development/squeak/Squeak4.2beta/package-cache http://source.wiresong.ca/ob'.

This script appears to have been working fine in December (http://forum.world.st/loading-Shout-into-trunk-td3071889.html)

Metacello makes my head spin so I can't even understand what's gone wrong, let alone how to resolve this problem.

Cheers,
Michael


Reply | Threaded
Open this post in threaded view
|

Re: "How to extend the system scripts" - Omnibrowser script fails.

Levente Uzonyi-2

Quoting Michael Davies <[hidden email]>:

> Hi all,
>
> I just noticed a problem with the script in the 4.2 beta (and I assume in
> 4.1).
>
> The line
>
> ((Smalltalk at: #ConfigurationOfOmniBrowser) project perform: #lastVersion)
> load: #( Dev ).
>
>  fails in
> MetacelloFetchingMCSpecLoader(MetacelloCommonMCSpecLoader)>>retryingResolvePackageSpecReferences:gofer:
> with error message: 'Could not resolve: OB-Morphic [OB-Morphic-cwp.117] in
> /Users/mike/Documents/Development/squeak/Squeak4.2beta/package-cache
> http://source.wiresong.ca/ob'.
>
> This script appears to have been working fine in December (
> http://forum.world.st/loading-Shout-into-trunk-td3071889.html)
>
> Metacello makes my head spin so I can't even understand what's gone wrong,
> let alone how to resolve this problem.

The script tries to load the latest version which is 1.2.3. It uses  
baseline 1.2.1. The specification for #squeakCommon in  
ConfigurationOfOmniBrowser >> #baseline121: is polluted with Pharo  
specific stuff (starting from  
ConfigurationOfOmniBrowser-GuillermoPolito.72), so Metacello is  
looking for Squeak related packages in Pharo repositories.

You can use this script to load OB until someone updates the configuration:
Installer ss project: 'MetacelloRepository'; install:  
'ConfigurationOfOmniBrowser'.
((Smalltalk at: #ConfigurationOfOmniBrowser) project perform:  
#version: with: '1.2') load: #(Dev).

Note that the configuration doesn't load the latest version of the  
packages, because some of them are not compatible with Squeak anymore.  
If we would like to keep using (an up-to-date version of) OB, then we  
have to make it Squeak compatible again. Either by cooperating with  
the current developers or if that's not possible, by forking it.


Levente

>
> Cheers,
> Michael
>


Reply | Threaded
Open this post in threaded view
|

Re: "How to extend the system scripts" - Omnibrowser script fails.

Michael Davies-2
On 11 January 2011 02:38, Levente Uzonyi <[hidden email]> wrote:
[snip]

Note that the configuration doesn't load the latest version of the packages, because some of them are not compatible with Squeak anymore. If we would like to keep using (an up-to-date version of) OB, then we have to make it Squeak compatible again. Either by cooperating with the current developers or if that's not possible, by forking it.

Thanks for the explanation and code snippet Levente.

Given the rate of change in OmniBrowser, and so the very good chance of the continual re-introduction of incompatibilities, I've updated the sample code to include the script to load a known good version as well as the existing script to load the very latest version.

Cheers, Michael


Reply | Threaded
Open this post in threaded view
|

Re: "How to extend the system scripts" - Omnibrowser script fails.

Guillermo Polito
In reply to this post by Levente Uzonyi-2
Sorry, was not my intention!  I have updated the config, and

(ConfigurationOfOmniBrowser project version: '1.2.3') load

is now loading in Squeak4.2-10779-alpha.

Maybe It has not the last version of each package, and it needs to be updated.

Cheers!
Guille

On Mon, Jan 10, 2011 at 10:38 PM, Levente Uzonyi <[hidden email]> wrote:

Quoting Michael Davies <[hidden email]>:

Hi all,

I just noticed a problem with the script in the 4.2 beta (and I assume in
4.1).

The line

((Smalltalk at: #ConfigurationOfOmniBrowser) project perform: #lastVersion)
load: #( Dev ).

 fails in
MetacelloFetchingMCSpecLoader(MetacelloCommonMCSpecLoader)>>retryingResolvePackageSpecReferences:gofer:
with error message: 'Could not resolve: OB-Morphic [OB-Morphic-cwp.117] in
/Users/mike/Documents/Development/squeak/Squeak4.2beta/package-cache
http://source.wiresong.ca/ob'.

This script appears to have been working fine in December (
http://forum.world.st/loading-Shout-into-trunk-td3071889.html)

Metacello makes my head spin so I can't even understand what's gone wrong,
let alone how to resolve this problem.

The script tries to load the latest version which is 1.2.3. It uses baseline 1.2.1. The specification for #squeakCommon in ConfigurationOfOmniBrowser >> #baseline121: is polluted with Pharo specific stuff (starting from ConfigurationOfOmniBrowser-GuillermoPolito.72), so Metacello is looking for Squeak related packages in Pharo repositories.

You can use this script to load OB until someone updates the configuration:
Installer ss project: 'MetacelloRepository'; install: 'ConfigurationOfOmniBrowser'.
((Smalltalk at: #ConfigurationOfOmniBrowser) project perform: #version: with: '1.2') load: #(Dev).

Note that the configuration doesn't load the latest version of the packages, because some of them are not compatible with Squeak anymore. If we would like to keep using (an up-to-date version of) OB, then we have to make it Squeak compatible again. Either by cooperating with the current developers or if that's not possible, by forking it.


Levente


Cheers,
Michael






Reply | Threaded
Open this post in threaded view
|

Re: "How to extend the system scripts" - Omnibrowser script fails.

Levente Uzonyi-2
On Tue, 11 Jan 2011, Guillermo Polito wrote:

> Sorry, was not my intention!  I have updated the config, and
>
> (ConfigurationOfOmniBrowser project version: '1.2.3') load
>
> is now loading in Squeak4.2-10779-alpha.
>
> Maybe It has not the last version of each package, and it needs to be
> updated.

Thanks for fixing it.


Levente

>
> Cheers!
> Guille
>
> On Mon, Jan 10, 2011 at 10:38 PM, Levente Uzonyi <[hidden email]> wrote:
>
>>
>> Quoting Michael Davies <[hidden email]<mykdavies%[hidden email]>
>>> :
>>
>>  Hi all,
>>>
>>> I just noticed a problem with the script in the 4.2 beta (and I assume in
>>> 4.1).
>>>
>>> The line
>>>
>>> ((Smalltalk at: #ConfigurationOfOmniBrowser) project perform:
>>> #lastVersion)
>>> load: #( Dev ).
>>>
>>>  fails in
>>>
>>> MetacelloFetchingMCSpecLoader(MetacelloCommonMCSpecLoader)>>retryingResolvePackageSpecReferences:gofer:
>>> with error message: 'Could not resolve: OB-Morphic [OB-Morphic-cwp.117] in
>>> /Users/mike/Documents/Development/squeak/Squeak4.2beta/package-cache
>>> http://source.wiresong.ca/ob'.
>>>
>>> This script appears to have been working fine in December (
>>> http://forum.world.st/loading-Shout-into-trunk-td3071889.html)
>>>
>>> Metacello makes my head spin so I can't even understand what's gone wrong,
>>> let alone how to resolve this problem.
>>>
>>
>> The script tries to load the latest version which is 1.2.3. It uses
>> baseline 1.2.1. The specification for #squeakCommon in
>> ConfigurationOfOmniBrowser >> #baseline121: is polluted with Pharo specific
>> stuff (starting from ConfigurationOfOmniBrowser-GuillermoPolito.72), so
>> Metacello is looking for Squeak related packages in Pharo repositories.
>>
>> You can use this script to load OB until someone updates the configuration:
>> Installer ss project: 'MetacelloRepository'; install:
>> 'ConfigurationOfOmniBrowser'.
>> ((Smalltalk at: #ConfigurationOfOmniBrowser) project perform: #version:
>> with: '1.2') load: #(Dev).
>>
>> Note that the configuration doesn't load the latest version of the
>> packages, because some of them are not compatible with Squeak anymore. If we
>> would like to keep using (an up-to-date version of) OB, then we have to make
>> it Squeak compatible again. Either by cooperating with the current
>> developers or if that's not possible, by forking it.
>>
>>
>> Levente
>>
>>
>>> Cheers,
>>> Michael
>>>
>>>
>>
>>
>