mlsecproject / combine

Tool to gather Threat Intelligence indicators from publicly available sources
https://www.mlsecproject.org/
GNU General Public License v3.0
650 stars 179 forks source link

from thresher import thresh #158

Closed kozanostra2x2i closed 8 years ago

kozanostra2x2i commented 8 years ago

i start receiving this type error: kalaja@ubuntu:~/combine$ ./combine.py Traceback (most recent call last): File "./combine.py", line 11, in from thresher import thresh File "/home/kalaja/combine/thresher.py", line 2, in import bs4 ImportError: No module named bs4

even though i have these modules nad program ran fine until this morning, any suggestions please? thanks a lot...

kozanostra2x2i commented 8 years ago

kalaja@ubuntu:~/combine$ sudo pip install bs4 [sudo] password for kalaja: Requirement already satisfied (use --upgrade to upgrade): bs4 in /usr/local/lib/python2.7/dist-packages Cleaning up...

kozanostra2x2i commented 8 years ago

for some reason beutifulsoup4 was corrupted and i had to reinstalled with pip, which fixed the proplem with "ImportError: No module named bs4" No i got this errorr: File "./combine.py", line 39, in reap('harvest.json') File "/home/kalaja/combine/reaper.py", line 49, in reap inbound_responses = grequests.map(reqs, exception_handler=exception_handler) TypeError: map() got an unexpected keyword argument 'exception_handler'

kozanostra2x2i commented 8 years ago

error: "TypeError: map() got an unexpected keyword argument 'exception_handler'" i have fixed by this command: pip install git+https://github.com/kennethreitz/grequests.git

alexcpsec commented 8 years ago

Hey!

We usually suggest that people do a fresh venv container to help with any issues like that. We are still using a fork of gevents because of the exception handling. If you have some time, could you check if the fresh install option works?

sudo apt-get install python-dev python-pip python-virtualenv git
git clone https://github.com/mlsecproject/combine.git
cd combine
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
kozanostra2x2i commented 8 years ago

@alexcpsec thanks fro respond. I have fixed the issues and i have been very happy with results of combine.py. GREAT WORK!

alexcpsec commented 8 years ago

Thanks!