endgameinc / gym-malware

MIT License
612 stars 163 forks source link

BrokenPipeError: [Errno 32] Broken pipe #9

Open vinayakumarr opened 6 years ago

vinayakumarr commented 6 years ago

python3 download_samples.py --vtapikey key is provided here --virustotal --zipfile 290

Namespace(nconcurrent=3, virusshare=False, virustotal=True, vtapikey=' ', zipfile=['290'], zipfilepassword=None) Traceback (most recent call last): File "download_samples.py", line 167, in use_virustotal(args) File "download_samples.py", line 92, in use_virustotal 0007df5e92070f8d12411078070bdcafb24df81c837d8113a1e047ed7ac9fba1 downloading for i in range(args.narchiveprocs): AttributeError: 'Namespace' object has no attribute 'narchiveprocs' Process Process-4: Traceback (most recent call last): File "/usr/lib/python3.5/multiprocessing/managers.py", line 709, in _callmethod conn = self._tls.connection AttributeError: 'ForkAwareLocal' object has no attribute 'connection'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/lib/python3.5/multiprocessing/process.py", line 249, in _bootstrap self.run() File "/usr/lib/python3.5/multiprocessing/process.py", line 93, in run self._target(*self._args, self._kwargs) File "download_samples.py", line 51, in download_worker_function sha256 = download_queue.get() File "", line 2, in get File "/usr/lib/python3.5/multiprocessing/managers.py", line 713, in _callmethod self._connect() File "/usr/lib/python3.5/multiprocessing/managers.py", line 700, in _connect conn = self._Client(self._token.address, authkey=self._authkey) File "/usr/lib/python3.5/multiprocessing/connection.py", line 487, in Client c = SocketClient(address) File "/usr/lib/python3.5/multiprocessing/connection.py", line 614, in SocketClient s.connect(address) FileNotFoundError: [Errno 2] No such file or directory Process Process-3: Traceback (most recent call last): File "/usr/lib/python3.5/multiprocessing/process.py", line 249, in _bootstrap self.run() File "/usr/lib/python3.5/multiprocessing/process.py", line 93, in run self._target(*self._args, *self._kwargs) File "download_samples.py", line 51, in download_worker_function sha256 = download_queue.get() File "", line 2, in get File "/usr/lib/python3.5/multiprocessing/managers.py", line 717, in _callmethod kind, result = conn.recv() File "/usr/lib/python3.5/multiprocessing/connection.py", line 250, in recv buf = self._recv_bytes() File "/usr/lib/python3.5/multiprocessing/connection.py", line 407, in _recv_bytes buf = self._recv(4) File "/usr/lib/python3.5/multiprocessing/connection.py", line 383, in _recv raise EOFError EOFError 0007df5e92070f8d12411078070bdcafb24df81c837d8113a1e047ed7ac9fba1 had a problem 0007df5e92070f8d12411078070bdcafb24df81c837d8113a1e047ed7ac9fba1 done Process Process-2: Traceback (most recent call last): File "/usr/lib/python3.5/multiprocessing/process.py", line 249, in _bootstrap self.run() File "/usr/lib/python3.5/multiprocessing/process.py", line 93, in run self._target(self._args, self._kwargs) File "download_samples.py", line 67, in download_worker_function download_queue.task_done() File "", line 2, in task_done File "/usr/lib/python3.5/multiprocessing/managers.py", line 716, in _callmethod conn.send((self._id, methodname, args, kwds)) File "/usr/lib/python3.5/multiprocessing/connection.py", line 206, in send self._send_bytes(ForkingPickler.dumps(obj)) File "/usr/lib/python3.5/multiprocessing/connection.py", line 404, in _send_bytes self._send(header + buf) File "/usr/lib/python3.5/multiprocessing/connection.py", line 368, in _send n = write(self._handle, buf) BrokenPipeError: [Errno 32] Broken pipe

mingcheung commented 4 years ago

I also encountered the same problem. How did you solve it?

vietvo89 commented 3 years ago

I got the same problem. Do you know how to address it?

Thanks