weimingtom / malware-crawler

Automatically exported from code.google.com/p/malware-crawler
1 stars 0 forks source link

'module' object has no attribute 'open' #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. After install all dependencies i run ./ragpicker.py

What is the expected output? What do you see instead?

INFO Main ragpicker:131 RAGPICKER_VERSION: 0.2.2
INFO Main ragpicker:132 RAGPICKER_ROOT: /home/mrpink/malware-crawler
INFO Main ragpicker:138 Threads: 3
INFO Main ragpicker:76 Run Crawler: vxvault
INFO VxvaultCrawler vxvault:18 Fetching from VXVault List
INFO VxvaultCrawler vxvault:29 Found 101 urls
INFO Main ragpicker:145 Process 72 URLs
WARNING core.worker worker:60 Thread(2) - Thread(2) - HTTP Error 404: Not Found 
- Error parsing http://cezmosound.com/a.d5 - Error parsing 
http://cezmosound.com/a.d5
INFO core.objfile objfile:44 temp_file=/tmp/ragpicker-tmp/ragpicker_IWm8Uo.virus
WARNING core.worker worker:60 Thread(1) - 'module' object has no attribute 
'open' - Error parsing http://94.242.245.253/files/12/video_hd.exe
INFO core.objfile objfile:77 close tmpFile: 
/tmp/ragpicker-tmp/ragpicker_IWm8Uo.virus
INFO core.objfile objfile:44 temp_file=/tmp/ragpicker-tmp/ragpicker_vLIKMQ.virus
WARNING core.worker worker:60 Thread(2) - 'module' object has no attribute 
'open' - Error parsing http://3d7f0de36d.com/files/01/video_hd.exe

What version of the product are you using? 
Last version available on code.google.com
On what operating system?

Linux  3.2.0-4-amd64 #1 SMP Debian 3.2.46-1 x86_64 GNU/Linux

Please provide any additional information below.

Original issue reported on code.google.com by corp.spe...@gmail.com on 9 Aug 2013 at 9:33

GoogleCodeExporter commented 9 years ago
Don't know if this has been solved. However I ran into this problem myself and 
found that it's due to the python-magic module that is installed through repo.

Try downloading the source from https://pypi.python.org/pypi/python-magic/ and 
go from there. Worked for me.

Original comment by nuf...@gmail.com on 8 Jan 2014 at 8:29

GoogleCodeExporter commented 9 years ago

Original comment by Robby@Zeitfuchs.org on 5 Jul 2014 at 4:01