What does this error mean?

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

What does this error mean?

Long Haired David
I am running Instantiations VAST 8.6.3 with Seaside. I am currently the only known user of the web site as I am developing a back end to an Android app and haven't got any other users. 

This is what is coming up in the debugger at random times.

On most occasions this seems to stop Seaside working so I have to close down the smalltalk and rester the image again.

Can anyone give me a handle of what is causing this error, please?


David




Message sent using Winmail Mail Server

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

Screen Shot 2017-07-28 at 17.50.05.png (23K) Download Attachment
David
Totally Objects
Doing Smalltalk since 1989
Reply | Threaded
Open this post in threaded view
|

Re: What does this error mean?

Johan Brichau-2
David,

I think you will need to provide a bit more of the stacktrace to know what is going wrong.
Seems like you are sending `javascript:` directly to a stream; so we need to know what is going on where.

I do find it strange that you need to restart your Smalltalk image for this. This should be an error for a single Seaside session and not blocking..
Though, I must say, I am not a VAST user.

Johan

> On 28 Jul 2017, at 18:53, David Pennington <[hidden email]> wrote:
>
> I am running Instantiations VAST 8.6.3 with Seaside. I am currently the only known user of the web site as I am developing a back end to an Android app and haven't got any other users.
>
> This is what is coming up in the debugger at random times.
>
> On most occasions this seems to stop Seaside working so I have to close down the smalltalk and rester the image again.
>
> Can anyone give me a handle of what is causing this error, please?
>
>
> David
>
>
>
> Message sent using Winmail Mail Server
> <Screen Shot 2017-07-28 at 17.50.05.png>_______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: What does this error mean?

Philippe Marschall
On Fri, Jul 28, 2017 at 7:07 PM, Johan Brichau <[hidden email]> wrote:
> David,
>
> I think you will need to provide a bit more of the stacktrace to know what is going wrong.
> Seems like you are sending `javascript:` directly to a stream; so we need to know what is going on where.
>
> I do find it strange that you need to restart your Smalltalk image for this. This should be an error for a single Seaside session and not blocking..
> Though, I must say, I am not a VAST user.

I believe I know what the issue is:

GrDelegatingStream >> #javascript: is in *javascript-pharo20-core
likely this method is missing in the VASt port. However I believe the
real issue is that the method should be in *javascript-core

David, as a work around can you add this method to GrDelegatingStream
and see if that fixes your issue:

javascript: anObject
    anObject javascriptOn: self

Cheers
Philippe
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: What does this error mean?

Long Haired David
In reply to this post by Long Haired David
You suggest adding:


David, as a work around can you add this method to GrDelegatingStream
and see if that fixes your issue:

javascript: anObject
    anObject javascriptOn: self

I have just checked and there is a method  called javascriptOn: anObject.
However, I have created the suggested method. I will ket you know how it goes over the next couple of days. If this clears it, I will recommend this fix to the Instantiations boys for addition in the core VAST.

David


--------- Original Message ---------
From: <[hidden email]>
To: <[hidden email]>
Subject: seaside Digest, Vol 175, Issue 35
Date: 07/31/2017 13:00:06 (Mon)

Send seaside mailing list submissions to
	[hidden email]

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
or, via email, send a message with subject or body 'help' to
	[hidden email]

You can reach the person managing the list at
	[hidden email]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of seaside digest..."





Today's Topics:

   1. Re: What does this error mean? (Philippe Marschall)





_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



Message sent using Winmail Mail Server

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
David
Totally Objects
Doing Smalltalk since 1989
Reply | Threaded
Open this post in threaded view
|

Re: What does this error mean?

Philippe Marschall
On Tue, Aug 1, 2017 at 11:16 AM, David Pennington
<[hidden email]> wrote:

> You suggest adding:
>
>
> David, as a work around can you add this method to GrDelegatingStream
> and see if that fixes your issue:
>
> javascript: anObject
>     anObject javascriptOn: self
>
> I have just checked and there is a method  called javascriptOn: anObject.

Sure, but you're getting the MNU on #javascript:, not #javascriptOn:

Cheers
Philippe
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside