Traceback (most recent call last):

 "/home/worker/cobra/cobra/__init__.py", line 82, in main
cli.start(args.target, args.format, args.output, args.special_rules, a_sid)

 "/home/worker/cobra/cobra/cli.py", line 122, in start
write_to_file(target=target, sid=s_sid, output_format=formatter, filename=output)

 "/home/worker/cobra/cobra/export.py", line 148, in write_to_file
with open(filename, 'w', encoding='utf-8') as f:

 "/usr/lib/python2.7/codecs.py", line 896, in open
file = __builtin__.open(filename, mode, buffering)IOError: [Errno 2] No such file or directory: '/temp/report.json'
Traceback (most recent call last):

 "/Users/kevin/code/pip/venv/site-packages/pip-1.5.6-py2.7.egg/pip/basecommand.py", line 122, in main
status = self.run(options, args)

 "/Users/kevin/code/pip/venv/site-packages/pip-1.5.6-py2.7.egg/pip/commands/install.py", line 278, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)

 "/Users/kevin/code/pip/venv/site-packages/pip-1.5.6-py2.7.egg/pip/req.py", line 1177, in prepare_files
url = finder.find_requirement(req_to_install, upgrade=self.upgrade)

 "/Users/kevin/code/pip/venv/site-packages/pip-1.5.6-py2.7.egg/pip/index.py", line 194, in find_requirement
page = self._get_page(main_index_url, req)

 "/Users/kevin/code/pip/venv/site-packages/pip-1.5.6-py2.7.egg/pip/index.py", line 568, in _get_page
session=self.session,

 "/Users/kevin/code/pip/venv/site-packages/pip-1.5.6-py2.7.egg/pip/index.py", line 670, in get_page
resp = session.get(url, headers={"Accept": "text/html"})

 "/Users/kevin/code/pip/venv/site-packages/pip-1.5.6-py2.7.egg/pip/_vendor/requests/sessions.py", line 468, in get
return self.request('GET', url, **kwargs)

 "/Users/kevin/code/pip/venv/site-packages/pip-1.5.6-py2.7.egg/pip/download.py", line 237, in request
return super(PipSession, self).request(method, url, *args, **kwargs)

 "/Users/kevin/code/pip/venv/site-packages/pip-1.5.6-py2.7.egg/pip/_vendor/requests/sessions.py", line 456, in request
resp = self.send(prep, **send_kwargs)

 "/Users/kevin/code/pip/venv/site-packages/pip-1.5.6-py2.7.egg/pip/_vendor/requests/sessions.py", line 559, in send
r = adapter.send(request, **kwargs)

 "/Users/kevin/code/pip/venv/site-packages/pip-1.5.6-py2.7.egg/pip/_vendor/requests/adapters.py", line 327, in send
timeout=timeout

 "/Users/kevin/code/pip/venv/site-packages/pip-1.5.6-py2.7.egg/pip/_vendor/requests/packages/urllib3/connectionpool.py", line 516, in urlopen
body=body, headers=headers)

 "/Users/kevin/code/pip/venv/site-packages/pip-1.5.6-py2.7.egg/pip/_vendor/requests/packages/urllib3/connectionpool.py", line 331, in _make_request
httplib_response = conn.getresponse(buffering=True)

 "/Users/kevin/.pyenv/versions/pypy-2.3.1/lib-python/2.7/httplib.py", line 1043, in getresponse
response = self.response_class(*args, **kwds)

 "/Users/kevin/.pyenv/versions/pypy-2.3.1/lib-python/2.7/httplib.py", line 339, in __init__
self.fp = sock.makefile('rb')

 "/Users/kevin/code/pip/venv/site-packages/pip-1.5.6-py2.7.egg/pip/_vendor/requests/packages/urllib3/contrib/pyopenssl.py", line 169, in makefile
return _fileobject(self, mode, bufsize)

 "/Users/kevin/.pyenv/versions/pypy-2.3.1/lib-python/2.7/socket.py", line 300, in __init__
sock._reuse()AttributeError: 'WrappedSocket' object has no attribute '_reuse'