matamorphosis / Scrummage

A Holistic OSINT and Threat Hunting Platform
GNU General Public License v3.0
502 stars 81 forks source link

'NoneType' object is not subscriptable error on fresh install #41

Closed Joukahainen123 closed 2 years ago

Joukahainen123 commented 2 years ago

Hi, doing fresh install of Scrummage. Start fails to following error:

scrummagews:~/Scrummage/app$ python3 Scrummage.py ERROR:root:2021-12-11 13:10:13 - Common Library - Extra data: line 127 column 4 (char 2548). WARNING:root:2021-12-11 13:10:13 - Common Library - Failed to load configuration file - 'NoneType' object is not subscriptable. WARNING:root:2021-12-11 13:10:13 - Common Library - Failed to load details for object web_app - 'Configuration' object has no attribute 'JSON_Object_Details'. 'NoneType' object is not subscriptable

I have the following a bit suspicious lines in installation log, might or might not have something to do with this.

Installed /usr/local/lib/python3.8/dist-packages/pinterest_api-0.0.8-py3.8.egg Processing dependencies for pinterest-api==0.0.8 Searching for requests==2.22.0 Best match: requests 2.22.0 Adding requests 2.22.0 to easy-install.pth file

Using /usr/lib/python3/dist-packages Finished processing dependencies for pinterest-api==0.0.8 Found existing installation: requests 2.22.0 Not uninstalling requests at /usr/lib/python3/dist-packages, outside environment /usr Can't uninstall 'requests'. No files were found to uninstall.

-r ./support_files/python_requirements.txt (line 13)) (2.20) mv: cannot move './support_files/site-packages/defectdojo.py' to '/root/.local/lib/python3.8/site-packages/defectdojo.py': No such file or directory

Joukahainen123 commented 2 years ago

Actually I did open this a bit hastily. Likely there is something wrong with my configuration file. Closing.