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. |
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. |
Use the NativeFunction wrapper 2013/4/9 XumuK <[hidden email]> One more error: 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. |
Thanks
вторник, 9 апреля 2013 г., 12:48:33 UTC+4 пользователь 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. |
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. -- Nicolas Petton http://www.nicolas-petton.fr -- 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. |
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 написал: -- 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. |
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 написал: -- 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. |
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: -- 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. |
I will try, thanks.
I will write about result tomorrow
-- вторник, 9 апреля 2013 г., 18:45:28 UTC+4 пользователь HCSebastian написал:
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. |
The same...not helped... ((
вторник, 9 апреля 2013 г., 22:09:14 UTC+4 пользователь XumuK написал: I will try, thanks.-- 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. |
Free forum by Nabble | Edit this page |