alanhdu / hunt

Play Hunt (the terminal game) online at http://quiet-forest-3036.herokuapp.com/
1 stars 0 forks source link

I can't run it locally anymore? #24

Closed samm81 closed 10 years ago

samm81 commented 10 years ago

Traceback (most recent call last): File "Server.py", line 15, in @socketio.on_Error_default AttributeError: 'SocketIO' object has no attribute 'on_error_default'

When I comment out the first method (at line 15) it works fine. Is my socketio not up to date or something?

alanhdu commented 10 years ago

Yeah, you need to update to flask_socketio 0.4.0. Also, on master, I took out the port number specification, so you might have to tweak that a little to run it locally.

pip install -U flask_socketio.

samm81 commented 10 years ago

Ah, that's how you upgrade. Thanks. On Oct 14, 2014 12:37 PM, "Alan Du" notifications@github.com wrote:

Yeah, you need to update to flask_socketio 0.4.0. Also, on master, I took out the port number specification, so you might have to tweak that a little to run it locally.

pip install -U flask_socketio.

— Reply to this email directly or view it on GitHub https://github.com/alanhdu/hunt/issues/24#issuecomment-59085169.