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

Create missing __init__.py for _ransomcoindb #373

Merged
merged 3 commits into from
Feb 25, 2020

Conversation

seanthegeek
Copy link
Contributor

@seanthegeek seanthegeek commented Feb 23, 2020

On November 26, 2019, the Python package 'misp_modules.modules.expantion._ransomcoindb' was added to the misp-modules project (Python scripts used by MISP for indicator enrichment, import, and export) without the __init__.py file required by all Python packages.

https://github.com/MISP/misp-modules/tree/5d7a8295832282a6a2076c6f044e47379c94c201/misp_modules/modules/expansion/_ransomcoindb

This caused the entire misp-modules server to fail to start. This issue was first reported on November 29, 2019.

#354

And again on December 22 , 2019

MISP/MISP#5452

sudo -H -u www-data /var/www/MISP/venv/bin/misp-modules -l 127.0.0.1 -s
No module named 'misp_modules.modules.expansion._ransomcoindb'
2019-12-22 10:59:56,385 - misp-modules - INFO - Launch MISP modules server from package.
INFO:misp-modules:Launch MISP modules server from package.
2019-12-22 10:59:56,388 - misp-modules - INFO - Helper loaded cache
INFO:misp-modules:Helper loaded cache
2019-12-22 10:59:56,388 - misp-modules - INFO - Unable to load MISP modules from package.
INFO:misp-modules:Unable to load MISP modules from package.

This PR fixes this problem by adding the missing __init.py__ file.

@chrisr3d
Copy link
Member

It does make sense, thank you!

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

Successfully merging this pull request may close these issues.

2 participants