JavaScript exception: InternalError: too much recursion

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

JavaScript exception: InternalError: too much recursion

XumuK
While working I can see this error very often, when I try to save changes in Amber. But when the text is minimally edited ( some 'space' characters) this error is gone.

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply | Threaded
Open this post in threaded view
|

Re: JavaScript exception: InternalError: too much recursion

XumuK
One more error:

createSocket: aBlock
socket := WebSocket  value: 'ws://localhost:9900/broadcast'.
socket onopen: [ window alert: 'Connection opened' ].
socket onmessage: aBlock.
socket onclose: [ window alert: 'Connection closed' ].

In Mozilla it works good.
In Google Chrome i see:
function WebSocket() { [native code] } does not understand #value:

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply | Threaded
Open this post in threaded view
|

Re: JavaScript exception: InternalError: too much recursion

xekoukou
Use the NativeFunction wrapper


2013/4/9 XumuK <[hidden email]>
One more error:

createSocket: aBlock
socket := WebSocket  value: 'ws://localhost:9900/broadcast'.
socket onopen: [ window alert: 'Connection opened' ].
socket onmessage: aBlock.
socket onclose: [ window alert: 'Connection closed' ].

In Mozilla it works good.
In Google Chrome i see:
function WebSocket() { [native code] } does not understand #value:

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--

Sincerely yours, 
     Apostolis Xekoukoulotakis

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply | Threaded
Open this post in threaded view
|

Re: JavaScript exception: InternalError: too much recursion

XumuK
Thanks

вторник, 9 апреля 2013 г., 12:48:33 UTC+4 пользователь Apostolis Xekoukoulotakis написал:
Use the NativeFunction wrapper


2013/4/9 XumuK <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="Me476W3cBaIJ">hubb...@...>
One more error:

createSocket: aBlock
socket := WebSocket  value: 'ws://localhost:9900/broadcast'.
socket onopen: [ window alert: 'Connection opened' ].
socket onmessage: aBlock.
socket onclose: [ window alert: 'Connection closed' ].

In Mozilla it works good.
In Google Chrome i see:
function WebSocket() { [native code] } does not understand #value:

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="Me476W3cBaIJ">amber-lang+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--

Sincerely yours, 
     Apostolis Xekoukoulotakis

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply | Threaded
Open this post in threaded view
|

Re: JavaScript exception: InternalError: too much recursion

Nicolas Petton
In reply to this post by XumuK
Hi!

I would need more details, if you can, to reproduce the issue.

Cheers,
Nico


On Apr 9, 2013, at 7:24 AM, XumuK <[hidden email]> wrote:

While working I can see this error very often, when I try to save changes in Amber. But when the text is minimally edited ( some 'space' characters) this error is gone.

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
 
 


--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply | Threaded
Open this post in threaded view
|

Re: JavaScript exception: InternalError: too much recursion

XumuK
For example:

 registerUser
  |name surname login password|
name := ( document getElementById: 'r_username' ) value.
surname := ( document getElementById: 'r_usersurname' ) value.
login := ( document getElementById: 'r_login' ) value.
password := ( document getElementById: 'r_password' ) value.
  socket send: ( 'Register#ChatUser registerUser: (ChatUser new firstname: ', '''' , name, '''' , '; lastname: ', '''' , surname , '''' , '; login: ', '''' , login, '''' , '; password: ', '''', password, '''' ,')' ) .

When i try to save it (CTRL + S) it says that "JavaScript exception: InternalError: too much recursion", but when i change it like that:

before: ....'''', password, '''',)').
after:    ....'''', password, '''' ,')' ) .

it`s okay... What i doing wrong?


вторник, 9 апреля 2013 г., 15:22:09 UTC+4 пользователь nicolas petton написал:
Hi!

I would need more details, if you can, to reproduce the issue.

Cheers,
Nico


On Apr 9, 2013, at 7:24 AM, XumuK <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="YdSFe59oPwQJ">hubb...@...> wrote:

While working I can see this error very often, when I try to save changes in Amber. But when the text is minimally edited ( some 'space' characters) this error is gone.

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="YdSFe59oPwQJ">amber-lang+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 


--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply | Threaded
Open this post in threaded view
|

Re: JavaScript exception: InternalError: too much recursion

XumuK
In reply to this post by Nicolas Petton
For example:

 registerUser
  |name surname login password|
name := ( document getElementById: 'r_username' ) value.
surname := ( document getElementById: 'r_usersurname' ) value.
login := ( document getElementById: 'r_login' ) value.
password := ( document getElementById: 'r_password' ) value.
  socket send: ( 'Register#ChatUser registerUser: (ChatUser new firstname: ', '''' , name, '''' , '; lastname: ', '''' , surname , '''' , '; login: ', '''' , login, '''' , '; password: ', '''', password, '''' ,')' ) .

When i try to save it (CTRL + S) it says that "JavaScript exception: InternalError: too much recursion", but when i change it like that:

before: ....'''', password, '''',)').
after:    ....'''', password, '''' ,')' ) .

it`s okay... What i did wrong?

вторник, 9 апреля 2013 г., 15:22:09 UTC+4 пользователь nicolas petton написал:
Hi!

I would need more details, if you can, to reproduce the issue.

Cheers,
Nico


On Apr 9, 2013, at 7:24 AM, XumuK <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="YdSFe59oPwQJ">hubb...@...> wrote:

While working I can see this error very often, when I try to save changes in Amber. But when the text is minimally edited ( some 'space' characters) this error is gone.

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="YdSFe59oPwQJ">amber-lang+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 


--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply | Threaded
Open this post in threaded view
|

Re: JavaScript exception: InternalError: too much recursion

SebastianHC
In reply to this post by XumuK
Hi

What happens if you put all the stuff that goes into socket: into a variable first.
message :=' ('Register#ChatUser registerUser: (ChatUser new firstname: ', '''' , name, '''' , '; lastname: ', '''' , surname , '''' , '; login: ', '''' , login, '''' , '; password: ', '''', password, '''' ,')' ).

socket send: message .

Iknow that problem,... sometimes this is the easiest soultion.

Sebastian

Am 09.04.2013 07:41, schrieb XumuK:
For example:

 registerUser
  |name surname login password|
name := ( document getElementById: 'r_username' ) value.
surname := ( document getElementById: 'r_usersurname' ) value.
login := ( document getElementById: 'r_login' ) value.
password := ( document getElementById: 'r_password' ) value.
  socket send: ( 'Register#ChatUser registerUser: (ChatUser new firstname: ', '''' , name, '''' , '; lastname: ', '''' , surname , '''' , '; login: ', '''' , login, '''' , '; password: ', '''', password, '''' ,')' ) .

When i try to save it (CTRL + S) it says that "JavaScript exception: InternalError: too much recursion", but when i change it like that:

before: ....'''', password, '''',)').
after:    ....'''', password, '''' ,')' ) .

it`s okay... What i doing wrong?


вторник, 9 апреля 2013 г., 15:22:09 UTC+4 пользователь nicolas petton написал:
Hi!

I would need more details, if you can, to reproduce the issue.

Cheers,
Nico


On Apr 9, 2013, at 7:24 AM, XumuK <<a moz-do-not-send="true" href="javascript:" target="_blank" gdf-obfuscated-mailto="YdSFe59oPwQJ">hubb...@...> wrote:

While working I can see this error very often, when I try to save changes in Amber. But when the text is minimally edited ( some 'space' characters) this error is gone.

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a moz-do-not-send="true" href="javascript:" target="_blank" gdf-obfuscated-mailto="YdSFe59oPwQJ">amber-lang+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply | Threaded
Open this post in threaded view
|

Re: JavaScript exception: InternalError: too much recursion

XumuK
I will try, thanks.
I will write about result tomorrow

вторник, 9 апреля 2013 г., 18:45:28 UTC+4 пользователь HCSebastian написал:
Hi

What happens if you put all the stuff that goes into socket: into a variable first.
message :=' ('Register#ChatUser registerUser: (ChatUser new firstname: ', '''' , name, '''' , '; lastname: ', '''' , surname , '''' , '; login: ', '''' , login, '''' , '; password: ', '''', password, '''' ,')' ).

socket send: message .

Iknow that problem,... sometimes this is the easiest soultion.

Sebastian

Am 09.04.2013 07:41, schrieb XumuK:
For example:

О©╫registerUser
О©╫ |name surname login password|
name := ( document getElementById: 'r_username' ) value.
surname := ( document getElementById: 'r_usersurname' ) value.
login := ( document getElementById: 'r_login' ) value.
password := ( document getElementById: 'r_password' ) value.
О©╫ socket send: ( 'Register#ChatUser registerUser: (ChatUser new firstname: ', '''' , name, '''' , '; lastname: ', '''' , surname , '''' , '; login: ', '''' , login, '''' , '; password: ', '''', password, '''' ,')' ) .

When i try to save it (CTRL + S) it says that "JavaScript exception: InternalError: too much recursion", but when i change it like that:

before:О©╫....'''', password, '''',)').
after:О©╫ О©╫ ....'''', password, '''' ,')' ) .

it`s okay... What i doing wrong?


О©╫О©╫О©╫О©╫О©╫О©╫О©╫, 9 О©╫О©╫О©╫О©╫О©╫О©╫ 2013О©╫О©╫., 15:22:09 UTC+4 О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫ nicolas petton О©╫О©╫О©╫О©╫О©╫О©╫О©╫:
Hi!

I would need more details, if you can, to reproduce the issue.

Cheers,
Nico


On Apr 9, 2013, at 7:24 AM, XumuK <[hidden email]> wrote:

While working I can see this errorО©╫very often, when I try to save changes in Amber.О©╫But when the text is minimally edited ( some 'space' characters) this error is gone.

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to amber-lang+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
О©╫
О©╫

--

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="m_6afDz4SvEJ">amber-lang+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
О©╫
О©╫

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply | Threaded
Open this post in threaded view
|

Re: JavaScript exception: InternalError: too much recursion

XumuK
The same...not helped... ((

вторник, 9 апреля 2013 г., 22:09:14 UTC+4 пользователь XumuK написал:
I will try, thanks.
I will write about result tomorrow

вторник, 9 апреля 2013 г., 18:45:28 UTC+4 пользователь HCSebastian написал:
Hi

What happens if you put all the stuff that goes into socket: into a variable first.
message :=' ('Register#ChatUser registerUser: (ChatUser new firstname: ', '''' , name, '''' , '; lastname: ', '''' , surname , '''' , '; login: ', '''' , login, '''' , '; password: ', '''', password, '''' ,')' ).

socket send: message .

Iknow that problem,... sometimes this is the easiest soultion.

Sebastian

Am 09.04.2013 07:41, schrieb XumuK:
For example:

О©╫registerUser
О©╫ |name surname login password|
name := ( document getElementById: 'r_username' ) value.
surname := ( document getElementById: 'r_usersurname' ) value.
login := ( document getElementById: 'r_login' ) value.
password := ( document getElementById: 'r_password' ) value.
О©╫ socket send: ( 'Register#ChatUser registerUser: (ChatUser new firstname: ', '''' , name, '''' , '; lastname: ', '''' , surname , '''' , '; login: ', '''' , login, '''' , '; password: ', '''', password, '''' ,')' ) .

When i try to save it (CTRL + S) it says that "JavaScript exception: InternalError: too much recursion", but when i change it like that:

before:О©╫....'''', password, '''',)').
after:О©╫ О©╫ ....'''', password, '''' ,')' ) .

it`s okay... What i doing wrong?


О©╫О©╫О©╫О©╫О©╫О©╫О©╫, 9 О©╫О©╫О©╫О©╫О©╫О©╫ 2013О©╫О©╫., 15:22:09 UTC+4 О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫ nicolas petton О©╫О©╫О©╫О©╫О©╫О©╫О©╫:
Hi!

I would need more details, if you can, to reproduce the issue.

Cheers,
Nico


On Apr 9, 2013, at 7:24 AM, XumuK <[hidden email]> wrote:

While working I can see this errorО©╫very often, when I try to save changes in Amber.О©╫But when the text is minimally edited ( some 'space' characters) this error is gone.

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to amber-lang+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
О©╫
О©╫

--

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to amber-lang+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
О©╫
О©╫

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.