Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

threat/insert2db.py Error #14

Open
nakacya opened this issue Mar 12, 2020 · 0 comments
Open

threat/insert2db.py Error #14

nakacya opened this issue Mar 12, 2020 · 0 comments

Comments

@nakacya
Copy link

nakacya commented Mar 12, 2020

Describe the bug

Running threat / insert2db.py gives an error.

To Reproduce

Steps to reproduce the behavior:

cd /opt/exist/; source venv-exist/bin/activate; bash -l -c 'python3 scripts/insert2db/threat/insert2db.py'
Traceback (most recent call last):
  File "scripts/insert2db/threat/insert2db.py", line 308, in <module>
    parseJson(json_dict)
  File "scripts/insert2db/threat/insert2db.py", line 276, in parseJson
    for content in json_dict['response']:
TypeError: 'NoneType' object is not subscriptable

Expected behavior

Desktop (please complete the following information):

  • OS: CentOS 7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant