From 03ce7a87d6672b88ee51fff9f6954d2ab853ee20 Mon Sep 17 00:00:00 2001 From: mthh Date: Tue, 12 Mar 2019 16:49:23 +0100 Subject: [PATCH 1/2] Should fix jointure when using a webworker (#38) --- client/js/webworker_jointure.js | 2 +- magrit_app/static/dist/webworker_jointure.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/js/webworker_jointure.js b/client/js/webworker_jointure.js index b54953520..ab8da3343 100644 --- a/client/js/webworker_jointure.js +++ b/client/js/webworker_jointure.js @@ -45,5 +45,5 @@ onmessage = function (e) { } } } - postMessage([data_manager.field_join_map, hits]); + postMessage([field_join_map, hits]); }; diff --git a/magrit_app/static/dist/webworker_jointure.js b/magrit_app/static/dist/webworker_jointure.js index b54953520..ab8da3343 100644 --- a/magrit_app/static/dist/webworker_jointure.js +++ b/magrit_app/static/dist/webworker_jointure.js @@ -45,5 +45,5 @@ onmessage = function (e) { } } } - postMessage([data_manager.field_join_map, hits]); + postMessage([field_join_map, hits]); }; From d2cdb1dc710e839e568c6fa8a38fc7e1d47c5966 Mon Sep 17 00:00:00 2001 From: mthh Date: Wed, 13 Mar 2019 10:34:16 +0100 Subject: [PATCH 2/2] Change how xvfb is started in travis --- .travis.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index dafc63c52..256029607 100755 --- a/.travis.yml +++ b/.travis.yml @@ -5,6 +5,7 @@ sudo: required dist: xenial services: - redis-server + - xvfb cache: directories: - $GDALINST @@ -17,10 +18,6 @@ before_install: - travis_wait 30 ./misc/install_gdal.sh - export PATH=$GDALINST/gdal-2.2.3/bin:$PATH - export LD_LIBRARY_PATH=$GDALINST/gdal-2.2.3/lib:$LD_LIBRARY_PATH - - "export DISPLAY=:99.0" - - "sh -e /etc/init.d/xvfb start" - - sleep 3 - - fluxbox >/dev/null 2>&1 & install: - npm -g install topojson - pip install --upgrade "setuptools>=25.1" pip