pharo-users@lists.pharo.org

Any question about pharo is welcome

View all threads

Pharo 9 released - a brief experience report

YC
Yanni Chiu
Thu, Jul 15, 2021 6:49 PM

First, great work and thanks to all contributors.

Using macOS Big Sur version 11.4 on MacBook Air 2019...

  1. In a new sub-directory "pharo9" (I was using a pharo8 directory, so
    pharo9 is to keep things separate). In pharo9, I used "curl -L
    https://get.pharo.org/64/ | bash" to get the latest release. Then I
    ran ./pharo-ui to start Pharo. Very strangely, it was able to present
    my pharo8 images to choose for opening. I quit without choosing any
    image, then went looking to find out how it was able to find the
    settings. In the course of that, I realized the default download had
    got me the 8.0 release.

  2. Then I used "curl https://get.pharo.org/90+wm | bash". The image
    came up with a strange looking dialog across the top that indicated
    freetype font lib's could not be loaded. I just proceeded and was able
    to navigate somewhat. The Settings for fonts were completely absent. I
    kept browsing, but more freetype font problems kept appearing.

  3. I then compared the dylib's in the pharo-vm (what I had in pharo8)
    vs. what I just got in pharo9 - very different lists. I copied the
    libfreetype.6.dylib, libfreetype.dylib, and libFT2Plugin.dylib files
    to the new vm, and then the Pharo9 image came up nicely.

  4. I thought I was home free, and continued browsing. I happened to
    look at the Pillar-Core code, and I got "Cannot locate
    libcairo.2.dylib". Browsing a few other places did not show this
    problem. That's it for now. I will try a bit more later, but I'm going
    back to  Pharo8 for today.

Yanni Chiu

First, great work and thanks to all contributors. Using macOS Big Sur version 11.4 on MacBook Air 2019... 1. In a new sub-directory "pharo9" (I was using a pharo8 directory, so pharo9 is to keep things separate). In pharo9, I used "curl -L https://get.pharo.org/64/ | bash" to get the latest release. Then I ran ./pharo-ui to start Pharo. Very strangely, it was able to present my pharo8 images to choose for opening. I quit without choosing any image, then went looking to find out how it was able to find the settings. In the course of that, I realized the default download had got me the 8.0 release. 2. Then I used "curl https://get.pharo.org/90+wm | bash". The image came up with a strange looking dialog across the top that indicated freetype font lib's could not be loaded. I just proceeded and was able to navigate somewhat. The Settings for fonts were completely absent. I kept browsing, but more freetype font problems kept appearing. 3. I then compared the dylib's in the pharo-vm (what I had in pharo8) vs. what I just got in pharo9 - very different lists. I copied the libfreetype.6.dylib, libfreetype.dylib, and libFT2Plugin.dylib files to the new vm, and then the Pharo9 image came up nicely. 4. I thought I was home free, and continued browsing. I happened to look at the Pillar-Core code, and I got "Cannot locate libcairo.2.dylib". Browsing a few other places did not show this problem. That's it for now. I will try a bit more later, but I'm going back to Pharo8 for today. Yanni Chiu
GP
Guillermo Polito
Fri, Jul 16, 2021 10:22 AM

Hi Yanni Chiu,

Thanks for the reports,

El 15 jul 2021, a las 20:49, Yanni Chiu yannix7db@gmail.com escribió:

First, great work and thanks to all contributors.

Using macOS Big Sur version 11.4 on MacBook Air 2019...

  1. In a new sub-directory "pharo9" (I was using a pharo8 directory, so
    pharo9 is to keep things separate). In pharo9, I used "curl -L
    https://get.pharo.org/64/ | bash" to get the latest release. Then I
    ran ./pharo-ui to start Pharo. Very strangely, it was able to present
    my pharo8 images to choose for opening. I quit without choosing any
    image, then went looking to find out how it was able to find the
    settings. In the course of that, I realized the default download had
    got me the 8.0 release.

Yes, this was due to my updates to zeroconf.
There was a missing update at https://get.pharo.org/64/ and https://get.pharo.org/32.

I’ve fixed these and wrote an issue to automate this in the future https://github.com/pharo-project/pharo-zeroconf/issues/34

  1. Then I used "curl https://get.pharo.org/90+wm | bash". The image
    came up with a strange looking dialog across the top that indicated
    freetype font lib's could not be loaded. I just proceeded and was able
    to navigate somewhat. The Settings for fonts were completely absent. I
    kept browsing, but more freetype font problems kept appearing.

  2. I then compared the dylib's in the pharo-vm (what I had in pharo8)
    vs. what I just got in pharo9 - very different lists. I copied the
    libfreetype.6.dylib, libfreetype.dylib, and libFT2Plugin.dylib files
    to the new vm, and then the Pharo9 image came up nicely.

  3. I thought I was home free, and continued browsing. I happened to
    look at the Pillar-Core code, and I got "Cannot locate
    libcairo.2.dylib". Browsing a few other places did not show this
    problem. That's it for now. I will try a bit more later, but I'm going
    back to  Pharo8 for today.

Pablo has updated the VMs just some minutes ago, so these issues should be resolved.

Thanks again! :)

Guille

Yanni Chiu

Hi Yanni Chiu, Thanks for the reports, > El 15 jul 2021, a las 20:49, Yanni Chiu <yannix7db@gmail.com> escribió: > > First, great work and thanks to all contributors. > > Using macOS Big Sur version 11.4 on MacBook Air 2019... > > 1. In a new sub-directory "pharo9" (I was using a pharo8 directory, so > pharo9 is to keep things separate). In pharo9, I used "curl -L > https://get.pharo.org/64/ | bash" to get the latest release. Then I > ran ./pharo-ui to start Pharo. Very strangely, it was able to present > my pharo8 images to choose for opening. I quit without choosing any > image, then went looking to find out how it was able to find the > settings. In the course of that, I realized the default download had > got me the 8.0 release. Yes, this was due to my updates to zeroconf. There was a missing update at https://get.pharo.org/64/ and https://get.pharo.org/32. I’ve fixed these and wrote an issue to automate this in the future https://github.com/pharo-project/pharo-zeroconf/issues/34 > > 2. Then I used "curl https://get.pharo.org/90+wm | bash". The image > came up with a strange looking dialog across the top that indicated > freetype font lib's could not be loaded. I just proceeded and was able > to navigate somewhat. The Settings for fonts were completely absent. I > kept browsing, but more freetype font problems kept appearing. > > 3. I then compared the dylib's in the pharo-vm (what I had in pharo8) > vs. what I just got in pharo9 - very different lists. I copied the > libfreetype.6.dylib, libfreetype.dylib, and libFT2Plugin.dylib files > to the new vm, and then the Pharo9 image came up nicely. > > 4. I thought I was home free, and continued browsing. I happened to > look at the Pillar-Core code, and I got "Cannot locate > libcairo.2.dylib". Browsing a few other places did not show this > problem. That's it for now. I will try a bit more later, but I'm going > back to Pharo8 for today. Pablo has updated the VMs just some minutes ago, so these issues should be resolved. Thanks again! :) Guille > > Yanni Chiu
YC
Yanni Chiu
Fri, Jul 16, 2021 4:17 PM

Thanks for updating the release.

I’ve downloaded again using “curl -L https://get.pharo.org/64/ |
bash”, and Pharo 9.0.0 came up without problem.

BTW, I noticed that the vm it downloaded today, was:
http://files.pharo.org/get-files/90/pharo-vm-Darwin-x86_64-stable.zip

Yesterday, when I poked around some more, I decided to download:
https://files.pharo.org/get-files/90/pharo64-mac-headless-latest.zip
which looked to be newest available.
It mostly worked, but I got some debuggers when trying the Spec and
Spec2 examples (and even saw the dreaded pane with the X, which I’ve
not seen in years). With today’s clean update, I only got one debugger
for the Spec “Buttons” example. (Stack trace below).

KeyboardKey(Object)>>doesNotUnderstand: #asLowercase
ButtonPresenter>>addShortcutTipFor:on:
ButtonPresenter>>addShortcutTipFor:
ButtonPresenter>>label
MorphicButtonAdapter>>label
PluggableButtonMorph>>update:
PluggableButtonMorph>>on:getState:action:label:icon:menu:
PluggableButtonMorph class>>on:getState:action:label:menu:
MorphicButtonAdapter>>buildWidget
MorphicButtonAdapter(AbstractAdapter)>>adapt:
SpecInterpreter>>actionToPerformWithSelector:arguments:
SpecInterpreter>>performNextSelectorAndIncrementIndex
SpecInterpreter>>interpretASpec:selector:
SpecInterpreter>>interpretASpec:model:selector:
SpecInterpreter class>>private_interpretASpec:model:selector:
SpecInterpreter class>>private_buildWidgetFor:withSpec:
ButtonPresenter(ComposablePresenter)>>privateAdapterFromModel:withSpec:
ButtonPresenter(ComposablePresenter)>>private_buildWithSpec:
ButtonPresenter(ComposablePresenter)>>private_buildWithSpec
SpecInterpreter>>returnInterpretationOf:
SpecInterpreter>>interpretASpec:selector:
SpecInterpreter>>interpretASpec:model:selector:
SpecInterpreter class>>private_interpretASpec:model:selector:
SpecInterpreter>>computeSpecFrom:selector:
SpecInterpreter>>retrieveSpecFrom:selector:
SpecInterpreter>>interpretASpec:selector:
SpecInterpreter>>interpretASpec:model:selector:
SpecInterpreter class>>private_interpretASpec:model:selector:
[ :each | self class private_interpretASpec: each model: model
selector: spec selector ] in
SpecInterpreter>>performNextSelectorAndIncrementIndex in Block: [
:each | self class private_interpretASpec: each ...etc...
Array(SequenceableCollection)>>collect:

Thanks for updating the release. I’ve downloaded again using “curl -L https://get.pharo.org/64/ | bash”, and Pharo 9.0.0 came up without problem. BTW, I noticed that the vm it downloaded today, was: http://files.pharo.org/get-files/90/pharo-vm-Darwin-x86_64-stable.zip Yesterday, when I poked around some more, I decided to download: https://files.pharo.org/get-files/90/pharo64-mac-headless-latest.zip which looked to be newest available. It mostly worked, but I got some debuggers when trying the Spec and Spec2 examples (and even saw the dreaded pane with the X, which I’ve not seen in years). With today’s clean update, I only got one debugger for the Spec “Buttons” example. (Stack trace below). ==== KeyboardKey(Object)>>doesNotUnderstand: #asLowercase ButtonPresenter>>addShortcutTipFor:on: ButtonPresenter>>addShortcutTipFor: ButtonPresenter>>label MorphicButtonAdapter>>label PluggableButtonMorph>>update: PluggableButtonMorph>>on:getState:action:label:icon:menu: PluggableButtonMorph class>>on:getState:action:label:menu: MorphicButtonAdapter>>buildWidget MorphicButtonAdapter(AbstractAdapter)>>adapt: SpecInterpreter>>actionToPerformWithSelector:arguments: SpecInterpreter>>performNextSelectorAndIncrementIndex SpecInterpreter>>interpretASpec:selector: SpecInterpreter>>interpretASpec:model:selector: SpecInterpreter class>>private_interpretASpec:model:selector: SpecInterpreter class>>private_buildWidgetFor:withSpec: ButtonPresenter(ComposablePresenter)>>privateAdapterFromModel:withSpec: ButtonPresenter(ComposablePresenter)>>private_buildWithSpec: ButtonPresenter(ComposablePresenter)>>private_buildWithSpec SpecInterpreter>>returnInterpretationOf: SpecInterpreter>>interpretASpec:selector: SpecInterpreter>>interpretASpec:model:selector: SpecInterpreter class>>private_interpretASpec:model:selector: SpecInterpreter>>computeSpecFrom:selector: SpecInterpreter>>retrieveSpecFrom:selector: SpecInterpreter>>interpretASpec:selector: SpecInterpreter>>interpretASpec:model:selector: SpecInterpreter class>>private_interpretASpec:model:selector: [ :each | self class private_interpretASpec: each model: model selector: spec selector ] in SpecInterpreter>>performNextSelectorAndIncrementIndex in Block: [ :each | self class private_interpretASpec: each ...etc... Array(SequenceableCollection)>>collect:
GP
Guillermo Polito
Mon, Jul 19, 2021 7:57 AM

Hi Yanni,

Now vms are organised by architecture.
The link to get the lastest vm for Darwin x86_64 is now

https://files.pharo.org/get-files/90/pharo-vm-Darwin-x86_64-latest.zip

Otherwise, we recommend using zeroconf or the pharo launcher, as they detect your machine’s architecture and download the right thing for you regardless of the link.

Cheers,
G

El 16 jul 2021, a las 18:17, Yanni Chiu yannix7db@gmail.com escribió:

Thanks for updating the release.

I’ve downloaded again using “curl -L https://get.pharo.org/64/ |
bash”, and Pharo 9.0.0 came up without problem.

BTW, I noticed that the vm it downloaded today, was:
http://files.pharo.org/get-files/90/pharo-vm-Darwin-x86_64-stable.zip

Yesterday, when I poked around some more, I decided to download:
https://files.pharo.org/get-files/90/pharo64-mac-headless-latest.zip
which looked to be newest available.
It mostly worked, but I got some debuggers when trying the Spec and
Spec2 examples (and even saw the dreaded pane with the X, which I’ve
not seen in years). With today’s clean update, I only got one debugger
for the Spec “Buttons” example. (Stack trace below).

KeyboardKey(Object)>>doesNotUnderstand: #asLowercase
ButtonPresenter>>addShortcutTipFor:on:
ButtonPresenter>>addShortcutTipFor:
ButtonPresenter>>label
MorphicButtonAdapter>>label
PluggableButtonMorph>>update:
PluggableButtonMorph>>on:getState:action:label:icon:menu:
PluggableButtonMorph class>>on:getState:action:label:menu:
MorphicButtonAdapter>>buildWidget
MorphicButtonAdapter(AbstractAdapter)>>adapt:
SpecInterpreter>>actionToPerformWithSelector:arguments:
SpecInterpreter>>performNextSelectorAndIncrementIndex
SpecInterpreter>>interpretASpec:selector:
SpecInterpreter>>interpretASpec:model:selector:
SpecInterpreter class>>private_interpretASpec:model:selector:
SpecInterpreter class>>private_buildWidgetFor:withSpec:
ButtonPresenter(ComposablePresenter)>>privateAdapterFromModel:withSpec:
ButtonPresenter(ComposablePresenter)>>private_buildWithSpec:
ButtonPresenter(ComposablePresenter)>>private_buildWithSpec
SpecInterpreter>>returnInterpretationOf:
SpecInterpreter>>interpretASpec:selector:
SpecInterpreter>>interpretASpec:model:selector:
SpecInterpreter class>>private_interpretASpec:model:selector:
SpecInterpreter>>computeSpecFrom:selector:
SpecInterpreter>>retrieveSpecFrom:selector:
SpecInterpreter>>interpretASpec:selector:
SpecInterpreter>>interpretASpec:model:selector:
SpecInterpreter class>>private_interpretASpec:model:selector:
[ :each | self class private_interpretASpec: each model: model
selector: spec selector ] in
SpecInterpreter>>performNextSelectorAndIncrementIndex in Block: [
:each | self class private_interpretASpec: each ...etc...
Array(SequenceableCollection)>>collect:

Hi Yanni, Now vms are organised by architecture. The link to get the lastest vm for Darwin x86_64 is now https://files.pharo.org/get-files/90/pharo-vm-Darwin-x86_64-latest.zip Otherwise, we recommend using zeroconf or the pharo launcher, as they detect your machine’s architecture and download the right thing for you regardless of the link. Cheers, G > El 16 jul 2021, a las 18:17, Yanni Chiu <yannix7db@gmail.com> escribió: > > Thanks for updating the release. > > I’ve downloaded again using “curl -L https://get.pharo.org/64/ | > bash”, and Pharo 9.0.0 came up without problem. > > BTW, I noticed that the vm it downloaded today, was: > http://files.pharo.org/get-files/90/pharo-vm-Darwin-x86_64-stable.zip > > Yesterday, when I poked around some more, I decided to download: > https://files.pharo.org/get-files/90/pharo64-mac-headless-latest.zip > which looked to be newest available. > It mostly worked, but I got some debuggers when trying the Spec and > Spec2 examples (and even saw the dreaded pane with the X, which I’ve > not seen in years). With today’s clean update, I only got one debugger > for the Spec “Buttons” example. (Stack trace below). > ==== > KeyboardKey(Object)>>doesNotUnderstand: #asLowercase > ButtonPresenter>>addShortcutTipFor:on: > ButtonPresenter>>addShortcutTipFor: > ButtonPresenter>>label > MorphicButtonAdapter>>label > PluggableButtonMorph>>update: > PluggableButtonMorph>>on:getState:action:label:icon:menu: > PluggableButtonMorph class>>on:getState:action:label:menu: > MorphicButtonAdapter>>buildWidget > MorphicButtonAdapter(AbstractAdapter)>>adapt: > SpecInterpreter>>actionToPerformWithSelector:arguments: > SpecInterpreter>>performNextSelectorAndIncrementIndex > SpecInterpreter>>interpretASpec:selector: > SpecInterpreter>>interpretASpec:model:selector: > SpecInterpreter class>>private_interpretASpec:model:selector: > SpecInterpreter class>>private_buildWidgetFor:withSpec: > ButtonPresenter(ComposablePresenter)>>privateAdapterFromModel:withSpec: > ButtonPresenter(ComposablePresenter)>>private_buildWithSpec: > ButtonPresenter(ComposablePresenter)>>private_buildWithSpec > SpecInterpreter>>returnInterpretationOf: > SpecInterpreter>>interpretASpec:selector: > SpecInterpreter>>interpretASpec:model:selector: > SpecInterpreter class>>private_interpretASpec:model:selector: > SpecInterpreter>>computeSpecFrom:selector: > SpecInterpreter>>retrieveSpecFrom:selector: > SpecInterpreter>>interpretASpec:selector: > SpecInterpreter>>interpretASpec:model:selector: > SpecInterpreter class>>private_interpretASpec:model:selector: > [ :each | self class private_interpretASpec: each model: model > selector: spec selector ] in > SpecInterpreter>>performNextSelectorAndIncrementIndex in Block: [ > :each | self class private_interpretASpec: each ...etc... > Array(SequenceableCollection)>>collect: