Hi ben

I got some similar behavior when the network is not good.

We should improve the loading of packages but this is simple than actually having a bullet proof solution.

It is a couple of years that I think about it: loading in a separate environment and on crash do not install

Stef


Le 5/6/16 à 08:18, Ben Coman a écrit :
On Sun, Jun 5, 2016 at 1:34 PM, Ben Coman <[email protected]> wrote:
I wanted to try out Peter's XMI Analyser with Roassal and went to
download Moose but had a couple of problems.

First try...
In the Launcher under Common Tools, I downloaded and Moose 5.1(stable)
fine, but it is Pharo 4, so tried to download Moose 6.0(beta) -- but
got a problem - big pause, no progress bars, the later ZipArchive
reporting "Error: can't find EOCD position"

Second try...
The web site advises for Moose 6.0 to download the Moose code in a
Pharo 5.0 image per...
       Gofer new
          smalltalkhubUser: 'Moose' project: 'Moose';
          configuration;
          loadDevelopment.

Doing that in build 50760 download with the Launcher produced...
Could not resolve: Phexample [Phexample-NikoSchwarz.57] in
/home/ben/.local/share/Pharo/images/Moose6-50760/package-cache
http://www.squeaksource.com/Moose ERROR: 'GoferRepositoryError: Could
not access http://www.squeaksource.com/phexample: ZnInvalidUTF8:
Illegal leading byte for utf-8 encoding'

Could someone check if they see the same, or maybe my Internet is flakey atm?
(preferably someone who doesn't normally use Moose to avoid package
cache differences)
More info..

The repository defined in Monticello is
     MCSqueaksourceRepository
     location: 'http://www.squeaksource.com/phexample'
     user: ''
     password: ''
which I could not open, again getting...
   MCRepositoryError: Could not access
http://www.squeaksource.com/phexample: ZnInvalidUTF8: Illegal leading
byte for utf-8 encoding

I tried changing to...
    MCHttpRepository
        location: 'http://www.squeaksource.com/phexample'
        user: ''
        password: ''
with no luck.

But from Monticello I can define and successfully open another repository...
MCHttpRepository
     location: 'http://www.squeaksource.com/DavidLightsOut'
     user: ''
     password: ''

The top of stack is...
"a MetacelloFetchingMCSpecLoader(atomic load : 4.4-beta.1 [ConfigurationOfMoose]
load : Filesystem-tg.85
load : Nile-Base-DamienCassou.81)"

btw,
Phexample-NikoSchwarz.57 (2010-10-26) seems quite old,
with the latest on Squeaksource being Phexample-NikoSchwarz.63.mcz2011-08-29;
latest on Smalltalkhub/PharoExtras/Phexample being
Phexample-Core-CamilloBruni.67 (05/03/2013);
latest on Smalltalk/Phexample/Phexample being
Phexample-DenisKudryashov.75 (08/04/2016)

cheers -ben




Reply via email to