Hi Stephen,

I am having issues with the installation. Is this project still
active? is there any goggle group?

I just downloaded the latest file. Then i tried running the example
chat application. I can see the messages from the client.
However, events inside event.py are never getting fired. I think my
setup is not able to load "events.py". I inserted some print
statements in both these functions but they never getting printed out

@events.on_message(channel="^room-")
def message(request, socket, context, message):

@events.on_finish(channel="^room-")
def finish(request, socket, context):

Please can you let me know how to fix this?

My django version:

(1, 3, 1, 'final', 0)

Messages from the client after running on python manage.py runserver_socketio

127.0.0.1 - - [2012-10-07 17:02:13] "Socket.IO message: {u'action':
u'start', u'room': 2, u'name': u'test'}"
127.0.0.1 - - [2012-10-07 17:02:54] "Socket.IO message: {u'action':
u'start', u'room': 2, u'name': u'test'}"
127.0.0.1 - - [2012-10-07 17:03:05] "Socket.IO subscribe: room-2"
127.0.0.1 - - [2012-10-07 17:03:16] "Socket.IO subscribe: room-2"
127.0.0.1 - - [2012-10-07 17:04:23] "Socket.IO subscribe: room-2"
127.0.0.1 - - [2012-10-07 17:06:45] "Socket.IO subscribe: room-2"
127.0.0.1 - - [2012-10-07 17:06:50] "Socket.IO message: {u'action':
u'start', u'room': 2, u'name': u'test'}"
127.0.0.1 - - [2012-10-07 17:07:52] "Socket.IO subscribe: room-2"

Appreciate your time!

Thanks.

RJ





On Fri, Aug 12, 2011 at 9:06 PM, Stephen McDonald <stephen...@gmail.com> wrote:
> Hi all,
>
> Our Django Dash entry http://drawnby.jupo.org made extensive use of
> Socket.IO (cross-browser websockets) and born out of that I've created a new
> django-socketio package which is now available:
>
> Github: https://github.com/stephenmcd/django-socketio
> Bitbucket: https://bitbucket.org/stephenmcd/django-socketio
> PyPI: http://pypi.python.org/pypi/django-socketio/
>
> Here's an overview from the docs:
>
> django-socketio is a BSD licensed Django application that brings together a
> variety of features that allow you to use WebSockets seamlessly with any
> Django project. django-socketio was inspired by Cody Soyland's introductory
> blog post on using Socket.IO and gevent with Django, and made possible by
> the work of Jeffrey Gelens' gevent-websocket and gevent-socketio packages.
> The features provided by django-socketio are:
>
> - Installation of required packages from PyPI
> - A management command for running gevent's pywsgi server with
> auto-reloading capabilities
> - A channel subscription and broadcast system that extends Socket.IO
> allowing WebSockets and events to be partitioned into separate concerns
> - A signals-like event system that abstracts away the various stages of a
> Socket.IO request
> - The required views, urlpatterns, templatetags and tests for all the above
>
> Cheers,
> Steve
>
> --
> Stephen McDonald
> http://jupo.org
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to