PlotMorph on Pharo 6.1
I downloaded 64bit Pharo from <http://files.pharo.org/platform/Pharo6.1-64-mac.zip> Started it and first thing opend Catalog Browser. I searched for plot Chose pLotMorph and chose Install Stable Version I got an Information window saying There was an error trying to install PlotMorph. Installation was cancelled. So 1) Does PlotMorph work as it is in the SystemCatalog I assume so. So how shoulkd I load it? 2) How can I see what the error actuially was 3) How can I actually capure the popup window to cut and paste the error. -- Mark
Mark, Open a Transcript window before loading PlotMorph. Which error message do you get there? --Hannes On 9/10/17, Mark Bestley <st@bestley.co.uk> wrote:
I downloaded 64bit Pharo from <http://files.pharo.org/platform/Pharo6.1-64-mac.zip>
Started it and first thing opend Catalog Browser. I searched for plot Chose pLotMorph and chose Install Stable Version
I got an Information window saying There was an error trying to install PlotMorph. Installation was cancelled.
So 1) Does PlotMorph work as it is in the SystemCatalog I assume so. So how shoulkd I load it? 2) How can I see what the error actuially was 3) How can I actually capure the popup window to cut and paste the error.
-- Mark
Thanks for the report since I need PlotMorph too for a project. What you see is the consequence of lack of validation of published packages. This is years that I'm saying that I need someone to work on that. We got money from inria for Pavel to work on it but the bootstrap was more important :). Stef On Mon, Sep 11, 2017 at 5:05 AM, H. Hirzel <hannes.hirzel@gmail.com> wrote:
Mark,
Open a Transcript window before loading PlotMorph. Which error message do you get there?
--Hannes
On 9/10/17, Mark Bestley <st@bestley.co.uk> wrote:
I downloaded 64bit Pharo from <http://files.pharo.org/platform/Pharo6.1-64-mac.zip>
Started it and first thing opend Catalog Browser. I searched for plot Chose pLotMorph and chose Install Stable Version
I got an Information window saying There was an error trying to install PlotMorph. Installation was cancelled.
So 1) Does PlotMorph work as it is in the SystemCatalog I assume so. So how shoulkd I load it? 2) How can I see what the error actuially was 3) How can I actually capure the popup window to cut and paste the error.
-- Mark
The message after loading on the Transcript is Loaded -> Magritte-GT-SeanDeNigris.6 --- http://smalltalkhub.com/mc/Magritte/Magritte3/main/ --- cache ...finished 3.5.1 Fetched -> ConfigurationOfPlotMorph-StephaneDucasse.3 --- http://smalltalkhub.com/mc/Pharo/MetaRepoForPharo60/main/ --- http://smalltalkhub.com/mc/Pharo/MetaRepoForPharo60/main/ Loaded -> ConfigurationOfPlotMorph-StephaneDucasse.3 --- http://smalltalkhub.com/mc/Pharo/MetaRepoForPharo60/main/ --- http://smalltalkhub.com/mc/Pharo/MetaRepoForPharo60/main/The version '1.0' is not defined in ConfigurationOfPlotMorph for the current platform, because an exception occurred while creating the version:. MessageNotUnderstood: receiver of "package:with:constructor:" is nil. Evaluate the following to see the error: '[ConfigurationOfPlotMorph project ] on: MetacelloErrorInProjectConstructionNotification do: [:ex | ex resume: true ].' Possible versions include: #(#bleedingEdge #development #stable '1.0-baseline') On 9/11/17, Stephane Ducasse <stepharo.self@gmail.com> wrote:
Thanks for the report since I need PlotMorph too for a project. What you see is the consequence of lack of validation of published packages. This is years that I'm saying that I need someone to work on that. We got money from inria for Pavel to work on it but the bootstrap was more important :).
Stef
On Mon, Sep 11, 2017 at 5:05 AM, H. Hirzel <hannes.hirzel@gmail.com> wrote:
Mark,
Open a Transcript window before loading PlotMorph. Which error message do you get there?
--Hannes
On 9/10/17, Mark Bestley <st@bestley.co.uk> wrote:
I downloaded 64bit Pharo from <http://files.pharo.org/platform/Pharo6.1-64-mac.zip>
Started it and first thing opend Catalog Browser. I searched for plot Chose pLotMorph and chose Install Stable Version
I got an Information window saying There was an error trying to install PlotMorph. Installation was cancelled.
So 1) Does PlotMorph work as it is in the SystemCatalog I assume so. So how shoulkd I load it? 2) How can I see what the error actuially was 3) How can I actually capure the popup window to cut and paste the error.
-- Mark
In this case shouldm't the catalog only be added to if someone actually takes an action to do this - then there is a chance the code would be checked. Otherwise rollinmg over from one release to another just accumulates junk. Stephane Ducasse <stepharo.self@gmail.com> wrote:
Thanks for the report since I need PlotMorph too for a project. What you see is the consequence of lack of validation of published packages. This is years that I'm saying that I need someone to work on that. We got money from inria for Pavel to work on it but the bootstrap was more important :).
-- Mark
Mark Bestley <st@bestley.co.uk> wrote:
In this case shouldm't the catalog only be added to if someone actually takes an action to do this - then there is a chance the code would be checked. Otherwise rollinmg over from one release to another just accumulates junk.
OK I am now more confused as I see that suggestion does not work. Looking for graphing packages I tried to load GraphET - which gives a popup box GraphET has not been marked as tested for Pharo6! Do you want to continue (installation could fail) Which seems to me to be a good feature, But does imply some packages have been added and marked as tested without being tested which does raise a large doubt in my mind as to what is supposed to work and how can I trust parts of the system which are marked as working.
Stephane Ducasse <stepharo.self@gmail.com> wrote:
Thanks for the report since I need PlotMorph too for a project. What you see is the consequence of lack of validation of published packages. This is years that I'm saying that I need someone to work on that. We got money from inria for Pavel to work on it but the bootstrap was more important :).
-- Mark
Hi Mark, In case you are not tied to PlotMorph, you can use Roassal for your drawing. Roassal supports Grapher, which is a resurrection of GraphET. Documentation is available on: http://agilevisualization.com/AgileVisualization/Grapher/0203-Grapher.html <http://agilevisualization.com/AgileVisualization/Grapher/0203-Grapher.html> Open Pharo 6, load Roassal using: Gofer it smalltalkhubUser: 'ObjectProfile' project: 'Roassal2'; configurationOf: 'Roassal2'; loadDevelopment And type in a playground: b := RTGrapher new. ds := RTData new. ds noDot. ds points: (0 to: 3.1415 * 5 by: 0.01). ds y: #sin. ds x: #yourself. ds connectColor: (Color red alpha: 0.4). b add: ds. ds := RTData new. ds noDot. ds points: (0 to: 3.1415 * 5 by: 0.01). ds y: #cos. ds x: #yourself. ds connectColor: (Color blue alpha: 0.4). b add: ds. b You will get: Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
On Sep 13, 2017, at 2:49 PM, Mark Bestley <st@bestley.co.uk> wrote:
Mark Bestley <st@bestley.co.uk> wrote:
In this case shouldm't the catalog only be added to if someone actually takes an action to do this - then there is a chance the code would be checked. Otherwise rollinmg over from one release to another just accumulates junk.
OK I am now more confused as I see that suggestion does not work.
Looking for graphing packages I tried to load GraphET - which gives a popup box
GraphET has not been marked as tested for Pharo6! Do you want to continue (installation could fail)
Which seems to me to be a good feature,
But does imply some packages have been added and marked as tested without being tested which does raise a large doubt in my mind as to what is supposed to work and how can I trust parts of the system which are marked as working.
Stephane Ducasse <stepharo.self@gmail.com> wrote:
Thanks for the report since I need PlotMorph too for a project. What you see is the consequence of lack of validation of published packages. This is years that I'm saying that I need someone to work on that. We got money from inria for Pavel to work on it but the bootstrap was more important :).
-- Mark
I do not get what you mean. Stefan fixed the problem so may be there is a problem on 64 bits. I have no idea. So far he fixes the previous problem. So let us fix the new one. But so far I cannot reproduce it. On Wed, Sep 13, 2017 at 7:26 PM, Mark Bestley <st@bestley.co.uk> wrote:
In this case shouldm't the catalog only be added to if someone actually takes an action to do this - then there is a chance the code would be checked. Otherwise rollinmg over from one release to another just accumulates junk.
Stephane Ducasse <stepharo.self@gmail.com> wrote:
Thanks for the report since I need PlotMorph too for a project. What you see is the consequence of lack of validation of published packages. This is years that I'm saying that I need someone to work on that. We got money from inria for Pavel to work on it but the bootstrap was more important :).
-- Mark
On 10-09-17 23:04, Mark Bestley wrote:
I downloaded 64bit Pharo from <http://files.pharo.org/platform/Pharo6.1-64-mac.zip>
Started it and first thing opend Catalog Browser. I searched for plot Chose pLotMorph and chose Install Stable Version
I got an Information window saying There was an error trying to install PlotMorph. Installation was cancelled.
To debug this: Instead of installing the stable version, load the configuration. Type shift-enter to open Spotter. Type Plot and enter to find ConfigurationOfPlotMorph and browse it. First take a look at method #stable to see what is defined there stable: spec <symbolicVersion: #'stable'> spec for: #'pharo3.x' version: '1.0'. spec for: #'pharo5.x' version: '1.0'. spec for: #'pharo6.x' version: '1.0'. That looks good, a stable version is defined for Pharo 6. A stable version is missing for Pharo 7 Take a look at #version10: version10: spec <version: '1.0'> spec package: 'PlotMorph' with: 'PlotMorph-StephaneDucasse.7'. Hmm, that doesn't look good. That is not a complete Metacello spec. It looks like the reference to the baseline is missing. baseline10: spec <version: '1.0-baseline'> spec for: #pharo do: [ spec blessing: #baseline. spec description: 'First Full Configuration'. spec author: 'StephaneDucasse'. spec timestamp: '29/12/2013 12:29'. spec repository: 'http://www.smalltalkhub.com/PharoExtras/PlotMorph/main'. spec package: 'PlotMorph' ]. Yep, there is the missing information. So let's fix the version10. We can do it in place, as this can not have worked. Otherwise we would have had to add a new version, and updated the #stable. Name: ConfigurationOfPlotMorph-StephanEggermont.4 Author: StephanEggermont Time: 11 September 2017, 12:09:08.46706 pm UUID: d297b6da-4815-0d00-8219-91680d9ac81c Ancestors: ConfigurationOfPlotMorph-StephaneDucasse.3 Fixed version10, added pharo 7 Stephan
AxesMorph>drawGridOn: aCanvas | gridColor right bottom width height lighter darker baseColor | baseColor := self baseColor. lighter := baseColor twiceLighter. darker := baseColor twiceDarker. gridColor := (lighter diff: baseColor) > (darker diff: baseColor) ifTrue: [lighter] ifFalse: [darker]. right := self bounds width - margin. width := self bounds width - (margin * 2). bottom := self bounds height - margin. height := self bounds height - (margin * 2). (margin to: right by: width / 10) do: [:x | x := x rounded. aCanvas line: x @ margin to: x @ bottom color: gridColor]. (margin to: bottom by: height / 10) do: [:y | y := y rounded. aCanvas line: margin @ y to: right @ y color: gridColor] the assignment to the block parameter x := x rounded is in red in Pharo 7. Is that not (/no longer) allowed? Name: PlotMorph-StephanEggermont.8 Author: StephanEggermont Time: 11 September 2017, 12:27:45.971839 pm UUID: f65d521d-4915-0d00-821a-53ce0d9ac81c Ancestors: PlotMorph-StephaneDucasse.7 Added <example> pragmas to PlotMorph. Opened examples in a window. Replaced #deprecatedExplanation: by #deprecated: Fixed PlotPoint constructor Name: ConfigurationOfPlotMorph-StephanEggermont.5 Author: StephanEggermont Time: 11 September 2017, 12:29:19.779132 pm UUID: adbfe922-4915-0d00-821b-1f5a0d9ac81c Ancestors: ConfigurationOfPlotMorph-StephanEggermont.4 New version for Pharo 6 and 7
Oops On 11-09-17 12:11, stephan wrote:
Yep, there is the missing information. So let's fix the version10. We can do it in place, as this can not have worked. Otherwise we would have had to add a new version, and updated the #stable.
version10: spec <version: '1.0' imports: #('1.0-baseline' )> spec for: #pharo do: [ spec blessing: #release. spec package: 'PlotMorph' with: 'PlotMorph-StephaneDucasse.7']
Thanks Stefan On Mon, Sep 11, 2017 at 2:00 PM, stephan <stephan@stack.nl> wrote:
Oops
On 11-09-17 12:11, stephan wrote:
Yep, there is the missing information. So let's fix the version10. We can do it in place, as this can not have worked. Otherwise we would have had to add a new version, and updated the #stable.
version10: spec <version: '1.0' imports: #('1.0-baseline' )>
spec for: #pharo do: [ spec blessing: #release. spec package: 'PlotMorph' with: 'PlotMorph-StephaneDucasse.7']
Stefan (Did you publish the configuration in the PlotMorph repo?) ifTrue: [ Stefan isPerfect ] On Mon, Sep 11, 2017 at 7:19 PM, Stephane Ducasse <stepharo.self@gmail.com> wrote:
Thanks Stefan
On Mon, Sep 11, 2017 at 2:00 PM, stephan <stephan@stack.nl> wrote:
Oops
On 11-09-17 12:11, stephan wrote:
Yep, there is the missing information. So let's fix the version10. We can do it in place, as this can not have worked. Otherwise we would have had to add a new version, and updated the #stable.
version10: spec <version: '1.0' imports: #('1.0-baseline' )>
spec for: #pharo do: [ spec blessing: #release. spec package: 'PlotMorph' with: 'PlotMorph-StephaneDucasse.7']
Stephane Ducasse <stepharo.self@gmail.com> wrote:
Excellent!
On Mon, Sep 11, 2017 at 8:10 PM, stephan <stephan@stack.nl> wrote:
On 11-09-17 19:20, Stephane Ducasse wrote:
Stefan
(Did you publish the configuration in the PlotMorph repo?) ifTrue: [ Stefan isPerfect ]
PlotMorph, MetaRepos for Pharo 5 and 6 :)
Unfortunatley not. That error has gone but I now get Fetched -> ConfigurationOfPlotMorph-StephanEggermont.5 --- http://smalltalkhub.com/mc/Pharo/MetaRepoForPharo60/main/ --- http://smalltalkhub.com/mc/Pharo/MetaRepoForPharo60/main/ Loaded -> ConfigurationOfPlotMorph-StephanEggermont.5 --- http://smalltalkhub.com/mc/Pharo/MetaRepoForPharo60/main/ --- http://smalltalkhub.com/mc/Pharo/MetaRepoForPharo60/main/ Loading 1.1 of ConfigurationOfPlotMorph... Fetched -> PlotMorph-StephanEggermont.8 --- http://smalltalkhub.com/mc/PharoExtras/PlotMorph/main/ --- http://smalltalkhub.com/mc/PharoExtras/PlotMorph/main/ OCStoreIntoReadOnlyVariableError: Cannot store into PlotMorphGrid drawGridOn: aCanvas | gridColor lighter darker baseColor bounds | baseColor := plot baseColor alpha: 1. lighter := baseColor twiceLighter. darker := baseColor twiceDarker. gridColor := (lighter diff: baseColor) > (darker diff: baseColor) ifTrue: [ lighter ] ifFalse: [ darker ]. bounds := plot drawBounds. (bounds left to: bounds right by: (self bestStep: bounds width)) do: [ :x | x := x rounded. aCanvas line: x @ bounds top to: x @ bounds bottom color: gridColor ]. (bounds top to: bounds bottom by: (self bestStep: bounds height)) do: [ :y | y := y rounded. aCanvas line: bounds left @ y to: bounds right @ y color: gridColor ] OCStoreIntoReadOnlyVariableError: Cannot store into PlotMorphGrid drawGridOn: aCanvas | gridColor lighter darker baseColor bounds | baseColor := plot baseColor alpha: 1. lighter := baseColor twiceLighter. darker := baseColor twiceDarker. gridColor := (lighter diff: baseColor) > (darker diff: baseColor) ifTrue: [ lighter ] ifFalse: [ darker ]. bounds := plot drawBounds. (bounds left to: bounds right by: (self bestStep: bounds width)) do: [ :x | x := x rounded. aCanvas line: x @ bounds top to: x @ bounds bottom color: gridColor ]. (bounds top to: bounds bottom by: (self bestStep: bounds height)) do: [ :y | y := y rounded. aCanvas line: bounds left @ y to: bounds right @ y color: gridColor ] OCStoreIntoReadOnlyVariableError: Cannot store into AxesMorph drawGridOn: aCanvas | gridColor right bottom width height lighter darker baseColor | baseColor := self baseColor. lighter := baseColor twiceLighter. darker := baseColor twiceDarker. gridColor := (lighter diff: baseColor) > (darker diff: baseColor) ifTrue: [ lighter ] ifFalse: [ darker ]. right := self bounds width - margin. width := self bounds width - (margin * 2). bottom := self bounds height - margin. height := self bounds height - (margin * 2). (margin to: right by: width / 10) do: [ :x | x := x rounded. aCanvas line: x @ margin to: x @ bottom color: gridColor ]. (margin to: bottom by: height / 10) do: [ :y | y := y rounded. aCanvas line: margin @ y to: right @ y color: gridColor ] OCStoreIntoReadOnlyVariableError: Cannot store into AxesMorph drawGridOn: aCanvas | gridColor right bottom width height lighter darker baseColor | baseColor := self baseColor. lighter := baseColor twiceLighter. darker := baseColor twiceDarker. gridColor := (lighter diff: baseColor) > (darker diff: baseColor) ifTrue: [ lighter ] ifFalse: [ darker ]. right := self bounds width - margin. width := self bounds width - (margin * 2). bottom := self bounds height - margin. height := self bounds height - (margin * 2). (margin to: right by: width / 10) do: [ :x | x := x rounded. aCanvas line: x @ margin to: x @ bottom color: gridColor ]. (margin to: bottom by: height / 10) do: [ :y | y := y rounded. aCanvas line: margin @ y to: right @ y color: gridColor ] Loaded -> PlotMorph-StephanEggermont.8 --- http://smalltalkhub.com/mc/PharoExtras/PlotMorph/main/ --- cache ...finished 1.1 -- Mark
I think that block arguments are like method arguments and are read only. Now I do not remember. On Wed, Sep 13, 2017 at 8:39 PM, Stephan Eggermont <stephan@stack.nl> wrote:
On 13/09/17 19:22, Mark Bestley wrote:
Unfortunatley not. That error has gone but I now get
x := x rounded.
Yes, that is the question I posed. Assignment to block variables is prohibited now?
Stephan
Alex you should propose stable version and not development to people else they will also may have problem. On Thu, Sep 14, 2017 at 8:43 PM, Stephane Ducasse <stepharo.self@gmail.com> wrote:
I think that block arguments are like method arguments and are read only. Now I do not remember.
On Wed, Sep 13, 2017 at 8:39 PM, Stephan Eggermont <stephan@stack.nl> wrote:
On 13/09/17 19:22, Mark Bestley wrote:
Unfortunatley not. That error has gone but I now get
x := x rounded.
Yes, that is the question I posed. Assignment to block variables is prohibited now?
Stephan
Hi mark live is chaotic here with two or three meetings in parallel, visitors, and a lecture to finish Now I tested. I took a Pharo 6.1 32 bits and loaded PlotMorph from the catalog It load Stefaneggermont.8 Can you tell us how to reproduce your problem? On Wed, Sep 13, 2017 at 7:22 PM, Mark Bestley <st@bestley.co.uk> wrote:
Stephane Ducasse <stepharo.self@gmail.com> wrote:
Excellent!
On Mon, Sep 11, 2017 at 8:10 PM, stephan <stephan@stack.nl> wrote:
On 11-09-17 19:20, Stephane Ducasse wrote:
Stefan
(Did you publish the configuration in the PlotMorph repo?) ifTrue: [ Stefan isPerfect ]
PlotMorph, MetaRepos for Pharo 5 and 6 :)
Unfortunatley not. That error has gone but I now get
Fetched -> ConfigurationOfPlotMorph-StephanEggermont.5 --- http://smalltalkhub.com/mc/Pharo/MetaRepoForPharo60/main/ --- http://smalltalkhub.com/mc/Pharo/MetaRepoForPharo60/main/ Loaded -> ConfigurationOfPlotMorph-StephanEggermont.5 --- http://smalltalkhub.com/mc/Pharo/MetaRepoForPharo60/main/ --- http://smalltalkhub.com/mc/Pharo/MetaRepoForPharo60/main/ Loading 1.1 of ConfigurationOfPlotMorph... Fetched -> PlotMorph-StephanEggermont.8 --- http://smalltalkhub.com/mc/PharoExtras/PlotMorph/main/ --- http://smalltalkhub.com/mc/PharoExtras/PlotMorph/main/ OCStoreIntoReadOnlyVariableError: Cannot store into PlotMorphGrid drawGridOn: aCanvas | gridColor lighter darker baseColor bounds | baseColor := plot baseColor alpha: 1. lighter := baseColor twiceLighter. darker := baseColor twiceDarker. gridColor := (lighter diff: baseColor) > (darker diff: baseColor) ifTrue: [ lighter ] ifFalse: [ darker ]. bounds := plot drawBounds. (bounds left to: bounds right by: (self bestStep: bounds width)) do: [ :x | x := x rounded. aCanvas line: x @ bounds top to: x @ bounds bottom color: gridColor ]. (bounds top to: bounds bottom by: (self bestStep: bounds height)) do: [ :y | y := y rounded. aCanvas line: bounds left @ y to: bounds right @ y color: gridColor ] OCStoreIntoReadOnlyVariableError: Cannot store into PlotMorphGrid drawGridOn: aCanvas | gridColor lighter darker baseColor bounds | baseColor := plot baseColor alpha: 1. lighter := baseColor twiceLighter. darker := baseColor twiceDarker. gridColor := (lighter diff: baseColor) > (darker diff: baseColor) ifTrue: [ lighter ] ifFalse: [ darker ]. bounds := plot drawBounds. (bounds left to: bounds right by: (self bestStep: bounds width)) do: [ :x | x := x rounded. aCanvas line: x @ bounds top to: x @ bounds bottom color: gridColor ]. (bounds top to: bounds bottom by: (self bestStep: bounds height)) do: [ :y | y := y rounded. aCanvas line: bounds left @ y to: bounds right @ y color: gridColor ] OCStoreIntoReadOnlyVariableError: Cannot store into AxesMorph drawGridOn: aCanvas | gridColor right bottom width height lighter darker baseColor | baseColor := self baseColor. lighter := baseColor twiceLighter. darker := baseColor twiceDarker. gridColor := (lighter diff: baseColor) > (darker diff: baseColor) ifTrue: [ lighter ] ifFalse: [ darker ]. right := self bounds width - margin. width := self bounds width - (margin * 2). bottom := self bounds height - margin. height := self bounds height - (margin * 2). (margin to: right by: width / 10) do: [ :x | x := x rounded. aCanvas line: x @ margin to: x @ bottom color: gridColor ]. (margin to: bottom by: height / 10) do: [ :y | y := y rounded. aCanvas line: margin @ y to: right @ y color: gridColor ] OCStoreIntoReadOnlyVariableError: Cannot store into AxesMorph drawGridOn: aCanvas | gridColor right bottom width height lighter darker baseColor | baseColor := self baseColor. lighter := baseColor twiceLighter. darker := baseColor twiceDarker. gridColor := (lighter diff: baseColor) > (darker diff: baseColor) ifTrue: [ lighter ] ifFalse: [ darker ]. right := self bounds width - margin. width := self bounds width - (margin * 2). bottom := self bounds height - margin. height := self bounds height - (margin * 2). (margin to: right by: width / 10) do: [ :x | x := x rounded. aCanvas line: x @ margin to: x @ bottom color: gridColor ]. (margin to: bottom by: height / 10) do: [ :y | y := y rounded. aCanvas line: margin @ y to: right @ y color: gridColor ] Loaded -> PlotMorph-StephanEggermont.8 --- http://smalltalkhub.com/mc/PharoExtras/PlotMorph/main/ --- cache ...finished 1.1
-- Mark
Stephane Ducasse <stepharo.self@gmail.com> wrote:
--001a113fc0fc9da22e05592a9f54 Content-Type: text/plain; charset="UTF-8"
Hi mark
live is chaotic here with two or three meetings in parallel, visitors, and a lecture to finish Now I tested. I took a Pharo 6.1 32 bits and loaded PlotMorph from the catalog It load Stefaneggermont.8
Can you tell us how to reproduce your problem?
I get this on both 32 and 64 bit Pharo on OSX 10.12.6 Loaded a new Pharo from https://pharo.org/web/download and removed previous Preferences Then from Calalog Browser Install Stable Version Then get
Fetched -> ConfigurationOfPlotMorph-StephanEggermont.5 --- http://smalltalkhub.com/mc/Pharo/MetaRepoForPharo60/main/ --- http://smalltalkhub.com/mc/Pharo/MetaRepoForPharo60/main/ Loaded -> ConfigurationOfPlotMorph-StephanEggermont.5 --- http://smalltalkhub.com/mc/Pharo/MetaRepoForPharo60/main/ --- http://smalltalkhub.com/mc/Pharo/MetaRepoForPharo60/main/ Loading 1.1 of ConfigurationOfPlotMorph... Fetched -> PlotMorph-StephanEggermont.8 --- http://smalltalkhub.com/mc/PharoExtras/PlotMorph/main/ --- http://smalltalkhub.com/mc/PharoExtras/PlotMorph/main/ OCStoreIntoReadOnlyVariableError: Cannot store into PlotMorphGrid drawGridOn: aCanvas | gridColor lighter darker baseColor bounds | baseColor := plot baseColor alpha: 1. lighter := baseColor twiceLighter. darker := baseColor twiceDarker. gridColor := (lighter diff: baseColor) > (darker diff: baseColor) ifTrue: [ lighter ] ifFalse: [ darker ]. bounds := plot drawBounds. (bounds left to: bounds right by: (self bestStep: bounds width)) do: [ :x | x := x rounded. aCanvas line: x @ bounds top to: x @ bounds bottom color: gridColor ]. (bounds top to: bounds bottom by: (self bestStep: bounds height)) do: [ :y | y := y rounded. aCanvas line: bounds left @ y to: bounds right @ y color: gridColor ] OCStoreIntoReadOnlyVariableError: Cannot store into PlotMorphGrid drawGridOn: aCanvas | gridColor lighter darker baseColor bounds | baseColor := plot baseColor alpha: 1. lighter := baseColor twiceLighter. darker := baseColor twiceDarker. gridColor := (lighter diff: baseColor) > (darker diff: baseColor) ifTrue: [ lighter ] ifFalse: [ darker ]. bounds := plot drawBounds. (bounds left to: bounds right by: (self bestStep: bounds width)) do: [ :x | x := x rounded. aCanvas line: x @ bounds top to: x @ bounds bottom color: gridColor ]. (bounds top to: bounds bottom by: (self bestStep: bounds height)) do: [ :y | y := y rounded. aCanvas line: bounds left @ y to: bounds right @ y color: gridColor ] OCStoreIntoReadOnlyVariableError: Cannot store into AxesMorph drawGridOn: aCanvas | gridColor right bottom width height lighter darker baseColor | baseColor := self baseColor. lighter := baseColor twiceLighter. darker := baseColor twiceDarker. gridColor := (lighter diff: baseColor) > (darker diff: baseColor) ifTrue: [ lighter ] ifFalse: [ darker ]. right := self bounds width - margin. width := self bounds width - (margin * 2). bottom := self bounds height - margin. height := self bounds height - (margin * 2). (margin to: right by: width / 10) do: [ :x | x := x rounded. aCanvas line: x @ margin to: x @ bottom color: gridColor ]. (margin to: bottom by: height / 10) do: [ :y | y := y rounded. aCanvas line: margin @ y to: right @ y color: gridColor ] OCStoreIntoReadOnlyVariableError: Cannot store into AxesMorph drawGridOn: aCanvas | gridColor right bottom width height lighter darker baseColor | baseColor := self baseColor. lighter := baseColor twiceLighter. darker := baseColor twiceDarker. gridColor := (lighter diff: baseColor) > (darker diff: baseColor) ifTrue: [ lighter ] ifFalse: [ darker ]. right := self bounds width - margin. width := self bounds width - (margin * 2). bottom := self bounds height - margin. height := self bounds height - (margin * 2). (margin to: right by: width / 10) do: [ :x | x := x rounded. aCanvas line: x @ margin to: x @ bottom color: gridColor ]. (margin to: bottom by: height / 10) do: [ :y | y := y rounded. aCanvas line: margin @ y to: right @ y color: gridColor ] Loaded -> PlotMorph-StephanEggermont.8 --- http://smalltalkhub.com/mc/PharoExtras/PlotMorph/main/ --- cache ...finished 1.1
-- Mark
I'm on 10.12.6. too I downloaded Pharo 32 using the link. And I loaded from Catalog and I cannot get the problem. May be there is a problem with a setting in the compiler. I will talk to the guys monday. Stef On Fri, Sep 15, 2017 at 2:51 PM, Mark Bestley <st@bestley.co.uk> wrote:
Stephane Ducasse <stepharo.self@gmail.com> wrote:
--001a113fc0fc9da22e05592a9f54 Content-Type: text/plain; charset="UTF-8"
Hi mark
live is chaotic here with two or three meetings in parallel, visitors, and a lecture to finish Now I tested. I took a Pharo 6.1 32 bits and loaded PlotMorph from the catalog It load Stefaneggermont.8
Can you tell us how to reproduce your problem?
I get this on both 32 and 64 bit Pharo on OSX 10.12.6
Loaded a new Pharo from https://pharo.org/web/download and removed previous Preferences
Then from Calalog Browser Install Stable Version
Then get
Fetched -> ConfigurationOfPlotMorph-StephanEggermont.5 --- http://smalltalkhub.com/mc/Pharo/MetaRepoForPharo60/main/ --- http://smalltalkhub.com/mc/Pharo/MetaRepoForPharo60/main/ Loaded -> ConfigurationOfPlotMorph-StephanEggermont.5 --- http://smalltalkhub.com/mc/Pharo/MetaRepoForPharo60/main/ --- http://smalltalkhub.com/mc/Pharo/MetaRepoForPharo60/main/ Loading 1.1 of ConfigurationOfPlotMorph... Fetched -> PlotMorph-StephanEggermont.8 --- http://smalltalkhub.com/mc/PharoExtras/PlotMorph/main/ --- http://smalltalkhub.com/mc/PharoExtras/PlotMorph/main/ OCStoreIntoReadOnlyVariableError: Cannot store into PlotMorphGrid drawGridOn: aCanvas | gridColor lighter darker baseColor bounds | baseColor := plot baseColor alpha: 1. lighter := baseColor twiceLighter. darker := baseColor twiceDarker. gridColor := (lighter diff: baseColor) > (darker diff: baseColor) ifTrue: [ lighter ] ifFalse: [ darker ]. bounds := plot drawBounds. (bounds left to: bounds right by: (self bestStep: bounds width)) do: [ :x | x := x rounded. aCanvas line: x @ bounds top to: x @ bounds bottom color: gridColor ]. (bounds top to: bounds bottom by: (self bestStep: bounds height)) do: [ :y | y := y rounded. aCanvas line: bounds left @ y to: bounds right @ y color: gridColor ] OCStoreIntoReadOnlyVariableError: Cannot store into PlotMorphGrid drawGridOn: aCanvas | gridColor lighter darker baseColor bounds | baseColor := plot baseColor alpha: 1. lighter := baseColor twiceLighter. darker := baseColor twiceDarker. gridColor := (lighter diff: baseColor) > (darker diff: baseColor) ifTrue: [ lighter ] ifFalse: [ darker ]. bounds := plot drawBounds. (bounds left to: bounds right by: (self bestStep: bounds width)) do: [ :x | x := x rounded. aCanvas line: x @ bounds top to: x @ bounds bottom color: gridColor ]. (bounds top to: bounds bottom by: (self bestStep: bounds height)) do: [ :y | y := y rounded. aCanvas line: bounds left @ y to: bounds right @ y color: gridColor ] OCStoreIntoReadOnlyVariableError: Cannot store into AxesMorph drawGridOn: aCanvas | gridColor right bottom width height lighter darker baseColor | baseColor := self baseColor. lighter := baseColor twiceLighter. darker := baseColor twiceDarker. gridColor := (lighter diff: baseColor) > (darker diff: baseColor) ifTrue: [ lighter ] ifFalse: [ darker ]. right := self bounds width - margin. width := self bounds width - (margin * 2). bottom := self bounds height - margin. height := self bounds height - (margin * 2). (margin to: right by: width / 10) do: [ :x | x := x rounded. aCanvas line: x @ margin to: x @ bottom color: gridColor ]. (margin to: bottom by: height / 10) do: [ :y | y := y rounded. aCanvas line: margin @ y to: right @ y color: gridColor ] OCStoreIntoReadOnlyVariableError: Cannot store into AxesMorph drawGridOn: aCanvas | gridColor right bottom width height lighter darker baseColor | baseColor := self baseColor. lighter := baseColor twiceLighter. darker := baseColor twiceDarker. gridColor := (lighter diff: baseColor) > (darker diff: baseColor) ifTrue: [ lighter ] ifFalse: [ darker ]. right := self bounds width - margin. width := self bounds width - (margin * 2). bottom := self bounds height - margin. height := self bounds height - (margin * 2). (margin to: right by: width / 10) do: [ :x | x := x rounded. aCanvas line: x @ margin to: x @ bottom color: gridColor ]. (margin to: bottom by: height / 10) do: [ :y | y := y rounded. aCanvas line: margin @ y to: right @ y color: gridColor ] Loaded -> PlotMorph-StephanEggermont.8 --- http://smalltalkhub.com/mc/PharoExtras/PlotMorph/main/ --- cache ...finished 1.1
-- Mark
On 16-09-17 09:29, Stephane Ducasse wrote:
I'm on 10.12.6. too I downloaded Pharo 32 using the link. And I loaded from Catalog and I cannot get the problem. May be there is a problem with a setting in the compiler. I will talk to the guys monday.
Meta6, 7 and PlotMorph repos Name: ConfigurationOfPlotMorph-StephanEggermont.6 Author: StephanEggermont Time: 16 September 2017, 3:39:18.049684 pm UUID: 246e825f-b015-0d00-a8c8-7793003b8086 Ancestors: ConfigurationOfPlotMorph-StephanEggermont.5 No longer assign to block parameters in Pharo 6 and 7 Name: PlotMorph-StephanEggermont.9 Author: StephanEggermont Time: 16 September 2017, 3:26:48.762733 pm UUID: e138d932-b015-0d00-a8c9-885a003b8086 Ancestors: PlotMorph-StephanEggermont.8 No longer assign to block parameters
Tx Stefan I was planning to do the same. On Sat, Sep 16, 2017 at 3:41 PM, stephan <stephan@stack.nl> wrote:
On 16-09-17 09:29, Stephane Ducasse wrote:
I'm on 10.12.6. too I downloaded Pharo 32 using the link. And I loaded from Catalog and I cannot get the problem. May be there is a problem with a setting in the compiler. I will talk to the guys monday.
Meta6, 7 and PlotMorph repos
Name: ConfigurationOfPlotMorph-StephanEggermont.6 Author: StephanEggermont Time: 16 September 2017, 3:39:18.049684 pm UUID: 246e825f-b015-0d00-a8c8-7793003b8086 Ancestors: ConfigurationOfPlotMorph-StephanEggermont.5
No longer assign to block parameters in Pharo 6 and 7
Name: PlotMorph-StephanEggermont.9 Author: StephanEggermont Time: 16 September 2017, 3:26:48.762733 pm UUID: e138d932-b015-0d00-a8c9-885a003b8086 Ancestors: PlotMorph-StephanEggermont.8
No longer assign to block parameters
Thanks that last fix works for me stephan <stephan@stack.nl> wrote:
On 16-09-17 09:29, Stephane Ducasse wrote:
I'm on 10.12.6. too I downloaded Pharo 32 using the link. And I loaded from Catalog and I cannot get the problem. May be there is a problem with a setting in the compiler. I will talk to the guys monday.
Meta6, 7 and PlotMorph repos
Name: ConfigurationOfPlotMorph-StephanEggermont.6 Author: StephanEggermont Time: 16 September 2017, 3:39:18.049684 pm UUID: 246e825f-b015-0d00-a8c8-7793003b8086 Ancestors: ConfigurationOfPlotMorph-StephanEggermont.5
No longer assign to block parameters in Pharo 6 and 7
Name: PlotMorph-StephanEggermont.9 Author: StephanEggermont Time: 16 September 2017, 3:26:48.762733 pm UUID: e138d932-b015-0d00-a8c9-885a003b8086 Ancestors: PlotMorph-StephanEggermont.8
No longer assign to block parameters
-- Mark
stephan <stephan@stack.nl> wrote:
On 10-09-17 23:04, Mark Bestley wrote:
I downloaded 64bit Pharo from <http://files.pharo.org/platform/Pharo6.1-64-mac.zip>
Started it and first thing opend Catalog Browser. I searched for plot Chose pLotMorph and chose Install Stable Version
I got an Information window saying There was an error trying to install PlotMorph. Installation was cancelled.
To debug this:
Instead of installing the stable version, load the configuration.
Type shift-enter to open Spotter. Type Plot and enter to find ConfigurationOfPlotMorph and browse it. First take a look at method #stable to see what is defined there
Yep, there is the missing information. So let's fix the version10. We can do it in place, as this can not have worked. Otherwise we would have had to add a new version, and updated the #stable.
Name: ConfigurationOfPlotMorph-StephanEggermont.4 Author: StephanEggermont Time: 11 September 2017, 12:09:08.46706 pm UUID: d297b6da-4815-0d00-8219-91680d9ac81c Ancestors: ConfigurationOfPlotMorph-StephaneDucasse.3
Fixed version10, added pharo 7
Ok thgat now loads but on loading. I get a large spew of code in the transcript including several OCStoreIntoReadOnlyVariableError: Cannot store into -- Mark
participants (6)
-
Alexandre Bergel -
H. Hirzel -
st@bestley.co.uk -
stephan -
Stephan Eggermont -
Stephane Ducasse