
Traceback (most recent call last):


 "<string>", line 1, in <module>


 "/tmp/pip-build-jrefhbba/angr/setup.py", line 125, in <module>

'angr': ['lib/*']


 "/usr/lib/python3.5/distutils/core.py", line 108, in setup

_setup_distribution = dist = klass(attrs)


 "/usr/local/lib/python3.5/dist-packages/setuptools-28.8.0-py3.5.egg/setuptools/dist.py", line 315, in __init__


 "/usr/local/lib/python3.5/dist-packages/setuptools-28.8.0-py3.5.egg/setuptools/dist.py", line 361, in fetch_build_eggs


 "/usr/local/lib/python3.5/dist-packages/setuptools-28.8.0-py3.5.egg/pkg_resources/__init__.py", line 850, in resolve


 "/usr/local/lib/python3.5/dist-packages/setuptools-28.8.0-py3.5.egg/pkg_resources/__init__.py", line 1122, in best_match


 "/usr/local/lib/python3.5/dist-packages/setuptools-28.8.0-py3.5.egg/pkg_resources/__init__.py", line 1134, in obtain


 "/usr/local/lib/python3.5/dist-packages/setuptools-28.8.0-py3.5.egg/setuptools/dist.py", line 429, in fetch_build_egg


 "/usr/local/lib/python3.5/dist-packages/setuptools-28.8.0-py3.5.egg/setuptools/command/easy_install.py", line 665, in easy_install


 "/usr/local/lib/python3.5/dist-packages/setuptools-28.8.0-py3.5.egg/setuptools/command/easy_install.py", line 695, in install_item


 "/usr/local/lib/python3.5/dist-packages/setuptools-28.8.0-py3.5.egg/setuptools/command/easy_install.py", line 876, in install_eggs


 "/usr/local/lib/python3.5/dist-packages/setuptools-28.8.0-py3.5.egg/setuptools/command/easy_install.py", line 1115, in build_and_install


 "/usr/local/lib/python3.5/dist-packages/setuptools-28.8.0-py3.5.egg/setuptools/command/easy_install.py", line 1101, in run_setup


 "/usr/local/lib/python3.5/dist-packages/setuptools-28.8.0-py3.5.egg/setuptools/sandbox.py", line 251, in run_setup


 "/usr/lib/python3.5/contextlib.py", line 77, in __exit__

self.gen.throw(type, value, traceback)


 "/usr/local/lib/python3.5/dist-packages/setuptools-28.8.0-py3.5.egg/setuptools/sandbox.py", line 198, in setup_context


 "/usr/lib/python3.5/contextlib.py", line 77, in __exit__

self.gen.throw(type, value, traceback)


 "/usr/local/lib/python3.5/dist-packages/setuptools-28.8.0-py3.5.egg/setuptools/sandbox.py", line 169, in save_modules


 "/usr/local/lib/python3.5/dist-packages/setuptools-28.8.0-py3.5.egg/setuptools/sandbox.py", line 144, in resume


 "/usr/local/lib/python3.5/dist-packages/setuptools-28.8.0-py3.5.egg/pkg_resources/_vendor/six.py", line 685, in reraise

raise value.with_traceback(tb)


 "/usr/local/lib/python3.5/dist-packages/setuptools-28.8.0-py3.5.egg/setuptools/sandbox.py", line 157, in save_modules


 "/usr/local/lib/python3.5/dist-packages/setuptools-28.8.0-py3.5.egg/setuptools/sandbox.py", line 198, in setup_context


 "/usr/local/lib/python3.5/dist-packages/setuptools-28.8.0-py3.5.egg/setuptools/sandbox.py", line 248, in run_setup


 "/usr/local/lib/python3.5/dist-packages/setuptools-28.8.0-py3.5.egg/setuptools/sandbox.py", line 278, in run


 "/usr/local/lib/python3.5/dist-packages/setuptools-28.8.0-py3.5.egg/setuptools/sandbox.py", line 246, in runner


 "/usr/local/lib/python3.5/dist-packages/setuptools-28.8.0-py3.5.egg/setuptools/sandbox.py", line 47, in _execfile


 "/tmp/easy_install-csjd4uh4/pyvex-7.8.2.21/setup.py", line 208, in <module>


 "/usr/lib/python3.5/distutils/core.py", line 108, in setup

_setup_distribution = dist = klass(attrs)


 "/usr/local/lib/python3.5/dist-packages/setuptools-28.8.0-py3.5.egg/setuptools/dist.py", line 315, in __init__


 "/usr/local/lib/python3.5/dist-packages/setuptools-28.8.0-py3.5.egg/setuptools/dist.py", line 361, in fetch_build_eggs


 "/usr/local/lib/python3.5/dist-packages/setuptools-28.8.0-py3.5.egg/pkg_resources/__init__.py", line 850, in resolve


 "/usr/local/lib/python3.5/dist-packages/setuptools-28.8.0-py3.5.egg/pkg_resources/__init__.py", line 1122, in best_match


 "/usr/local/lib/python3.5/dist-packages/setuptools-28.8.0-py3.5.egg/pkg_resources/__init__.py", line 1134, in obtain


 "/usr/local/lib/python3.5/dist-packages/setuptools-28.8.0-py3.5.egg/setuptools/dist.py", line 429, in fetch_build_egg


 "/usr/local/lib/python3.5/dist-packages/setuptools-28.8.0-py3.5.egg/setuptools/command/easy_install.py", line 665, in easy_install


 "/usr/local/lib/python3.5/dist-packages/setuptools-28.8.0-py3.5.egg/setuptools/command/easy_install.py", line 695, in install_item


 "/usr/local/lib/python3.5/dist-packages/setuptools-28.8.0-py3.5.egg/setuptools/command/easy_install.py", line 876, in install_eggs


 "/usr/local/lib/python3.5/dist-packages/setuptools-28.8.0-py3.5.egg/setuptools/command/easy_install.py", line 1115, in build_and_install


 "/usr/local/lib/python3.5/dist-packages/setuptools-28.8.0-py3.5.egg/setuptools/command/easy_install.py", line 1103, in run_setup

distutils.errors.DistutilsError: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

Traceback (most recent call last):

 "/home/thomas/venv/local/lib/python2.7/site-packages/celery_haystack/tasks.py", line 148, in run
current_index.update_object(instance, **handler_options)

 "/home/thomas/venv/local/lib/python2.7/site-packages/haystack/indexes.py", line 274, in update_object
backend.update(self, [instance])

 "/home/thomas/venv/local/lib/python2.7/site-packages/haystack/backends/elasticsearch_backend.py", line 183, in update
self.conn.bulk_index(self.index_name, 'modelresult', prepped_docs, id_field=ID)

 "/home/thomas/venv/local/lib/python2.7/site-packages/pyelasticsearch/client.py", line 96, in decorate
return func(*args, query_params=query_params, **kwargs)

 "/home/thomas/venv/local/lib/python2.7/site-packages/pyelasticsearch/client.py", line 381, in bulk_index
body_bits.append(self._encode_json(doc))

 "/home/thomas/venv/local/lib/python2.7/site-packages/pyelasticsearch/client.py", line 275, in _encode_json
return json.dumps(value, cls=self.json_encoder, use_decimal=True)

 "/home/thomas/venv/local/lib/python2.7/site-packages/simplejson/__init__.py", line 296, in dumps
**kw).encode(obj)

 "/home/thomas/venv/local/lib/python2.7/site-packages/simplejson/encoder.py", line 226, in encode
chunks = self.iterencode(o, _one_shot=True)

 "/home/thomas/venv/local/lib/python2.7/site-packages/simplejson/encoder.py", line 296, in iterencode
return _iterencode(o, 0)

 "/home/thomas/venv/local/lib/python2.7/site-packages/pyelasticsearch/client.py", line 1009, in default
return super(JsonEncoder, self).default(value)

 "/home/thomas/venv/local/lib/python2.7/site-packages/simplejson/encoder.py", line 202, in default
raise TypeError(repr(o) + " is not JSON serializable")TypeError: <User: thomas> is not JSON serializable`