Help for the mooc

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

Help for the mooc

Stephane Ducasse-3
Hi

students have a problem with the following in Pharo 50 (we could not upgrade)

(ZnEasy getPng: 'http://pharo.org/web/files/pharo.png') asMorph openInWindow


ConnectionClosed : connection closed while waiting for data

And well this is super annoying.

Stef

Reply | Threaded
Open this post in threaded view
|

Re: Help for the mooc

Sven Van Caekenberghe-2


> On 17 Oct 2017, at 22:29, Stephane Ducasse <[hidden email]> wrote:
>
> Hi
>
> students have a problem with the following in Pharo 50 (we could not upgrade)
>
> (ZnEasy getPng: 'http://pharo.org/web/files/pharo.png') asMorph openInWindow
>
>
> ConnectionClosed : connection closed while waiting for data
>
> And well this is super annoying.
>
> Stef

This is fixed in later versions. You can try the following:

(ZnEasy getPng: 'http://pharo.org/files/pharo.png') asMorph openInWindow.

The reason that last one works is that http://pharo.org/files/pharo.png is an http url that resolves directly, while http://pharo.org/web/files/pharo.png redirects to an https equivalent which can only be read with #serverName support. For this, you need not only a more recent version of Zinc, but also a newer VM with a more recent SSL plugin.

Sven
Reply | Threaded
Open this post in threaded view
|

Re: Help for the mooc

Stephane Ducasse-3
Tx!
I should fix it but probably the videos are still using the old one.

On Tue, Oct 17, 2017 at 10:36 PM, Sven Van Caekenberghe <[hidden email]> wrote:

>
>
>> On 17 Oct 2017, at 22:29, Stephane Ducasse <[hidden email]> wrote:
>>
>> Hi
>>
>> students have a problem with the following in Pharo 50 (we could not upgrade)
>>
>> (ZnEasy getPng: 'http://pharo.org/web/files/pharo.png') asMorph openInWindow
>>
>>
>> ConnectionClosed : connection closed while waiting for data
>>
>> And well this is super annoying.
>>
>> Stef
>
> This is fixed in later versions. You can try the following:
>
> (ZnEasy getPng: 'http://pharo.org/files/pharo.png') asMorph openInWindow.
>
> The reason that last one works is that http://pharo.org/files/pharo.png is an http url that resolves directly, while http://pharo.org/web/files/pharo.png redirects to an https equivalent which can only be read with #serverName support. For this, you need not only a more recent version of Zinc, but also a newer VM with a more recent SSL plugin.
>
> Sven

Reply | Threaded
Open this post in threaded view
|

Re: Help for the mooc

Ben Coman
Was this fixed by replacing the redirect with an actual file?
using Chrome "F12" Develop Tools to view the redirect, 
and IIUC I directly got the PNG itself.  Just checking I'm interpreting that correctly.

cheers -ben

On Wed, Oct 18, 2017 at 2:33 PM, Stephane Ducasse <[hidden email]> wrote:
Tx!
I should fix it but probably the videos are still using the old one.

On Tue, Oct 17, 2017 at 10:36 PM, Sven Van Caekenberghe <[hidden email]> wrote:
>
>
>> On 17 Oct 2017, at 22:29, Stephane Ducasse <[hidden email]> wrote:
>>
>> Hi
>>
>> students have a problem with the following in Pharo 50 (we could not upgrade)
>>
>> (ZnEasy getPng: 'http://pharo.org/web/files/pharo.png') asMorph openInWindow
>>
>>
>> ConnectionClosed : connection closed while waiting for data
>>
>> And well this is super annoying.
>>
>> Stef
>
> This is fixed in later versions. You can try the following:
>
> (ZnEasy getPng: 'http://pharo.org/files/pharo.png') asMorph openInWindow.
>
> The reason that last one works is that http://pharo.org/files/pharo.png is an http url that resolves directly, while http://pharo.org/web/files/pharo.png redirects to an https equivalent which can only be read with #serverName support. For this, you need not only a more recent version of Zinc, but also a newer VM with a more recent SSL plugin.
>
> Sven


Reply | Threaded
Open this post in threaded view
|

Re: Help for the mooc

Stephane Ducasse-3
Apparently this is what the students themselves did.

On Thu, Oct 19, 2017 at 11:40 PM, Ben Coman <[hidden email]> wrote:

> Was this fixed by replacing the redirect with an actual file?
> I went to look at http://pharo.org/web/files/pharo.png
> using Chrome "F12" Develop Tools to view the redirect,
> and IIUC I directly got the PNG itself.  Just checking I'm interpreting that
> correctly.
>
> cheers -ben
>
> On Wed, Oct 18, 2017 at 2:33 PM, Stephane Ducasse <[hidden email]>
> wrote:
>>
>> Tx!
>> I should fix it but probably the videos are still using the old one.
>>
>> On Tue, Oct 17, 2017 at 10:36 PM, Sven Van Caekenberghe <[hidden email]>
>> wrote:
>> >
>> >
>> >> On 17 Oct 2017, at 22:29, Stephane Ducasse <[hidden email]>
>> >> wrote:
>> >>
>> >> Hi
>> >>
>> >> students have a problem with the following in Pharo 50 (we could not
>> >> upgrade)
>> >>
>> >> (ZnEasy getPng: 'http://pharo.org/web/files/pharo.png') asMorph
>> >> openInWindow
>> >>
>> >>
>> >> ConnectionClosed : connection closed while waiting for data
>> >>
>> >> And well this is super annoying.
>> >>
>> >> Stef
>> >
>> > This is fixed in later versions. You can try the following:
>> >
>> > (ZnEasy getPng: 'http://pharo.org/files/pharo.png') asMorph
>> > openInWindow.
>> >
>> > The reason that last one works is that http://pharo.org/files/pharo.png
>> > is an http url that resolves directly, while
>> > http://pharo.org/web/files/pharo.png redirects to an https equivalent which
>> > can only be read with #serverName support. For this, you need not only a
>> > more recent version of Zinc, but also a newer VM with a more recent SSL
>> > plugin.
>> >
>> > Sven
>>
>