geohot/qira

TypeError: type object got multiple values for keyword argument 'log'

Ethnical opened this issue · 3 comments

Hi everyone,
When i use Qira ./bin/ls i got this error

Ubunutu x64 bits on /bin/ls :

Traceback (most recent call last): File "/home/reverse/qira-1.2/middleware/qira.py", line 104, in <module> qira_webserver.run_server(args, program) File "/home/reverse/qira-1.2/middleware/qira_webserver.py", line 437, in run_server socketio.run(app, host=qira_config.HOST, port=qira_config.WEB_PORT, log=open("/dev/null", "w")) File "/home/reverse/qira-1.2/venv/local/lib/python2.7/site-packages/flask_socketio/__init__.py", line 529, in run log=log, **kwargs) TypeError: type object got multiple values for keyword argument 'log'

image

Thanks if somebody can help me ^^

Same here, ubuntu 17.04 x86-64, one week after installation, everything up to date.
The installation of qira ended without any errors.
screenshot from 2017-08-06 14-10-57

mpex commented

Flask-SocketIO got an update (to 2.9.2) which obviously broke qira. You can simply downgrade this module.
Here is how I did it:

source <qira-dir>/venv/bin/activate
pip uninstall Flask-SocketIO
pip install Flask-SocketIO==2.9.1
deactivate

After that qira starts properly

Seems like requirements.txt should be updated to specify
flask-socketio==2.9.1