Pier: Help please - cannot embed / call WATask

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Pier: Help please - cannot embed / call WATask

Matthias Berth-2
Hi,

when I call: or embed a WATask, the main area of the Pier page shows
nothing. It also remains empty when I go to other pages. I have also
tried to embed the sushi store example, like so:

- In the Pier menu use Add... component ...name: store, then choose
"Store" from combobox
- embed store in another page using +store+

Same problem. Both my code and the embedding of store work without
problems in my older Pier image:

Seaside2.7a1-pc.227
Magritte-Model-lr.279
Magritte-Seaside-lr.238
Pier-Model-lr.162
Pier-Seaside-lr.194
Pier-Security-mberth.88


The problem occurs in a newer image (derived from the
sq3.9-7067dev07.09.1.image):

Seaside2.7a1-pc.227
Magritte-Model-lr.283
Magritte-Seaside-lr.238
Pier-Model-lr.168
Pier-Seaside-lr.207
Pier-Security-mberth.92


What can I do?


Cheers

Matthias

_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: Pier: Help please - cannot embed / call WATask

Lukas Renggli-2
> when I call: or embed a WATask, the main area of the Pier page shows
> nothing. It also remains empty when I go to other pages. I have also
> tried to embed the sushi store example, like so:
>
> - In the Pier menu use Add... component ...name: store, then choose
> "Store" from combobox
> - embed store in another page using +store+

It works in my image.

> The problem occurs in a newer image (derived from the
> sq3.9-7067dev07.09.1.image):
>
> Seaside2.7a1-pc.227
> Magritte-Model-lr.283
> Magritte-Seaside-lr.238
> Pier-Model-lr.168
> Pier-Seaside-lr.207
> Pier-Security-mberth.92

I use the same configuration but together with Seaside 2.8.

> What can I do?

I guess that you problem comes from the fact that Seaside 2.8  
backtracks state different to earlier versions.

I suggest that you start from a clean image (not a dev image, the  
last time I tried it didn't work) and load Pier using SqueakMap. This  
will pull in a working configuration of Kom, Seaside, Magritte and  
Pier. You can then safely update to the latest versions of these  
packages.

Hope this helps?

Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch


_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: Pier: Help please - cannot embed / call WATask

Matthias Berth-2
Hi Lukas,

thanks for the hints. I started from Squeak3.9-final-7067 and
installed Pier from SqueakMap. Embedding of  WATask works , THANKS :-)

A small problem remains: Some unit tests for Pier give errors,
complaining about BlockContext>>sunitOn:do: not being there. I have
tried to install www.squeaksource.com/Testing but could not find that
method in any of the packages. Likewise with the 3.10 beta image: no
#sunitOn:do: method there :-( So, where did you get that?

FWIW: As you said, getting Seaside 2.8 via the Universe did not work.
I tried to go from Seaside 2.7 to 2.8 in my existing image, squeak
spinned at 100% CPU near the end of the install, Alt-. did not help.
Using REPL and utils rebootMorphic brought me to Parser>>interactive
not understood, there I was stuck.

Cheers

Matthias

On 9/25/07, Lukas Renggli <[hidden email]> wrote:

> > when I call: or embed a WATask, the main area of the Pier page shows
> > nothing. It also remains empty when I go to other pages. I have also
> > tried to embed the sushi store example, like so:
> >
> > - In the Pier menu use Add... component ...name: store, then choose
> > "Store" from combobox
> > - embed store in another page using +store+
>
> It works in my image.
> [...]
> I suggest that you start from a clean image (not a dev image, the
> last time I tried it didn't work) and load Pier using SqueakMap. This
> will pull in a working configuration of Kom, Seaside, Magritte and
> Pier. You can then safely update to the latest versions of these
> packages.
>
> Hope this helps?
>

_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: Pier: Help please - cannot embed / call WATask

Lukas Renggli-2
> A small problem remains: Some unit tests for Pier give errors,
> complaining about BlockContext>>sunitOn:do: not being there. I have
> tried to install www.squeaksource.com/Testing but could not find that
> method in any of the packages. Likewise with the 3.10 beta image: no
> #sunitOn:do: method there :-( So, where did you get that?

It looks like you are on a very old version of Pier. Did you update  
SqueakMap before loading the package?

> FWIW: As you said, getting Seaside 2.8 via the Universe did not work.
> I tried to go from Seaside 2.7 to 2.8 in my existing image, squeak
> spinned at 100% CPU near the end of the install, Alt-. did not help.
> Using REPL and utils rebootMorphic brought me to Parser>>interactive
> not understood, there I was stuck.

Updating from Seaside 2.7 to Seaside 2.8 is tricky. Follow the  
instructions on the web-site, if you really want to do this.

http://www.seaside.st/documentation/migration

Cheers,
Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch


_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: Pier: Help please - cannot embed / call WATask

Matthias Berth-2
Hi Lukas,

I'm happy to report that everything works fine now with Seaside 2.8
and the latest Magritte / Pier, starting from a Squeak 3.9 standard
image. .

On 9/26/07, Lukas Renggli <[hidden email]> wrote:
> > A small problem remains: Some unit tests for Pier give errors,
> > complaining about BlockContext>>sunitOn:do: [...]
>
> It looks like you are on a very old version of Pier. Did you update
> SqueakMap before loading the package?

Exactly! That was the problem.

> > FWIW: As you said, getting Seaside 2.8 via the Universe did not work.
> > I tried to go from Seaside 2.7 to 2.8 in my existing image, squeak
> > [...]
>
> Updating from Seaside 2.7 to Seaside 2.8 is tricky.

I rebuilt my configuration from scratch, using Installer scripts. I
guess I'll try to go from standard squeak 3.9 to full Pier / Magritte
again to make sure it works. It's a pity that I could not get this to
run using Package Universe.

Thanks again

Matthias

_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: Pier: Help please - cannot embed / call WATask

Lukas Renggli-2
>>> FWIW: As you said, getting Seaside 2.8 via the Universe did not  

>>> work.
>>> I tried to go from Seaside 2.7 to 2.8 in my existing image, squeak
>>> [...]
>>
>> Updating from Seaside 2.7 to Seaside 2.8 is tricky.
>
> I rebuilt my configuration from scratch, using Installer scripts. I
> guess I'll try to go from standard squeak 3.9 to full Pier / Magritte
> again to make sure it works. It's a pity that I could not get this to
> run using Package Universe.
I just updated the Package Universe Definitions for Seaside, Magritte  
and Pier (and several of its plugins). I did not have the time to  
test it yet (dependencies), so I am looking for people that are  
willing to try and report problems ;-)

Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch



_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki

smime.p7s (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Pier: Help please - cannot embed / call WATask

Jason Johnson-5
In reply to this post by Lukas Renggli-2
On 9/25/07, Lukas Renggli <[hidden email]> wrote:
> I suggest that you start from a clean image (not a dev image, the
> last time I tried it didn't work)

That's funny, I downloaded the Squeak-web-dev image before I went on
vacation and just tried it due to this email and I was able to embed
the store inside pier on the first try.  The only thing I see is that
it seems overly slow.

_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: Pier: Help please - cannot embed / call WATask

Lukas Renggli-2
>> I suggest that you start from a clean image (not a dev image, the
>> last time I tried it didn't work)
>
> That's funny, I downloaded the Squeak-web-dev image before I went on
> vacation and just tried it due to this email and I was able to embed
> the store inside pier on the first try.  The only thing I see is that
> it seems overly slow.

The Squeak-Web-Dev images are broken in several ways:

- The version of Seaside does not work with the version of  
Scriptaculous.
- The version of Pier does not work with the version of Seaside.

The situation should be better soon, as I am now actively maintaining  
the Universe Packages. However it the conversion is not quite  
finished yet.

If you want to test please take a Squeak-Dev image and load the  
desired web packages manually. I guess these will be part of upcoming  
Squeak-Web-Dev images?

Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch


_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki