jofpin / trape

People tracker on the Internet: OSINT analysis and research tool by Jose Pino
https://x.com/jofpin
8.07k stars 1.29k forks source link

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

Open digitalhuman opened 3 years ago

digitalhuman commented 3 years ago

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 commented 3 years ago

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)
superirale commented 3 years ago

Did you get to solve this issue?

digitalhuman commented 3 years ago

Sadly not

superirale commented 3 years ago

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 commented 3 years ago

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
raspa444 commented 3 years ago

bravo!

raspa444 commented 3 years ago

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