orbited

IE7 fails after reload of Orbited powered page

Hello! I am working on an Orbited-powered website and I'm experiencing some annoying behavior with IE7. Everything works fine and dandy in FF3, but in IE7, I get a recurring error if I reload the page: Error: Can't execute code from a freed script In other words, the site works in IE7 when you first browse to it, but breaks after a ...

weird IE 7 javascript problem

I have this javascript code working in firefox, chrome, and safari for (idx in all_auction_ids){ alert(all_auction_ids[idx]); }; for the above, instead of getting the values in all_auction_ids, the first value I get is text of type function that looks like a for loop! But if I run the code below, it works fine. for (idx=0;idx<al...

Server Push With rails options

I am trying to build a rails application which requires a "server push" functionality ie Comet . I started looking for options I have found three and tried one of them: Juggernaut : I tried it, am not entirely satisfied/comfortable though, has some browser issues with Opera and probably with Flash 10 ( I have tried it for about an hou...

Comet Javascript error

I'm using Orbited as a Comet server on localhost. It is listening to ports: 9000 for http 61613 for stomp My JavaScript debugger is reporting error: JSON is not defined in the line: var vals = JSON.parse(payload); What could be the cause and how do I resolve this issue? ...

Can I use Orbited as a HTTP server for dynamic content?

Comet Server Orbited can serve static files from paths specified in it's config file under [static] section. I wonder if it's possible to serve dynamic content via orbited? ...

Chat comet site using python and twisted

i want to build a site similar to www.omegle.com. can any one suggest me some ideas. I think its built usning twisted , orbiter comet server. ...

orbited coment server problem

i tried installing orbited on vista . but i get following errror when i try to run the orbited server.When i type on twisted cmd prompt orbited i get following o/p. C:\>orbited Traceback (most recent call last): File "C:\Python26\scripts\orbited-script.py", line 8, in load_entry_point('orbited==0.7.9', 'console_scripts', 'orbite...

Dojo Comet + Orbited is giving 404

I have <script type="text/javascript"> function setupComet() { dojox.cometd.init("http://comet.domain.tld:8000"); dojox.cometd.subscribe("/my/calendar", cometCallback); } dojo.addOnLoad(setupComet); function cometCallback (msg) { alert(msg.data); } </script> Orbited is replying (viewed with firebug): <htm...

What does document.domain = document.domain do?

The client-side JS component of Orbited (a Comet server), requires that if the server is running on a different domain or port to the JS itself, you must execute document.domain = document.domain; before any other JS is loaded. (See the documentation.) What does this do? It looks like a NOOP! (I've checked and it is in fact necess...

PHP code on orbited comet server

Where can I find the PHP sample code for orbited comet server v0.7? I think that I have to build another server together with orbited server in order to support the comet function. Am I right? If so, how can I build up that server? ...

ActiveMQ : Use Django Auth with Stomp

I am working on power monitoring and want to send live power data to authorised users only. Some users have opted to install power sensors in their houses, others are viewing those sensors. Each sensor sends samples to a Twisted backend - the goal is to have this backend forward the data to Javascript running in the browser. My current ...

what framework should one use django middleware with orbit?

The Django orbit integration methods I've seen in quick google searches don't seem to carry Django abstractions, like "request.user" with them. "request.user" is particularly important, since I am not going to (potentially incorrectly) re-implement session handling (this sounds like it could cause bad security bugs). Alternatively, shou...

Authentication using Orbited, STOMP, and MorbidQ

I'm using Orbited to build a Comet chat system on a PHP-based website. However, currently any user can subscribe or post to any channel. What I'm looking to do is have the browser listen for updates directly from the Orbited server, and have all other actions (subscribe, send) handled by a PHP authentication layer, which communicates wi...

Connect PHP with Orbited

After searching the web for a good Comet and also and asking you guys what my best option is, I've chose to go with Orbited. The problem is if you need a good documentation about Comet you won't find. I've installed Orbited and It seems It works just fine. Basically, I want to constantly check a database and see if there is a new data. ...

Streaming the result of a command back to the browser using Twisted and Comet

I'm writing an application that streams the output (by this I mean both sys.stdout and sys.stderr) of a python script excited on the server, in real time to the browser. The users on the site will be allowed to select the script to run, excite and kill their chosen script, and change some parameters, so I will need a different thread p...

JSONP Long Polling always loading.

I'm doing long-polling with JSONP and firefox continually pops up the "Loading" spinner making the page seem like it hasn't finished loading. Is there a way to suppress this? I've been told that the Orbited team has hacks for suppressing this, but looking through the Orbited.js code I cannot figure out what they are. Any help would ...

Is it possible to write a javascript SSH client that uses web sockets for transport?

Would it be possible to write a basic SSH client in pure javascript using something like orbited web sockets as the transport layer? I don't see any examples of this, but it seems like it would be a nice thing to have. ...

Orbited exception Data must not be unicode.

I am working with orbited and once I switch on orbited in production mode it throws the following error on my screen -- <exception caught here> --- File "/usr/lib/python2.6/dist-packages/twisted/web/server.py", line 150, in process self.render(resrc) File "/usr/lib/python2.6/dist-packages/twisted/web/server.py", line 157, in ren...

Developing a high-performance, scalable Comet application

Well, the title says most of it. I'm looking to develop a chat application that will hopefully become something more, and currently I'm considering my options for what I should build it on top of. I've taken a look at Tornado with Redis as my primary option - Tornado, being a Comet server, is perfect for long polling to retrieve the mes...

Comet for User based Notification over a Message Queue

We trying to build application that should use Comet (AJAX Push) to send notifications to individual users. Most notifications will have a fairly low timeout. As we are running RabbitMQ, it would be easiest to send messages through AMQP. I am wondering what the best way to address individual users is, so that both the Comet server and t...