Re: [Pharo-users] How do you rotate a morph by degrees

2019-04-26 Thread Steve Quezadas
Yes, that "addFlexOf" thing seems to be the message I needed to add to get
the morph to rotate. Forgive the naive question.

On Thu, Apr 25, 2019 at 9:19 AM K K Subbu  wrote:

> On 25/04/19 7:29 PM, Steve Quezadas wrote:
> > I am trying to rotate an instance of a [Transformation morph]. I am
> > sending an "angle:" message, which should work since "angle:" is listed
> > as a method in it's parent class, yet when I sent a message, it claims
> > "it does not understand #angle". Shouldn't messagepassing forward the
> > message to it's parent class?
>
> Did you mean "TransformationMorph"?
>
> I just tried the one-liner below in Pharo 7 (64b Linux) and it worked
>
> (TransformationMorph new asFlexOf: ('Hello' asMorph)) angle: (Float pi /
> 4); openInHand.
>
> Regards .. Subbu
>
>


Re: [Pharo-users] Pharo 6.0 and 6.1 64 bit freeze on MacMini -also in 7.03

2019-04-26 Thread TedVanGaalen
Hi Stephan,
Pending: (Which VM?) 
If you still think trying a VM with Pharo 7 on my Mac is
important for you to conquer the bug in the VM, 
then please tell me which VM I should try out on my Mac.
Regards
TedvG



--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html



Re: [Pharo-users] Pharo 6.0 and 6.1 64 bit freeze on MacMini -also in 7.03

2019-04-26 Thread Stephan Eggermont
TedVanGaalen  wrote:
> Hi Stephan 
> I am a bit confused, not really at home in your VM world,
> so please send me a link for the VM + an Image that you'd like me to try on
> my mac.
> Thanks 
> Ted
> 
> 
> 
> 
> --
> Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
> 
> 
> 

See github issue. Vm from files.pharo.org





[Pharo-users] How to make Metacello ignore package cache?

2019-04-26 Thread Hernán Morales Durand
Hi guys,

Is there any way to tell Metacello to ignore the local package cache
after a failed load?

Say I tried to load:

Metacello new
configuration: 'MyConfig';
repository: 'github://hernanmd/MyPackage';
load.

Then I figure the "repository" path is missing and I add it:

Metacello new
configuration: 'MyConfig';
repository: 'github://hernanmd/MyPackage/repository';
load.

And I get this exception: Could not resolve: ConfigurationOfMyConfig
[ConfigurationOfMyConfig] in
D:\Hernan\Pharo703\pharo-local\package-cache
https://github.com/hernanmd/MyPackage.git[master]

It doesn't matter if I use #onConflictUseIncoming or

MetacelloPlatform current defaultPackageCache flushCache.

I cannot find a way to specify to ignore the cache.
Any ideas?

Cheers,

Hernán



Re: [Pharo-users] How to make Metacello ignore package cache?

2019-04-26 Thread Dale Henrichs
I'm not exactly sure why you are getting the error, but the standard way 
to deal with a package-cache issue (or at least eliminate the 
package-cache as the real culprit) is to clear the package-cage in the 
Monticello browser ...


An alternative (or next step) would be to try the following:

Metacello new
configuration: 'MyConfig';
repository: 'github://hernanmd/MyPackage/repository';
get

the `get` forces a reload of ConfigurationOfMyConfig from the source 
repository ...


If that doesn't work, please supply a complete Transcript of your 
Metacello `get` episode, so that I can try to figure out what is going 
wrong ...


Dale

On 4/26/19 10:40 AM, Hernán Morales Durand wrote:

Hi guys,

Is there any way to tell Metacello to ignore the local package cache
after a failed load?

Say I tried to load:

Metacello new
 configuration: 'MyConfig';
 repository: 'github://hernanmd/MyPackage';
 load.

Then I figure the "repository" path is missing and I add it:

Metacello new
 configuration: 'MyConfig';
 repository: 'github://hernanmd/MyPackage/repository';
 load.

And I get this exception: Could not resolve: ConfigurationOfMyConfig
[ConfigurationOfMyConfig] in
D:\Hernan\Pharo703\pharo-local\package-cache
https://github.com/hernanmd/MyPackage.git[master]

It doesn't matter if I use #onConflictUseIncoming or

MetacelloPlatform current defaultPackageCache flushCache.

I cannot find a way to specify to ignore the cache.
Any ideas?

Cheers,

Hernán





Re: [Pharo-users] How to make Metacello ignore package cache?

2019-04-26 Thread Hernán Morales Durand
Hi Dale,

El vie., 26 abr. 2019 a las 15:12, Dale Henrichs
() escribió:
>
> I'm not exactly sure why you are getting the error, but the standard way
> to deal with a package-cache issue (or at least eliminate the
> package-cache as the real culprit) is to clear the package-cage in the
> Monticello browser ...

Ok, I will look for a way to do it programatically.

>
> An alternative (or next step) would be to try the following:
>
> Metacello new
>  configuration: 'MyConfig';
>  repository: 'github://hernanmd/MyPackage/repository';
>  get
>
> the `get` forces a reload of ConfigurationOfMyConfig from the source
> repository ...
>
> If that doesn't work, please supply a complete Transcript of your
> Metacello `get` episode, so that I can try to figure out what is going
> wrong ...


The Transcript after get is:

...RETRY->ConfigurationOfGADM
...RETRY->ConfigurationOfGADM
...FAILED->ConfigurationOfGADM

This is the actual script I tried with the get:

Metacello new
 configuration: 'GADM';
 repository: 'github://hernanmd/GADM/repository';
 get.

For this repository : https://github.com/hernanmd/GADM

Cheers,

Hernán


>
> Dale
>
> On 4/26/19 10:40 AM, Hernán Morales Durand wrote:
> > Hi guys,
> >
> > Is there any way to tell Metacello to ignore the local package cache
> > after a failed load?
> >
> > Say I tried to load:
> >
> > Metacello new
> >  configuration: 'MyConfig';
> >  repository: 'github://hernanmd/MyPackage';
> >  load.
> >
> > Then I figure the "repository" path is missing and I add it:
> >
> > Metacello new
> >  configuration: 'MyConfig';
> >  repository: 'github://hernanmd/MyPackage/repository';
> >  load.
> >
> > And I get this exception: Could not resolve: ConfigurationOfMyConfig
> > [ConfigurationOfMyConfig] in
> > D:\Hernan\Pharo703\pharo-local\package-cache
> > https://github.com/hernanmd/MyPackage.git[master]
> >
> > It doesn't matter if I use #onConflictUseIncoming or
> >
> > MetacelloPlatform current defaultPackageCache flushCache.
> >
> > I cannot find a way to specify to ignore the cache.
> > Any ideas?
> >
> > Cheers,
> >
> > Hernán
> >
>



Re: [Pharo-users] How to make Metacello ignore package cache?

2019-04-26 Thread Dale Henrichs

Hernán,

The multiple retrying messages imply that Metacello/Monticello is not 
able to download the ConfigurationOf ... which points to another issue: 
a ConfigurationOf cannot really be used with a git repository ... a 
ConfigurationOf should only be used with a http:// repo  ... you should 
be using a BaselineOf with a git repository ...


Dale

On 4/26/19 11:11 AM, Hernán Morales Durand wrote:

Hi Dale,

El vie., 26 abr. 2019 a las 15:12, Dale Henrichs
() escribió:

I'm not exactly sure why you are getting the error, but the standard way
to deal with a package-cache issue (or at least eliminate the
package-cache as the real culprit) is to clear the package-cage in the
Monticello browser ...

Ok, I will look for a way to do it programatically.


An alternative (or next step) would be to try the following:

Metacello new
  configuration: 'MyConfig';
  repository: 'github://hernanmd/MyPackage/repository';
  get

the `get` forces a reload of ConfigurationOfMyConfig from the source
repository ...

If that doesn't work, please supply a complete Transcript of your
Metacello `get` episode, so that I can try to figure out what is going
wrong ...


The Transcript after get is:

...RETRY->ConfigurationOfGADM
...RETRY->ConfigurationOfGADM
...FAILED->ConfigurationOfGADM

This is the actual script I tried with the get:

Metacello new
  configuration: 'GADM';
  repository: 'github://hernanmd/GADM/repository';
  get.

For this repository : https://github.com/hernanmd/GADM

Cheers,

Hernán



Dale

On 4/26/19 10:40 AM, Hernán Morales Durand wrote:

Hi guys,

Is there any way to tell Metacello to ignore the local package cache
after a failed load?

Say I tried to load:

Metacello new
  configuration: 'MyConfig';
  repository: 'github://hernanmd/MyPackage';
  load.

Then I figure the "repository" path is missing and I add it:

Metacello new
  configuration: 'MyConfig';
  repository: 'github://hernanmd/MyPackage/repository';
  load.

And I get this exception: Could not resolve: ConfigurationOfMyConfig
[ConfigurationOfMyConfig] in
D:\Hernan\Pharo703\pharo-local\package-cache
https://github.com/hernanmd/MyPackage.git[master]

It doesn't matter if I use #onConflictUseIncoming or

MetacelloPlatform current defaultPackageCache flushCache.

I cannot find a way to specify to ignore the cache.
Any ideas?

Cheers,

Hernán





Re: [Pharo-users] How to make Metacello ignore package cache?

2019-04-26 Thread Hernán Morales Durand
I understand. I will create the BaselineOf.
Thank you Dale,

Cheers,

Hernán


El vie., 26 abr. 2019 a las 15:31, Dale Henrichs
() escribió:
>
> Hernán,
>
> The multiple retrying messages imply that Metacello/Monticello is not
> able to download the ConfigurationOf ... which points to another issue:
> a ConfigurationOf cannot really be used with a git repository ... a
> ConfigurationOf should only be used with a http:// repo  ... you should
> be using a BaselineOf with a git repository ...
>
> Dale
>
> On 4/26/19 11:11 AM, Hernán Morales Durand wrote:
> > Hi Dale,
> >
> > El vie., 26 abr. 2019 a las 15:12, Dale Henrichs
> > () escribió:
> >> I'm not exactly sure why you are getting the error, but the standard way
> >> to deal with a package-cache issue (or at least eliminate the
> >> package-cache as the real culprit) is to clear the package-cage in the
> >> Monticello browser ...
> > Ok, I will look for a way to do it programatically.
> >
> >> An alternative (or next step) would be to try the following:
> >>
> >> Metacello new
> >>   configuration: 'MyConfig';
> >>   repository: 'github://hernanmd/MyPackage/repository';
> >>   get
> >>
> >> the `get` forces a reload of ConfigurationOfMyConfig from the source
> >> repository ...
> >>
> >> If that doesn't work, please supply a complete Transcript of your
> >> Metacello `get` episode, so that I can try to figure out what is going
> >> wrong ...
> >
> > The Transcript after get is:
> >
> > ...RETRY->ConfigurationOfGADM
> > ...RETRY->ConfigurationOfGADM
> > ...FAILED->ConfigurationOfGADM
> >
> > This is the actual script I tried with the get:
> >
> > Metacello new
> >   configuration: 'GADM';
> >   repository: 'github://hernanmd/GADM/repository';
> >   get.
> >
> > For this repository : https://github.com/hernanmd/GADM
> >
> > Cheers,
> >
> > Hernán
> >
> >
> >> Dale
> >>
> >> On 4/26/19 10:40 AM, Hernán Morales Durand wrote:
> >>> Hi guys,
> >>>
> >>> Is there any way to tell Metacello to ignore the local package cache
> >>> after a failed load?
> >>>
> >>> Say I tried to load:
> >>>
> >>> Metacello new
> >>>   configuration: 'MyConfig';
> >>>   repository: 'github://hernanmd/MyPackage';
> >>>   load.
> >>>
> >>> Then I figure the "repository" path is missing and I add it:
> >>>
> >>> Metacello new
> >>>   configuration: 'MyConfig';
> >>>   repository: 'github://hernanmd/MyPackage/repository';
> >>>   load.
> >>>
> >>> And I get this exception: Could not resolve: ConfigurationOfMyConfig
> >>> [ConfigurationOfMyConfig] in
> >>> D:\Hernan\Pharo703\pharo-local\package-cache
> >>> https://github.com/hernanmd/MyPackage.git[master]
> >>>
> >>> It doesn't matter if I use #onConflictUseIncoming or
> >>>
> >>> MetacelloPlatform current defaultPackageCache flushCache.
> >>>
> >>> I cannot find a way to specify to ignore the cache.
> >>> Any ideas?
> >>>
> >>> Cheers,
> >>>
> >>> Hernán
> >>>
>