i3visio / osrframework

OSRFramework, the Open Sources Research Framework is a AGPLv3+ project by i3visio focused on providing API and tools to perform more accurate online researches.
GNU Affero General Public License v3.0
928 stars 246 forks source link

Error in running $sudo osrf --help #368

Open Mayank-Khurmai opened 3 years ago

Mayank-Khurmai commented 3 years ago

Traceback (most recent call last): File "/usr/local/bin/osrf", line 5, in from osrframework.launcher import main File "/usr/local/lib/python3.8/dist-packages/osrframework/launcher.py", line 28, in import osrframework.domainfy as domainfy File "/usr/local/lib/python3.8/dist-packages/osrframework/domainfy.py", line 452 group_processing.add_argument('-u', '--user-defined', metavar='', nargs='+', action='store', help='additional TLD that will be searched.', required=False, default=DEFAULT_VALUES.get("user_defined", [])) ^ SyntaxError: invalid syntax

alsunseri commented 3 years ago

I encountered the same problem. On both kali 2020.4 and Parrot Linux 4.10 I have not tried the install anywhere else yet.

ghost commented 3 years ago

Seems like this issue is similar to https://github.com/i3visio/osrframework/issues/367

jjr207 commented 3 years ago

Having the same problem, and yes it seems the same as #367

alsunseri commented 3 years ago

The problem is with line 451. ( version 0.20.2 via pip3 ) It is missing an end parenthesis. I added the parenthesis and got another error. In addition to adding the end parenthesis change DEFAULT_VALUE to DEFAULT_VALUES - also on line 451 Anyway, the syntax error is a missing ')' on line 451 of domainfy.py

This is for version 0.20.2 installed via pip3 But it seems to work if i make those 2 changes.

jjr207 commented 3 years ago

alsunseri. Many thanks! Works perfectly now.

talhaschoice commented 1 year ago

This didnt work for me, had a lot of problem and headache solving, finally found the solution. The problem is with this latest version of osrf. tried uninstalling and reinstalling with older version specifically.

sudo pip uninstall osrframework

pip install osrframework==0.20.0