TimeZoneDatabase: Can't Install in Squeak 5.1

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

TimeZoneDatabase: Can't Install in Squeak 5.1

Sean P. DeNigris
Administrator
1. I manually loaded ConfigurationOfTimeZoneDatabase from
sqs/TimeZoneDatabase
2. "ConfigurationOfTimeZoneDatabase project stableVersion load" -> unknown
selector #stableVersion
3. "ConfigurationOfTimeZoneDatabase project" -> hangs 4e on "Downloading
Metacello-Base-DaleHenrichs.2.mcz"
4. Install Metacello manually via SqS Catalog -> Hangs 4e on "Downloading
Time-PaulDeBruicker.53"; unable to interrupt; eventually crashes with no
crash dump or debug log

The configuration seems to be okay because I successfully loaded in Pharo
6.1 via:
    Metacello new
        configuration: 'TimeZoneDatabase';
        squeaksource: 'TimeZoneDatabase';
        load

There were just a few failed test (93 passed, 5 fails, 2 errors).



-----
Cheers,
Sean
--
Sent from: http://forum.world.st/Squeak-Dev-f45488.html

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

Re: TimeZoneDatabase: Can't Install in Squeak 5.1

David T. Lewis
Hi Sean,

I am not an expert on Metacello, but I see in ConfigurationOfTimeZoneDatabase>>project
that there is an undeclared reference to MetacelloMCProject, which does not
exist in my image. That may account for the hangups.

I am not sure why the class does not exist, but maybe something to do with
the "Bootstrap Metacello if it is not already loaded" that is supposed to
happen in the same #project method? If MetacelloMCProject is one of the classes
that gets loaded by #ensureMetacello, then maybe it needs exist before the
ConfigurationOfTimeZoneDatabase>>project can be compiled.

Sorry I am out of my depth here but the undeclared MetacelloMCProject looks
suspicious.

Dave

On Fri, Apr 06, 2018 at 05:46:53PM -0700, Sean P. DeNigris wrote:

> 1. I manually loaded ConfigurationOfTimeZoneDatabase from
> sqs/TimeZoneDatabase
> 2. "ConfigurationOfTimeZoneDatabase project stableVersion load" -> unknown
> selector #stableVersion
> 3. "ConfigurationOfTimeZoneDatabase project" -> hangs 4e on "Downloading
> Metacello-Base-DaleHenrichs.2.mcz"
> 4. Install Metacello manually via SqS Catalog -> Hangs 4e on "Downloading
> Time-PaulDeBruicker.53"; unable to interrupt; eventually crashes with no
> crash dump or debug log
>
> The configuration seems to be okay because I successfully loaded in Pharo
> 6.1 via:
>     Metacello new
> configuration: 'TimeZoneDatabase';
> squeaksource: 'TimeZoneDatabase';
> load
>
> There were just a few failed test (93 passed, 5 fails, 2 errors).
>
>
>
> -----
> Cheers,
> Sean
> --
> Sent from: http://forum.world.st/Squeak-Dev-f45488.html
>

Reply | Threaded
Open this post in threaded view
|

Re: TimeZoneDatabase: Can't Install in Squeak 5.1

Sean P. DeNigris
Administrator
David T. Lewis wrote
> there is an undeclared reference to MetacelloMCProject, which does not
> exist in my image. That may account for the hangups.

Hmm, good point. I thought that the old self-bootstrapping Metacello was
guaranteed to work in both Squeak and Pharo (and I see that
ConfigurationOfTimeZoneDatabase has a #squeak platform spec). Maybe I should
ask on the MetaC ML? Are other Squeakers using Metacello? In 5.1?



-----
Cheers,
Sean
--
Sent from: http://forum.world.st/Squeak-Dev-f45488.html

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

Re: TimeZoneDatabase: Can't Install in Squeak 5.1

Tobias Pape

> On 07.04.2018, at 17:56, Sean P. DeNigris <[hidden email]> wrote:
>
> David T. Lewis wrote
>> there is an undeclared reference to MetacelloMCProject, which does not
>> exist in my image. That may account for the hangups.
>
> Hmm, good point. I thought that the old self-bootstrapping Metacello was
> guaranteed to work in both Squeak and Pharo (and I see that
> ConfigurationOfTimeZoneDatabase has a #squeak platform spec). Maybe I should
> ask on the MetaC ML? Are other Squeakers using Metacello? In 5.1?

Bootstrap Metacello as of https://github.com/Metacello/metacello
===================================================================
"Get the Metacello configuration (for Squeak users)"
Installer gemsource
    project: 'metacello';
    addPackage: 'ConfigurationOfMetacello';
    install.

"Bootstrap Metacello Preview, using mcz files #'previewBootstrap' symbolic version"
((Smalltalk at: #ConfigurationOfMetacello) project
  version: #'previewBootstrap') load.

"Load the Preview version of Metacello from GitHub"
(Smalltalk at: #Metacello) new
  configuration: 'MetacelloPreview';
  version: #stable;
  repository: 'github://Metacello/metacello:configuration';
  load.

"Now load latest version of Metacello"
(Smalltalk at: #Metacello) new
  baseline: 'Metacello';
  repository: 'github://Metacello/metacello:master/repository';
  get.
(Smalltalk at: #Metacello) new
  baseline: 'Metacello';
  repository: 'github://Metacello/metacello:master/repository';
  load.
===================================================================

Then do the same as in Pharo
===================================================================
Metacello new
        configuration: 'TimeZoneDatabase';
        squeaksource: 'TimeZoneDatabase';
        load
===================================================================
Best regards
        -Tobias

>
>
> -----
> Cheers,
> Sean
> --
> Sent from: http://forum.world.st/Squeak-Dev-f45488.html
>