trape icon indicating copy to clipboard operation
trape copied to clipboard

Error loading Trape [x] ERROR: invalid syntax (client.py, line 284)

Open digitalhuman opened this issue 4 years ago • 7 comments

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?

digitalhuman avatar Jan 02 '21 09:01 digitalhuman

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)

digitalhuman avatar Jan 02 '21 09:01 digitalhuman

Did you get to solve this issue?

superirale avatar Feb 28 '21 23:02 superirale

Sadly not

digitalhuman avatar Mar 01 '21 06:03 digitalhuman

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

superirale avatar Mar 07 '21 02:03 superirale

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
Screenshot 2021-03-07 at 19 13 51

superirale avatar Mar 07 '21 18:03 superirale

bravo!

raspa444 avatar Apr 05 '21 11:04 raspa444

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

raspa444 avatar Apr 05 '21 11:04 raspa444