2017-07-08 3 views
0

ich folgende Fehlermeldung erhalten, sobald ich django app zusammen mit der django-socketio App mit Python manage.py runserver_socketioAttribute: ‚FlashPolicyServer‘ Objekt hat kein Attribut ‚Kill‘

SocketIOServer running on 127.0.0.1:8001 

KeyboardInterrupt 
Thu Jul 6 22:04:52 2017 
Traceback (most recent call last): 
    File "manage.py", line 10, in <module> 
    execute_from_command_line(sys.argv) 
    File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 353, in execute_from_command_line 
    utility.execute() 
    File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 345, in execute 
    self.fetch_command(subcommand).run_from_argv(self.argv) 
    File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 348, in run_from_argv 
    self.execute(*args, **cmd_options) 
    File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 399, in execute 
    output = self.handle(*args, **options) 
    File "/usr/local/lib/python2.7/dist-packages/django_socketio-0.3.9-py2.7.egg/django_socketio/management/commands/runserver_socketio.py", line 65, in handle 
    server.kill() 
    File "/usr/local/lib/python2.7/dist-packages/socketio/server.py", line 43, in kill 
    self.policy_server.kill() 
AttributeError: 'FlashPolicyServer' object has no attribute 'kill' 

Bin ich laufen fehlt etwas ?

Antwort

0

Inspiriert von this Problem, habe ich versucht, gevent-socketio und gevent herabstufen und es hat funktioniert.

pip uninstall gevent-socketio gevent 
pip install gevent-socketio==0.2.1 gevent==0.13.6 
Verwandte Themen