kaleidos-ventures / taiga-vagrant

Vagrant for taiga
200 stars 49 forks source link

HTTP status code 502 (Bad Gateway) when trying to log in #27

Closed p4t5h3 closed 8 years ago

p4t5h3 commented 8 years ago

Followed the instructions to install Taiga as a Vagrant box. It appears like something goes wrong on provisioning. Console output (shortened):

[…]
==> default: Running virtualenv with interpreter /usr/bin/python3.4
==> default: Downloading/unpacking git+https://github.com/Xof/django-pglocks.git@dbb8d7375066859f897604132bd437832d2014ea (from -r requirements.txt (line 33))
==> default:   Cloning https://github.com/Xof/django-pglocks.git (to dbb8d7375066859f897604132bd437832d2014ea) to /tmp/pip-isajh4os-build
==> default:   Could not find a tag or branch 'dbb8d7375066859f897604132bd437832d2014ea', assuming commit.
==> default:   Running setup.py (path:/tmp/pip-isajh4os-build/setup.py) egg_info for package from git+https://github.com/Xof/django-pglocks.git@dbb8d7375066859f897604132bd437832d2014ea
==> default:     
==> default:     warning: no files found matching '*.txt' under directory 'docs'
==> default: Downloading/unpacking Django==1.9.2 (from -r requirements.txt (line 1))
==> default: Downloading/unpacking django-picklefield==0.3.2 (from -r requirements.txt (line 3))
==> default:   Downloading django_picklefield-0.3.2-py2.py3-none-any.whl
==> default: Downloading/unpacking django-sampledatahelper==0.4.0 (from -r requirements.txt (line 4))
==> default:   Downloading django-sampledatahelper-0.4.tar.gz
==> default:   Running setup.py (path:/home/vagrant/.virtualenvs/taiga/build/django-sampledatahelper/setup.py) egg_info for package django-sampledatahelper
==> default:     
==> default:     Installed /home/vagrant/.virtualenvs/taiga/build/django-sampledatahelper/versiontools-1.9.1-py3.4.egg
==> default:     
==> default:     warning: no files found matching 'sampledatahelper/static/*'
==> default:     warning: no files found matching 'sampledatahelper/l10n/names/*'
==> default: Downloading/unpacking gunicorn==19.4.5 (from -r requirements.txt (line 5))
==> default: Downloading/unpacking psycopg2==2.6.1 (from -r requirements.txt (line 6))
==> default:   Running setup.py (path:/home/vagrant/.virtualenvs/taiga/build/psycopg2/setup.py) egg_info for package psycopg2
==> default:     
==> default: Downloading/unpacking Pillow==3.1.1 (from -r requirements.txt (line 7))
==> default:   Running setup.py (path:/home/vagrant/.virtualenvs/taiga/build/Pillow/setup.py) egg_info for package Pillow
==> default:     
==> default:     warning: no previously-included files found matching '.editorconfig'
==> default: Downloading/unpacking pytz==2015.7 (from -r requirements.txt (line 8))
==> default: Downloading/unpacking six==1.10.0 (from -r requirements.txt (line 9))
==> default:   Downloading six-1.10.0-py2.py3-none-any.whl
==> default: Downloading/unpacking amqp==1.4.9 (from -r requirements.txt (line 10))
==> default: Downloading/unpacking djmail==0.12.0.post1 (from -r requirements.txt (line 11))
==> default:   Downloading djmail-0.12.0.post1.tar.gz
==> default:   Running setup.py (path:/home/vagrant/.virtualenvs/taiga/build/djmail/setup.py) egg_info for package djmail
==> default:     
==> default:   Requested djmail==0.12.0.post1 (from -r requirements.txt (line 11)), but installing version 0.12.0-1
==> default: Downloading/unpacking django-pgjson==0.3.1 (from -r requirements.txt (line 12))
==> default:   Downloading django-pgjson-0.3.1.tar.gz
==> default:   Running setup.py (path:/home/vagrant/.virtualenvs/taiga/build/django-pgjson/setup.py) egg_info for package django-pgjson
==> default:     
==> default: Downloading/unpacking djorm-pgarray==1.2 (from -r requirements.txt (line 13))
==> default:   Downloading djorm-pgarray-1.2.tar.gz
==> default:   Running setup.py (path:/home/vagrant/.virtualenvs/taiga/build/djorm-pgarray/setup.py) egg_info for package djorm-pgarray
==> default:     
==> default: Downloading/unpacking django-jinja==2.1.2 (from -r requirements.txt (line 14))
==> default:   Downloading django-jinja-2.1.2.tar.gz
==> default:   Running setup.py (path:/home/vagrant/.virtualenvs/taiga/build/django-jinja/setup.py) egg_info for package django-jinja
==> default:     
==> default: Downloading/unpacking jinja2==2.8 (from -r requirements.txt (line 15))
==> default: Downloading/unpacking pygments==2.0.2 (from -r requirements.txt (line 16))
==> default: Downloading/unpacking django-sites==0.9 (from -r requirements.txt (line 17))
==> default:   Downloading django-sites-0.9.tar.gz
==> default:   Running setup.py (path:/home/vagrant/.virtualenvs/taiga/build/django-sites/setup.py) egg_info for package django-sites
==> default:     
==> default: Downloading/unpacking Markdown==2.6.5 (from -r requirements.txt (line 18))
==> default:   Running setup.py (path:/home/vagrant/.virtualenvs/taiga/build/Markdown/setup.py) egg_info for package Markdown
==> default:     
==> default: Downloading/unpacking fn==0.4.3 (from -r requirements.txt (line 19))
==> default:   Downloading fn-0.4.3.tar.gz
==> default:   Running setup.py (path:/home/vagrant/.virtualenvs/taiga/build/fn/setup.py) egg_info for package fn
==> default:     
==> default: Downloading/unpacking diff-match-patch==20121119 (from -r requirements.txt (line 20))
==> default:   Running setup.py (path:/home/vagrant/.virtualenvs/taiga/build/diff-match-patch/setup.py) egg_info for package diff-match-patch
==> default:     
==> default: Downloading/unpacking requests==2.9.1 (from -r requirements.txt (line 21))
==> default: Downloading/unpacking django-sr==0.0.4 (from -r requirements.txt (line 22))
==> default:   Downloading django-sr-0.0.4.tar.gz
==> default:   Running setup.py (path:/home/vagrant/.virtualenvs/taiga/build/django-sr/setup.py) egg_info for package django-sr
==> default:     
==> default: Downloading/unpacking easy-thumbnails==2.3 (from -r requirements.txt (line 23))
==> default: Downloading/unpacking celery==3.1.20 (from -r requirements.txt (line 24))
==> default: Downloading/unpacking redis==2.10.5 (from -r requirements.txt (line 25))
==> default: Downloading/unpacking Unidecode==0.04.19 (from -r requirements.txt (line 26))
==> default:   Running setup.py (path:/home/vagrant/.virtualenvs/taiga/build/Unidecode/setup.py) egg_info for package Unidecode
==> default:     
==> default: Downloading/unpacking raven==5.10.2 (from -r requirements.txt (line 27))
==> default: Downloading/unpacking bleach==1.4.2 (from -r requirements.txt (line 28))
==> default:   Downloading bleach-1.4.2-py2.py3-none-any.whl
==> default: Downloading/unpacking django-ipware==1.1.3 (from -r requirements.txt (line 29))
==> default:   Downloading django-ipware-1.1.3.tar.gz
==> default:   Running setup.py (path:/home/vagrant/.virtualenvs/taiga/build/django-ipware/setup.py) egg_info for package django-ipware
==> default:     
==> default: Downloading/unpacking premailer==2.9.7 (from -r requirements.txt (line 30))
==> default:   Downloading premailer-2.9.7-py2.py3-none-any.whl
==> default: Downloading/unpacking cssutils==1.0.1 (from -r requirements.txt (line 31))
==> default:   Running setup.py (path:/home/vagrant/.virtualenvs/taiga/build/cssutils/setup.py) egg_info for package cssutils
==> default:     
==> default: Downloading/unpacking lxml==3.5.0 (from -r requirements.txt (line 32))
==> default:   Running setup.py (path:/home/vagrant/.virtualenvs/taiga/build/lxml/setup.py) egg_info for package lxml
==> default:     Building lxml version 3.5.0.
==> default:     Building without Cython.
==> default:     Using build configuration of libxslt 1.1.28
==> default:     
==> default:     warning: no previously-included files found matching '*.py'
==> default: Downloading/unpacking pyjwkest==1.1.5 (from -r requirements.txt (line 34))
==> default:   Running setup.py (path:/home/vagrant/.virtualenvs/taiga/build/pyjwkest/setup.py) egg_info for package pyjwkest
==> default:     
==> default: Downloading/unpacking python-dateutil==2.4.2 (from -r requirements.txt (line 35))
==> default: Downloading/unpacking netaddr==0.7.18 (from -r requirements.txt (line 36))
==> default: Downloading/unpacking sampledata (from django-sampledatahelper==0.4.0->-r requirements.txt (line 4))
==> default:   Running setup.py (path:/home/vagrant/.virtualenvs/taiga/build/sampledata/setup.py) egg_info for package sampledata
==> default:     
==> default:     Installed /home/vagrant/.virtualenvs/taiga/build/sampledata/versiontools-1.9.1-py3.4.egg
==> default:     
==> default: Downloading/unpacking MarkupSafe (from jinja2==2.8->-r requirements.txt (line 15))
==> default:   Downloading MarkupSafe-0.23.tar.gz
==> default:   Running setup.py (path:/home/vagrant/.virtualenvs/taiga/build/MarkupSafe/setup.py) egg_info for package MarkupSafe
==> default:     
==> default: Downloading/unpacking kombu>=3.0.33,<3.1 (from celery==3.1.20->-r requirements.txt (line 24))
==> default: Downloading/unpacking billiard>=3.3.0.22,<3.4 (from celery==3.1.20->-r requirements.txt (line 24))
==> default:   Running setup.py (path:/home/vagrant/.virtualenvs/taiga/build/billiard/setup.py) egg_info for package billiard
==> default:     
==> default:     warning: no files found matching '*.py' under directory 'Lib'
==> default: Downloading/unpacking contextlib2 (from raven==5.10.2->-r requirements.txt (line 27))
==> default:   Downloading contextlib2-0.5.3-py2.py3-none-any.whl
==> default: Downloading/unpacking html5lib>=0.999 (from bleach==1.4.2->-r requirements.txt (line 28))
==> default:   Running setup.py (path:/home/vagrant/.virtualenvs/taiga/build/html5lib/setup.py) egg_info for package html5lib
==> default:     html5lib requires setuptools version 18.5 or above; please upgrade before installing (you have 2.2)
==> default:     Complete output from command python setup.py egg_info:
==> default:     html5lib requires setuptools version 18.5 or above; please upgrade before installing (you have 2.2)
==> default: 
==> default: ----------------------------------------
==> default: Cleaning up...
==> default: Command python setup.py egg_info failed with error code 1 in /home/vagrant/.virtualenvs/taiga/build/html5lib
==> default: Storing debug log for failure in /home/vagrant/.pip/pip.log
==> default: Traceback (most recent call last):
==> default:   File "manage.py", line 27, in <module>
==> default:     from django.core.management import execute_from_command_line
==> default: ImportError: No module named 'django'
==> default: Traceback (most recent call last):
==> default:   File "manage.py", line 27, in <module>
==> default:     from django.core.management import execute_from_command_line
==> default: ImportError: No module named 'django'
==> default: Traceback (most recent call last):
==> default:   File "manage.py", line 27, in <module>
==> default:     from django.core.management import execute_from_command_line
==> default: ImportError: No module named 'django'
==> default: Traceback (most recent call last):
==> default:   File "manage.py", line 27, in <module>
==> default:     from django.core.management import execute_from_command_line
==> default: ImportError: No module named 'django'
==> default: Traceback (most recent call last):
==> default:   File "manage.py", line 27, in <module>
==> default:     from django.core.management import execute_from_command_line
==> default: ImportError: No module named 'django'
==> default: Traceback (most recent call last):
==> default:   File "manage.py", line 27, in <module>
==> default:     from django.core.management import execute_from_command_line
==> default: ImportError: No module named 'django'
==> default: Traceback (most recent call last):
==> default:   File "manage.py", line 27, in <module>
==> default:     from django.core.management import execute_from_command_line
==> default: ImportError: No module named 'django'
==> default: ~ ~/taiga-scripts
==> default: ~/taiga-scripts
==> default: Downloading/unpacking circus
==> default:   Running setup.py (path:/tmp/pip_build_root/circus/setup.py) egg_info for package circus
==> default:     
==> default:     warning: no files found matching 'pip-requirements.txt'
==> default: Downloading/unpacking iowait (from circus)
==> default:   Downloading iowait-0.2.tar.gz
==> default:   Running setup.py (path:/tmp/pip_build_root/iowait/setup.py) egg_info for package iowait
==> default:     
==> default: Downloading/unpacking psutil (from circus)
==> default:   Running setup.py (path:/tmp/pip_build_root/psutil/setup.py) egg_info for package psutil
==> default:     
==> default:     warning: no previously-included files matching '*' found under directory 'docs/_build'
==> default: Downloading/unpacking pyzmq>=13.1.0 (from circus)
==> default:   Running setup.py (path:/tmp/pip_build_root/pyzmq/setup.py) egg_info for package pyzmq
==> default:     
==> default:     warning: no files found matching 'tox.ini'
==> default:     no previously-included directories found matching 'docs/build'
==> default:     no previously-included directories found matching 'docs/gh-pages'
==> default:     warning: no previously-included files found matching 'bundled/zeromq/src/Makefile*'
==> default:     warning: no previously-included files found matching 'bundled/zeromq/src/platform.hpp'
==> default:     warning: no previously-included files found matching 'setup.cfg'
==> default:     warning: no previously-included files found matching 'zmq/libzmq*'
==> default:     warning: no previously-included files matching '__pycache__/*' found anywhere in distribution
==> default:     warning: no previously-included files matching '.deps/*' found anywhere in distribution
==> default:     warning: no previously-included files matching '*.so' found anywhere in distribution
==> default:     warning: no previously-included files matching '*.pyd' found anywhere in distribution
==> default:     warning: no previously-included files matching '.git*' found anywhere in distribution
==> default:     warning: no previously-included files matching '.DS_Store' found anywhere in distribution
==> default:     warning: no previously-included files matching '.mailmap' found anywhere in distribution
==> default:     warning: no previously-included files matching 'Makefile.am' found anywhere in distribution
==> default:     warning: no previously-included files matching 'Makefile.in' found anywhere in distribution
==> default: Downloading/unpacking tornado>=3.0 (from circus)
==> default:   Running setup.py (path:/tmp/pip_build_root/tornado/setup.py) egg_info for package tornado
==> default:     
==> default:     no previously-included directories found matching 'docs/build'
==> default:     warning: no files found matching 'tornado/test/README'
==> default: Downloading/unpacking backports.ssl-match-hostname (from tornado>=3.0->circus)
==> default:   Downloading backports.ssl_match_hostname-3.5.0.1.tar.gz
==> default:   Running setup.py (path:/tmp/pip_build_root/backports.ssl-match-hostname/setup.py) egg_info for package backports.ssl-match-hostname
==> default:     
==> default: Downloading/unpacking singledispatch (from tornado>=3.0->circus)
==> default:   Downloading singledispatch-3.4.0.3-py2.py3-none-any.whl
==> default: Downloading/unpacking certifi (from tornado>=3.0->circus)
==> default: Downloading/unpacking backports-abc>=0.4 (from tornado>=3.0->circus)
==> default:   Downloading backports_abc-0.4-py2.py3-none-any.whl
==> default: Requirement already satisfied (use --upgrade to upgrade): six in /usr/lib/python2.7/dist-packages (from singledispatch->tornado>=3.0->circus)
==> default: Installing collected packages: circus, iowait, psutil, pyzmq, tornado, backports.ssl-match-hostname, singledispatch, certifi, backports-abc
==> default:   Running setup.py install for circus
==> default:     
==> default:     warning: no files found matching 'pip-requirements.txt'
==> default:     Installing circusd-stats script to /usr/local/bin
==> default:     Installing circus-top script to /usr/local/bin
==> default:     Installing circusd script to /usr/local/bin
==> default:     Installing circusctl script to /usr/local/bin
==> default:     Installing circus-plugin script to /usr/local/bin
==> default:   Running setup.py install for iowait
==> default:     
==> default:   Running setup.py install for psutil
==> default:     building 'psutil._psutil_linux' extension
==> default:     x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPSUTIL_VERSION=430 -I/usr/include/python2.7 -c psutil/_psutil_linux.c -o build/temp.linux-x86_64-2.7/psutil/_psutil_linux.o
==> default:     x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/psutil/_psutil_linux.o -o build/lib.linux-x86_64-2.7/psutil/_psutil_linux.so
==> default:     building 'psutil._psutil_posix' extension
==> default:     x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c psutil/_psutil_posix.c -o build/temp.linux-x86_64-2.7/psutil/_psutil_posix.o
==> default:     x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/psutil/_psutil_posix.o -o build/lib.linux-x86_64-2.7/psutil/_psutil_posix.so
==> default:     
==> default:     warning: no previously-included files matching '*' found under directory 'docs/_build'
==> default:   Running setup.py install for pyzmq
==> default:     pkg-config not found
==> default:     {'libraries': ['zmq'], 'extra_link_args': [], 'runtime_library_dirs': [], 'library_dirs': [], 'include_dirs': []}
==> default:     x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -c build/temp.linux-x86_64-2.7/scratch/check_sys_un.c -o build/temp.linux-x86_64-2.7/scratch/check_sys_un.o
==> default:     x86_64-linux-gnu-gcc -pthread build/temp.linux-x86_64-2.7/scratch/check_sys_un.o -o build/temp.linux-x86_64-2.7/scratch/check_sys_un
==> default:     Configure: Autodetecting ZMQ settings...
==> default:         Custom ZMQ dir:
==> default:     ************************************************
==> default:     cc -c /tmp/timer_createsGwMTx.c -o build/temp.linux-x86_64-2.7/scratch/tmp/timer_createsGwMTx.o
==> default:     cc build/temp.linux-x86_64-2.7/scratch/tmp/timer_createsGwMTx.o -o build/temp.linux-x86_64-2.7/scratch/a.out
==> default:     build/temp.linux-x86_64-2.7/scratch/tmp/timer_createsGwMTx.o: In function `main':
==> default:     timer_createsGwMTx.c:(.text+0x15): undefined reference to `timer_create'
==> default:     collect2: error: ld returned 1 exit status
==> default:     x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -Izmq/utils -Izmq/backend/cython -Izmq/devices -c build/temp.linux-x86_64-2.7/scratch/vers.c -o build/temp.linux-x86_64-2.7/scratch/vers.o
==> default:     x86_64-linux-gnu-gcc -pthread build/temp.linux-x86_64-2.7/scratch/vers.o -lzmq -lrt -o build/temp.linux-x86_64-2.7/scratch/vers
==> default:         ZMQ version detected: 4.0.4
==> default:     Warning: Detected ZMQ version: 4.0.4, but pyzmq targets ZMQ 4.1.5.
==> default:     Warning: libzmq features and fixes introduced after 4.0.4 will be unavailable.
==> default:     ************************************************
==> default:     ************************************************
==> default:     building 'zmq.devices.monitoredqueue' extension
==> default:     x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_SYS_UN_H=1 -Izmq/utils -Izmq/backend/cython -Izmq/devices -I/usr/include/python2.7 -c zmq/devices/monitoredqueue.c -o build/temp.linux-x86_64-2.7/zmq/devices/monitoredqueue.o
==> default:     zmq/devices/monitoredqueue.c: In function ‘__pyx_pw_3zmq_7devices_14monitoredqueue_1monitored_queue’:
==> default:     zmq/devices/monitoredqueue.c:1277:33: warning: ‘__pyx_v_msg_c_len’ may be used uninitialized in this function [-Wmaybe-uninitialized]
==> default:        __pyx_v_rc = zmq_msg_init_size((&__pyx_v_in_msg), __pyx_v_msg_c_len);
==> default:                                      ^
==> default:     zmq/devices/monitoredqueue.c:1170:14: note: ‘__pyx_v_msg_c_len’ was declared here
==> default:        Py_ssize_t __pyx_v_msg_c_len;
==> default:                   ^
==> default:     x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/zmq/devices/monitoredqueue.o -lzmq -lrt -o build/lib.linux-x86_64-2.7/zmq/devices/monitoredqueue.so
==> default:     building 'zmq.backend.cython._device' extension
==> default:     x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_SYS_UN_H=1 -Izmq/utils -Izmq/backend/cython -Izmq/devices -I/usr/include/python2.7 -c zmq/backend/cython/_device.c -o build/temp.linux-x86_64-2.7/zmq/backend/cython/_device.o
==> default:     x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/zmq/backend/cython/_device.o -lzmq -lrt -o build/lib.linux-x86_64-2.7/zmq/backend/cython/_device.so
==> default:     building 'zmq.backend.cython._poll' extension
==> default:     x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_SYS_UN_H=1 -Izmq/utils -Izmq/backend/cython -Izmq/devices -I/usr/include/python2.7 -c zmq/backend/cython/_poll.c -o build/temp.linux-x86_64-2.7/zmq/backend/cython/_poll.o
==> default:     x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/zmq/backend/cython/_poll.o -lzmq -lrt -o build/lib.linux-x86_64-2.7/zmq/backend/cython/_poll.so
==> default:     building 'zmq.backend.cython._version' extension
==> default:     x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_SYS_UN_H=1 -Izmq/utils -Izmq/backend/cython -Izmq/devices -I/usr/include/python2.7 -c zmq/backend/cython/_version.c -o build/temp.linux-x86_64-2.7/zmq/backend/cython/_version.o
==> default:     x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/zmq/backend/cython/_version.o -lzmq -lrt -o build/lib.linux-x86_64-2.7/zmq/backend/cython/_version.so
==> default:     building 'zmq.backend.cython.constants' extension
==> default:     x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_SYS_UN_H=1 -Izmq/utils -Izmq/backend/cython -Izmq/devices -I/usr/include/python2.7 -c zmq/backend/cython/constants.c -o build/temp.linux-x86_64-2.7/zmq/backend/cython/constants.o
==> default:     x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/zmq/backend/cython/constants.o -lzmq -lrt -o build/lib.linux-x86_64-2.7/zmq/backend/cython/constants.so
==> default:     building 'zmq.backend.cython.context' extension
==> default:     x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_SYS_UN_H=1 -Izmq/utils -Izmq/backend/cython -Izmq/devices -I/usr/include/python2.7 -c zmq/backend/cython/context.c -o build/temp.linux-x86_64-2.7/zmq/backend/cython/context.o
==> default:     x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/zmq/backend/cython/context.o -lzmq -lrt -o build/lib.linux-x86_64-2.7/zmq/backend/cython/context.so
==> default:     building 'zmq.backend.cython.error' extension
==> default:     x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_SYS_UN_H=1 -Izmq/utils -Izmq/backend/cython -Izmq/devices -I/usr/include/python2.7 -c zmq/backend/cython/error.c -o build/temp.linux-x86_64-2.7/zmq/backend/cython/error.o
==> default:     x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/zmq/backend/cython/error.o -lzmq -lrt -o build/lib.linux-x86_64-2.7/zmq/backend/cython/error.so
==> default:     building 'zmq.backend.cython.message' extension
==> default:     x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_SYS_UN_H=1 -Izmq/utils -Izmq/backend/cython -Izmq/devices -I/usr/include/python2.7 -c zmq/backend/cython/message.c -o build/temp.linux-x86_64-2.7/zmq/backend/cython/message.o
==> default:     zmq/backend/cython/message.c: In function ‘__pyx_pf_3zmq_7backend_6cython_7message_5Frame_20get’:
==> default:     zmq/backend/cython/message.c:3431:9: warning: variable ‘__pyx_v_property_c’ set but not used [-Wunused-but-set-variable]
==> default:        char *__pyx_v_property_c;
==> default:              ^
==> default:     x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/zmq/backend/cython/message.o -lzmq -lrt -o build/lib.linux-x86_64-2.7/zmq/backend/cython/message.so
==> default:     building 'zmq.backend.cython.socket' extension
==> default:     x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_SYS_UN_H=1 -Izmq/utils -Izmq/backend/cython -Izmq/devices -I/usr/include/python2.7 -c zmq/backend/cython/socket.c -o build/temp.linux-x86_64-2.7/zmq/backend/cython/socket.o
==> default:     x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/zmq/backend/cython/socket.o -lzmq -lrt -o build/lib.linux-x86_64-2.7/zmq/backend/cython/socket.so
==> default:     building 'zmq.backend.cython.utils' extension
==> default:     x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_SYS_UN_H=1 -Izmq/utils -Izmq/backend/cython -Izmq/devices -I/usr/include/python2.7 -c zmq/backend/cython/utils.c -o build/temp.linux-x86_64-2.7/zmq/backend/cython/utils.o
==> default:     x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/zmq/backend/cython/utils.o -lzmq -lrt -o build/lib.linux-x86_64-2.7/zmq/backend/cython/utils.so
==> default:       File "/usr/local/lib/python2.7/dist-packages/zmq/auth/asyncio.py", line 28
==> default:         events = yield from self.__poller.poll()
==> default:                           ^
==> default:     SyntaxError: invalid syntax
==> default:     
==> default:       File "/usr/local/lib/python2.7/dist-packages/zmq/tests/_test_asyncio.py", line 43
==> default:         yield from a.send(b'hi')
==> default:                  ^
==> default:     SyntaxError: invalid syntax
==> default:     
==> default:       File "/usr/local/lib/python2.7/dist-packages/zmq/asyncio.py", line 79
==> default:         "{!r}".format(fileobj)) from None
==> default:                                    ^
==> default:     SyntaxError: invalid syntax
[…]

When trying to log in as admin with 123123 on http://localhost:8000/login?next=%252Fdiscover I get the following error message: Oops, something happened... According to our Oompa Loompas, your username/email or password are incorrect.. The console output (of Safari) states:

Failed to load resource: the server responded with a status of 502 (Bad Gateway) http://localhost:8000/api/v1/auth