Hi All,
I've been fiddling with Pharo 1.1.1 One-Click which didn't include Seaside by default (at least not that I could see). I loaded seaside via the squeaksource repository. Firstly it seemed like Magritte wasn't included in the Seaside install. Is this so?
So I installed Magritte. Then when I tried to run the Magritte example in the Seaside book I got MyContactAddress>>doesNotUnderstand #new So I repeated the above steps with Pharo 1.2.1 One-Click. With the same result except I got Address>>doesNotUnderstand: #asComponent.
I'm confused. Although this is my normal state I wonder if someone could elucidate? Best Regards, Miguel
_______________________________________________ Magritte, Pier and Related Tools ... https://www.iam.unibe.ch/mailman/listinfo/smallwiki |
Hi Miguel,
Not sure how you loaded Seaside and Magritte; and what versions? Best is to take the ready made images from http://www.seaside.st/download/pharo, as described in the book. For images with Magritte and Pier use the builds at http://jenkins.lukas-renggli.ch/. Alternatively you can use the Metacello configurations described at the same URL: http://www.seaside.st/download/pharo. Lukas On 28 June 2011 16:57, Miguel Sanchez <[hidden email]> wrote: > Hi All, > I've been fiddling with Pharo 1.1.1 One-Click which didn't include Seaside > by default (at least not that I could see). I loaded seaside via the > squeaksource repository. Firstly it seemed like Magritte wasn't included in > the Seaside install. Is this so? > So I installed Magritte. Then when I tried to run the Magritte example in > the Seaside book I got MyContactAddress>>doesNotUnderstand #new > So I repeated the above steps with Pharo 1.2.1 One-Click. With the same > result except I got Address>>doesNotUnderstand: #asComponent. > I'm confused. Although this is my normal state I wonder if someone could > elucidate? > Best Regards, > > > Miguel > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- Lukas Renggli www.lukas-renggli.ch _______________________________________________ Magritte, Pier and Related Tools ... https://www.iam.unibe.ch/mailman/listinfo/smallwiki |
Thanks Lukas,
OK I'll download off the seaside site. Used the following to download: Gofer new squeaksource: 'MetacelloRepository';
package: 'ConfigurationOfSeaside30'; load. (Smalltalk at: #ConfigurationOfSeaside30) load. AND Gofer new
squeaksource: 'MetacelloRepository'; package: 'ConfigurationOfMagritte2';
load. On 28 June 2011 18:05, Lukas Renggli <[hidden email]> wrote: Hi Miguel, _______________________________________________ Magritte, Pier and Related Tools ... https://www.iam.unibe.ch/mailman/listinfo/smallwiki |
The expressions you used look ok to me.
Let's forward this to Dale and the Metacello group; they might know what is going on. Lukas On 29 June 2011 10:51, Miguel Sanchez <[hidden email]> wrote: > Thanks Lukas, > OK I'll download off the seaside site. > Used the following to download: > Gofer new > squeaksource: 'MetacelloRepository'; > package: 'ConfigurationOfSeaside30'; > load. > (Smalltalk at: #ConfigurationOfSeaside30) load. > AND > > Gofer new > squeaksource: 'MetacelloRepository'; > package: 'ConfigurationOfMagritte2'; > load. > > > On 28 June 2011 18:05, Lukas Renggli <[hidden email]> wrote: >> >> Hi Miguel, >> >> Not sure how you loaded Seaside and Magritte; and what versions? >> >> Best is to take the ready made images from >> http://www.seaside.st/download/pharo, as described in the book. For >> images with Magritte and Pier use the builds at >> http://jenkins.lukas-renggli.ch/. >> >> Alternatively you can use the Metacello configurations described at >> the same URL: http://www.seaside.st/download/pharo. >> >> Lukas >> >> On 28 June 2011 16:57, Miguel Sanchez <[hidden email]> wrote: >> > Hi All, >> > I've been fiddling with Pharo 1.1.1 One-Click which didn't include >> > Seaside >> > by default (at least not that I could see). I loaded seaside via the >> > squeaksource repository. Firstly it seemed like Magritte wasn't included >> > in >> > the Seaside install. Is this so? >> > So I installed Magritte. Then when I tried to run the Magritte example >> > in >> > the Seaside book I got MyContactAddress>>doesNotUnderstand #new >> > So I repeated the above steps with Pharo 1.2.1 One-Click. With the same >> > result except I got Address>>doesNotUnderstand: #asComponent. >> > I'm confused. Although this is my normal state I wonder if someone could >> > elucidate? >> > Best Regards, >> > >> > >> > Miguel >> > _______________________________________________ >> > Magritte, Pier and Related Tools ... >> > https://www.iam.unibe.ch/mailman/listinfo/smallwiki >> > >> >> >> >> -- >> Lukas Renggli >> www.lukas-renggli.ch >> >> _______________________________________________ >> Magritte, Pier and Related Tools ... >> https://www.iam.unibe.ch/mailman/listinfo/smallwiki > > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- Lukas Renggli www.lukas-renggli.ch _______________________________________________ Magritte, Pier and Related Tools ... https://www.iam.unibe.ch/mailman/listinfo/smallwiki |
as referred in the HPI Seaside tutorial. All the Magritte packages were pre-loaded. But before this I downloaded the image from
and this did *not* have the Magritte packages installed. I was under the impression that Magriite was quite fundamental to the Seaside architecture but it appears from the dependancy list of the Seaside package that Magritte is not a prerequisite (probably an error in my understanding)
What is a little more puzzling (worrying because I was planning to use Magritte in a current project) is that when I do load the latest Seaside and Magritte packages in a current Pharo release (1.1.1 and 1.2.1) they seem to be quite broken. Is this the Smalltalk version of DLL hell or am I suffering from terminal PEBKAC failure?
Best Regards, Miguel On 29 June 2011 11:13, Lukas Renggli <[hidden email]> wrote: The expressions you used look ok to me. _______________________________________________ Magritte, Pier and Related Tools ... https://www.iam.unibe.ch/mailman/listinfo/smallwiki |
Did you try either:
download the latest from:
or from within a recent Seaside version open a workspace and execute the following: Gofer new renggli: 'magritte2';
package: 'ConfigurationOfMagritte2'; load.
(ConfigurationOfMagritte2 project latestVersion) load: #('Magritte-Seaside' 'Magritte-Tests-Model'). more on Metacello here: Metacello
On 29 June 2011 15:58, Miguel Sanchez <[hidden email]> wrote:
_______________________________________________ Magritte, Pier and Related Tools ... https://www.iam.unibe.ch/mailman/listinfo/smallwiki |
In reply to this post by Miguel Sanchez
> But before this I downloaded the image from
> http://www.seaside.st/distributions/Seaside-3.0.5-OneClick.zip > and this did *not* have the Magritte packages installed. As the download page lists various images. The one-click image does not contain Magritte anymore, because it was decided that the Seaside image should only contain Seaside. However, there is another download link just below, that lists Magritte as one of the ingredients of the image. > I was under the impression that Magriite was quite fundamental to the > Seaside architecture but it appears from the dependancy list of the Seaside > package that Magritte is not a prerequisite (probably an error in my > understanding) No, Seaside does not depend on Magritte, neither does Magritte depend on Seaside. The package Magritte-Seaside just integrates Magritte with Seaside, and is likely the most common use of Magritte. > What is a little more puzzling (worrying because I was planning to use > Magritte in a current project) is that when I do load the latest Seaside and > Magritte packages in a current Pharo release (1.1.1 and 1.2.1) they seem to > be quite broken. Is this the Smalltalk version of DLL hell or am I suffering > from terminal PEBKAC failure? I don't know why the scripts you used don't work, Dale might know more? You can use the latest build from my server, this is all the latest code loaded into Pharo 1.2: http://jenkins.lukas-renggli.ch/job/Magritte%202/ (Seaside + Magritte) http://jenkins.lukas-renggli.ch/job/Pier%202/ (Seaside + Magritte + Pier) Lukas -- Lukas Renggli www.lukas-renggli.ch _______________________________________________ Magritte, Pier and Related Tools ... https://www.iam.unibe.ch/mailman/listinfo/smallwiki |
On 29 June 2011 17:34, Lukas Renggli <[hidden email]> wrote:
Thanks. Saw that. I downloaded and saw that all was as per my understanding. Despite that I'd prefer to load into my environment because it forces me to understand the dependencies.
OK I understand now. And also a likely reason for the load failure. When loading the Magritte package the script didn't get Magritte-Seaside. Running Nick's script (below) got it and now it's functional on the Pharo 1.2.1 image. (Strangely not on the 1.1.1 image.)
"Nicks fragment" Gofer new
renggli: 'magritte2'; package: 'ConfigurationOfMagritte2';
load. (ConfigurationOfMagritte2 project latestVersion) load: #('Magritte-Seaside' 'Magritte-Tests-Model').
Running Nick's script sorted the problem on 1.2.1 but not on 1.1.1. That's good enough for me as I've added to my (meager) understanding and reinorces your explanation. If anyone considers this worth looking into I can provide more details. I might say that I ,possibly reasonably, expected Magritte-Seaside to be loaded with Magritte. Although you probably have good reasons for seperating the installation.
Many thanks to you and to Nick for taking time to respond. I'll study the code and experiment with the tests before trying anything else. Miguel Lukas _______________________________________________ Magritte, Pier and Related Tools ... https://www.iam.unibe.ch/mailman/listinfo/smallwiki |
I guess I'm coming late to the party, but it seems that Miguel has it working now ... it is a matter of loading the right things ...
Magritte does not depend upon Seaside, so loading Magritte doesn't load Seaside (and the Magritte-Seaside package is loaded by default). Seaside does not depend upon Magritte, so loading Seaside doesn't load Magritte. Even though you are loading Magritte into an image with Seaside it doesn't necessarily imply that you want Magritte-Seaside to be loaded unless you are explicit... I think the ultimate solution to this problem is better tools support around Metacello configurations ... I have started playing with including HelpSystem documentation with a configuration and I think is the direction that we need to head ... Dale ----- Original Message ----- | From: "Miguel Sanchez" <[hidden email]> | To: "Pier and Related Tools Magritte ..." <[hidden email]> | Cc: [hidden email], "Dale Henrichs" <[hidden email]>, "nick ager" <[hidden email]> | Sent: Wednesday, June 29, 2011 9:17:09 AM | Subject: Re: Magritte in Pharo OneClick 1.1.1 and 1.2.1 one-click | | | | | On 29 June 2011 17:34, Lukas Renggli < [hidden email] > wrote: | | | | > But before this I downloaded the image from | > http://www.seaside.st/distributions/Seaside-3.0.5-OneClick.zip | > and this did *not* have the Magritte packages installed. | | As the download page lists various images. The one-click image does | not contain Magritte anymore, because it was decided that the Seaside | image should only contain Seaside. However, there is another download | link just below, that lists Magritte as one of the ingredients of the | image. | | | | Thanks. Saw that. I downloaded and saw that all was as per my | understanding. Despite that I'd prefer to load into my environment | because it forces me to understand the dependencies. | | | | > I was under the impression that Magriite was quite fundamental to | > the | > Seaside architecture but it appears from the dependancy list of the | > Seaside | > package that Magritte is not a prerequisite (probably an error in | > my | > understanding) | | No, Seaside does not depend on Magritte, neither does Magritte depend | on Seaside. The package Magritte-Seaside just integrates Magritte | with | Seaside, and is likely the most common use of Magritte. | | | | OK I understand now. And also a likely reason for the load failure. | When loading the Magritte package the script didn't get | Magritte-Seaside. Running Nick's script (below) got it and now it's | functional on the Pharo 1.2.1 image. (Strangely not on the 1.1.1 | image.) | | "Nicks fragment" | | | Gofer new | renggli: 'magritte2'; | package: 'ConfigurationOfMagritte2'; | load. | | | (ConfigurationOfMagritte2 project latestVersion) load: | #('Magritte-Seaside' 'Magritte-Tests-Model'). | | | | | | > What is a little more puzzling (worrying because I was planning to | > use | > Magritte in a current project) is that when I do load the latest | > Seaside and | > Magritte packages in a current Pharo release (1.1.1 and 1.2.1) they | > seem to | > be quite broken. Is this the Smalltalk version of DLL hell or am I | > suffering | > from terminal PEBKAC failure? | | I don't know why the scripts you used don't work, Dale might know | more? | | Running Nick's script sorted the problem on 1.2.1 but not on 1.1.1. | That's good enough for me as I've added to my (meager) understanding | and reinorces your explanation. If anyone considers this worth | looking into I can provide more details. I might say that I | ,possibly reasonably, expected Magritte-Seaside to be loaded with | Magritte. Although you probably have good reasons for seperating the | installation. | | | | You can use the latest build from my server, this is all the latest | code loaded into Pharo 1.2: | | http://jenkins.lukas-renggli.ch/job/Magritte%202/ (Seaside + | Magritte) | http://jenkins.lukas-renggli.ch/job/Pier%202/ (Seaside + Magritte + | Pier) | | | Many thanks to you and to Nick for taking time to respond. I'll study | the code and experiment with the tests before trying anything else. | | | Miguel | | | Lukas | | -- | | | | Lukas Renggli | www.lukas-renggli.ch | | _______________________________________________ | Magritte, Pier and Related Tools ... | https://www.iam.unibe.ch/mailman/listinfo/smallwiki | | | | | | _______________________________________________ Magritte, Pier and Related Tools ... https://www.iam.unibe.ch/mailman/listinfo/smallwiki |
Free forum by Nabble | Edit this page |