Hi!
I have application with Pharo 1.3 as server with WebServer class and Amber as client using WebSocket. Today i updated my ubuntu up to 12.04 and my application don`t want to work. When i start amber server i see: "The "sys" module is now called "util". It should have a similar interface". WebSocket creates connection but then it`s failed. Any ideas?
Thanks, Rustem |
Uff, just like that without any more info, it's hard to tell :)
Nico XumuK <[hidden email]> writes: > Hi! > > I have application with Pharo 1.3 as server with WebServer class and > Amber as client using WebSocket. Today i updated my ubuntu up to 12.04 > and my application don`t want to work. When i start amber server i > see: "The "sys" module is now called "util". It should have a similar > interface". WebSocket creates connection but then it`s failed. Any > ideas? > Thanks, Rustem -- Nicolas Petton http://nicolas-petton.fr |
Hmm.. So, what the problem
"The "sys" module is now called "util". It should have a similar interface"? It`s shows when i started amber server.
I type in console from amber working directory: sudo node ./server/server.js It`s shows to me: The "sys" module is now called "util". It should have a similar interface The file server running on port 4000 Is it connected with ubuntu update, or something wrong with node.js?
|
I think the Amber server is outdated as it uses the 'sys' node module. I have to update it. Can you add an issue entry to the bug tracker? Nico XumuK <[hidden email]> writes: > Hmm.. So, what the problem "The "sys" module is now called "util". It > should have a similar interface"? It`s shows when i started amber > server. > > I type in console from amber working directory: > sudo node ./server/server.js > > It`s shows to me: > The "sys" module is now called "util". It should have a similar > interface > The file server running on port 4000 > > Is it connected with ubuntu update, or something wrong with node.js? -- Nicolas Petton http://nicolas-petton.fr |
How can i do this?
пятница, 29 июня 2012 г., 16:22:50 UTC+4 пользователь nicolas petton написал:
|
In reply to this post by XumuK
I added new issue, hope this will be fixed soon )
Thanks, Rustem
|
I thought I fixed that 'sys' vs 'util' issue when I added the ability to use CORS from the node server. It was maybe 4 months ago
Regardless it's just a warning and node should run fine so maybe try reinstalling node. On Jun 29, 2012, at 5:56 AM, XumuK <[hidden email]> wrote: > I added new issue, hope this will be fixed soon ) > Thanks, Rustem |
I tried to reinstall nodejs, but it`s not solved this problem.
пятница, 29 июня 2012 г., 17:58:11 UTC+4 пользователь Paul DeBruicker написал: I thought I fixed that 'sys' vs 'util' issue when I added the ability to use CORS from the node server. It was maybe 4 months ago |
Hmm. Well I've got Ubuntu 12.04 so will give the default amber install a o and report back in a bit. May be an hour or two though On Jun 29, 2012, at 9:29 AM, XumuK <[hidden email]> wrote:
|
I download node.js from official site and installed it ( version 0.6.12), after that i cloned amber repository and copied my project there (may be i had old amber version). In Firefox browser all works fine, but in Google-chrome browser it`s not worked. The problem has gone after reinstall google-chrome browser. So strange..
Thanks, Rustem
пятница, 29 июня 2012 г., 20:52:09 UTC+4 пользователь Paul DeBruicker написал:
|
Hi Rustem,
I have had issues using Chrome with Pharo WebClient websockets lately as well. Apparently the websocket specifications changed recently or something so code that used to work fine is no longer working. Have you checked the chrome javascript console for errors? I am getting something about masked frames that is preventing my old code from working.
<zenchess@gmail.com>
|
Hi!
No, i don`t check this issue in chrome JS console. So, why it`s work in another browsers? ) Try to run the same app in Safary, for example пятница, 13 июля 2012 г., 21:25:18 UTC+4 пользователь Zenchess написал: Hi Rustem, |
In reply to this post by Jacob Wagner
Hi!
We run into this also, here [1] is a version of WebClient, which is compatible with the new RFC [2]. [1] http://leves.web.elte.hu/squeak/WebClient-Core-klub.91.mcz [2] http://tools.ietf.org/html/rfc6455 Cheers, Balázs |
Thanks a lot for this code! My development was pretty much dead when the new RFC came out. Have you contacted Andreas to let him know about this code? He may merge it into the WebClient repository.
<zenchess@gmail.com>
|
It`s a good news!
How can i install new webclient-core?
|
#1 Download the mcz from Balazs in the [1] link above.
#2 Drag the mcz file into a running pharo image. if #2 does not work, open monticello browser and load the mcz from there.
On Wednesday, July 25, 2012 11:21:08 PM UTC-5, XumuK wrote: It`s a good news!
<zenchess@gmail.com>
|
Thanks
среда, 1 августа 2012 г., 12:19:28 UTC+4 пользователь Zenchess написал: #1 Download the mcz from Balazs in the [1] link above. |
Free forum by Nabble | Edit this page |