trape
trape copied to clipboard
Error loading Trape [x] ERROR: invalid syntax (client.py, line 284)
Installation of Python2 runs fine. Installed 'requirements.txt' with pip. Environment is set to 2.7
And i just get this error:
Loading trape... [x] ERROR: invalid syntax (client.py, line 284)
Any idea?
Found some more info:
/usr/lib/python2.7/site-packages/requests/init.py:89: RequestsDependencyWarning: urllib3 (1.26.2) or chardet (2.2.1) doesn't match a supported version! RequestsDependencyWarning)
It hangs because of this:
Check imported dependencies for compatibility.
84 try:
85 check_compatibility(urllib3.__version__, chardet.__version__)
86 except (AssertionError, ValueError):
87 warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported "
88 "version!".format(urllib3.__version__, chardet.__version__),
89 RequestsDependencyWarning)
Did you get to solve this issue?
Sadly not
Sadly not
I stopped being lazy and solve the issue. The issue was with the dependencies some of them stopped supporting python2 use this
Flask==1.0
Flask-Login==0.4.0
Flask-Session==0.3.1
flask-socketio==3.3.1
itsdangerous==0.24
Jinja2==2.10
MarkupSafe==0.23
python-engineio
python-socketio==4.0.3
six==1.10.0
Werkzeug==0.15.3
eventlet
Sadly not
I stopped being lazy and solve the issue. The issue was with the dependencies some of them stopped supporting python2 use this
Flask==1.0 Flask-Login==0.4.0 Flask-Session==0.3.1 flask-socketio==3.3.1 itsdangerous==0.24 Jinja2==2.10 MarkupSafe==0.23 python-engineio python-socketio==4.0.3 six==1.10.0 Werkzeug==0.15.3 eventlet
or this
click==7.1.2
dnspython==1.16.0
eventlet==0.30.2
Flask==1.0
Flask-Login==0.4.0
Flask-Session==0.3.1
Flask-SocketIO==3.3.1
greenlet==1.0.0
itsdangerous==0.24
Jinja2==2.10
MarkupSafe==0.23
monotonic==1.5
python-engineio==3.7.0
python-socketio==4.0.3
six==1.10.0
Werkzeug==0.15.3

bravo!
I think you are making quite a statement here mate, stop complaining and whining and DO something about it. cheers mate.