Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 4117c8b9 authored by Robin Tissot's avatar Robin Tissot
Browse files

Fixes repolygonisation going bonkers and celery message publish crash.

parent 8173cad9
Branches
Tags
No related merge requests found
......@@ -14,9 +14,6 @@ ENV PYTHONUNBUFFERED 1
ARG VERSION_DATE="passthistobuildcmd"
ENV VERSION_DATE=$VERSION_DATE
# set work directory
WORKDIR /usr/src/app
# update apk
RUN apt-get update
......@@ -26,9 +23,12 @@ RUN adduser --system --no-create-home --ingroup uwsgi uwsgi
RUN apt-get install netcat-traditional jpegoptim pngcrush
RUN apt-get --assume-yes install libvips
RUN pip install --upgrade pip
COPY ./requirements.txt /usr/src/app/requirements.txt
# set work directory
WORKDIR /usr/src/app
RUN pip install --upgrade pip
RUN pip install -U -r requirements.txt
COPY ./entrypoint.sh /usr/src/app/entrypoint.sh
......
......@@ -509,7 +509,7 @@ def before_publish_state(sender=None, body=None, **kwargs):
if (data[sender]['task_id'] == sender.request.id and
not check_signal_order(data[sender]['status'], signal_name)):
return
except KeyError:
except (KeyError, AttributeError):
pass
data[sender] = {
......
......@@ -24,3 +24,5 @@ django-compressor==2.4
albumentations
django-simple-captcha==0.5.12
pyvips==2.1.12
scikit-image==0.17.2
scipy==1.5.2
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment