On Fri, Jun 21, 2013 at 6:14 PM, shartha <[email protected]> wrote:
> Hi Ricardo,
>
> Thank you very much for posting the application. Here are a few questions
> that I have regarding this:
> 1. Do I need to put the route.py in the root directory of my app?
> 2. I tried by putting the routes.py in the rood directory of iochat.
> run_io_chat.py was also created in the same directory. I also included
>
routes.py and run_io_chat.py in the web2py folder not in the app folder.
> import sys
> sys.path.append('path_to_web2py\library.zip')
>
> at the very top of your run_io_chat.py. When I run the command python.exe
> run_io_chat.py, I get the error: Cannot determine web2py version.
> Also when I try to visit http://127.0.0.1:8000/iochat/default/index, I
> get the following ticket:
> <type 'exceptions.ImportError'> No module named socketio.namespace
>
You should use web2py sources (not the binary one) and install gevent and
gevent-sockeio.
Also the port defined in run_io_chat.py, if you do not change it, is 8080.
Ricardo
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.