These are chat archives for fossasia/open-event-server

1st
Mar 2017
Abishek V Ashok
@abishekvashok
Mar 01 2017 03:40
Any logs? @uttu357
Aseem Shrey
@LuD1161
Mar 01 2017 05:24

I am setting up locally and met with this error:

FATAL: password authentication failed for user "open_event_user"

Even though I set up with the correct password
Aseem Shrey
@LuD1161
Mar 01 2017 05:46
Got it working :)

Although now I am getting this error :

ERROR:werkzeug:Error on request: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 205, in run_wsgi execute(self.server.app) File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 193, in execute application_iter = app(environ, start_response) File "/usr/lib/python2.7/dist-packages/flask/app.py", line 1994, in __call__ return self.wsgi_app(environ, start_response) File "/usr/local/lib/python2.7/dist-packages/flask_socketio/__init__.py", line 37, in __call__ start_response) File "/usr/local/lib/python2.7/dist-packages/engineio/middleware.py", line 47, in __call__ return self.engineio_app.handle_request(environ, start_response) File "/usr/local/lib/python2.7/dist-packages/socketio/server.py", line 353, in handle_request return self.eio.handle_request(environ, start_response) File "/usr/local/lib/python2.7/dist-packages/engineio/server.py", line 260, in handle_request environ, start_response) File "/usr/local/lib/python2.7/dist-packages/engineio/socket.py", line 86, in handle_get_request start_response) File "/usr/local/lib/python2.7/dist-packages/engineio/socket.py", line 127, in _upgrade_websocket return ws(environ, start_response) File "/usr/local/lib/python2.7/dist-packages/engineio/async_eventlet.py", line 11, in __call__ raise RuntimeError('You need to use the eventlet server. ' RuntimeError: You need to use the eventlet server. See the Deployment section of the documentation for more information.

Avi Aryan
@aviaryan
Mar 01 2017 06:54
@LuD1161 Try running gunicorn app:app --worker-class eventlet -w 1 -b :5000 from the project's directory
Utkarsh Gupta
@uttu357
Mar 01 2017 07:30
@Abhi2424shek nope there is no log in the terminal from which i ran the server...
Utkarsh Gupta
@uttu357
Mar 01 2017 08:52
Screenshot from 2017-03-01 14:00:42.png
This error is being shown in the terminal
'module' object has no attribute 'epoll'
Aseem Shrey
@LuD1161
Mar 01 2017 11:18
@aviaryan Thanks :smile:
Utkarsh Gupta
@uttu357
Mar 01 2017 12:43
The error occurs while accessing "/explore/autocomplete/events/India.json"