GeotrekCE / Geotrek-admin

Paths management for National Parks and Tourism organizations
https://geotrek.fr
BSD 2-Clause "Simplified" License
130 stars 76 forks source link

Mise à jour 2.32.0 / Could not setup python environment ! #2114

Closed camillemonchicourt closed 4 years ago

camillemonchicourt commented 4 years ago

Je viens de tenter une mise à jour de la version 2.29.13 à la version 2.32.0 sur Ubuntu 18.04.3 LTS et j'ai eu cette erreur :

Install Geotrek python dependencies...
Could not setup python environment !

Voici le contenu de mon fichier install.log :

------------------------------------------------------------------------------
Fri, 13 Dec 2019 17:44:40 +0000
++ grep 'Ubuntu 12.04' /etc/issue
++ wc -l
+ precise=0
++ grep 'Ubuntu 14.04' /etc/issue
++ wc -l
+ trusty=0
++ grep 'Ubuntu 16.04' /etc/issue
++ wc -l
+ xenial=0
++ grep 'Ubuntu 18.04' /etc/issue
++ wc -l
+ bionic=1
+ '[' 0 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ psql_version=10
+ pgis_version=2.4
+ '[' 0 -eq 1 -o 1 -eq 1 ']'
+ geotrek_setup
++ existing_version
+++ cat /etc/supervisor/conf.d/supervisor-geotrek.conf
+++ grep directory
+++ sed 's/^directory=\(.*\)etc$/\1VERSION/'
++ existing=/home/geotrek/Geotrek-admin/VERSION
++ '[' '!' -z /home/geotrek/Geotrek-admin/VERSION ']'
+++ cat /home/geotrek/Geotrek-admin/VERSION
++ version=2.32.0
++ echo 2.32.0
+ existing=2.32.0
+ freshinstall=true
+ '[' '!' -z 2.32.0 ']'
+ freshinstall=false
+ '[' 2.32.0 '<' 0.22 ']'
+ echo_header 2.32.0
+ true
+ set +x
++ cat VERSION
+ version=2.32.0
+ echo_step '... install 2.32.0'
+ set +x
+ '[' '!' -z 2.32.0 ']'
+ echo_warn '... upgrade 2.32.0'
+ set +x
+ echo_step '(details in install.log)'
+ set +x
++ ini_value etc/settings.ini dbname
+++ sed -n 's/^\s*dbname *= *\([^ ]*.*\)/\1/p'
++ echo geotrek
+ dbname=geotrek
++ ini_value etc/settings.ini dbhost
+++ sed -n 's/^\s*dbhost *= *\([^ ]*.*\)/\1/p'
++ echo localhost
+ dbhost=localhost
++ ini_value etc/settings.ini dbport
+++ sed -n 's/^\s*dbport *= *\([^ ]*.*\)/\1/p'
++ echo 5432
+ dbport=5432
++ ini_value etc/settings.ini dbuser
+++ sed -n 's/^\s*dbuser *= *\([^ ]*.*\)/\1/p'
++ echo geotrek
+ dbuser=geotrek
++ ini_value etc/settings.ini dbpassword
+++ sed -n 's/^\s*dbpassword *= *\([^ ]*.*\)/\1/p'
++ echo xxxxxxx
+ dbpassword=xxxxxxxx
+ export PGPASSWORD=xxxxxxx
+ PGPASSWORD=xxxxxxx
++ psql geotrek -h localhost -p 5432 -U geotrek -c 'SELECT * FROM django.south_migrationhistory;'
ERROR:  relation "django.south_migrationhistory" does not exist
LINE 1: SELECT * FROM django.south_migrationhistory;
                      ^
+ south_migrations=
+ '[' 1 -eq 0 ']'
+ echo_step 'Install system minimum components...'
+ set +x
+ minimum_system_dependencies
+ sudo apt-get update -qq
+ echo_progress
+ set +x
+ sudo apt-get install -y -qq python3 unzip wget software-properties-common make
+ echo_progress
+ set +x
+ sudo apt-get install -y -qq git gettext build-essential python3-dev
Selecting previously unselected package dh-python.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 81391 files and directories currently installed.)
Preparing to unpack .../dh-python_3.20180325ubuntu2_all.deb ...
Unpacking dh-python (3.20180325ubuntu2) ...
Selecting previously unselected package libpython3.6-dev:amd64.
Preparing to unpack .../libpython3.6-dev_3.6.9-1~18.04_amd64.deb ...
Unpacking libpython3.6-dev:amd64 (3.6.9-1~18.04) ...
Selecting previously unselected package libpython3-dev:amd64.
Preparing to unpack .../libpython3-dev_3.6.7-1~18.04_amd64.deb ...
Unpacking libpython3-dev:amd64 (3.6.7-1~18.04) ...
Selecting previously unselected package python3.6-dev.
Preparing to unpack .../python3.6-dev_3.6.9-1~18.04_amd64.deb ...
Unpacking python3.6-dev (3.6.9-1~18.04) ...
Selecting previously unselected package python3-dev.
Preparing to unpack .../python3-dev_3.6.7-1~18.04_amd64.deb ...
Unpacking python3-dev (3.6.7-1~18.04) ...
Setting up libpython3.6-dev:amd64 (3.6.9-1~18.04) ...
Setting up python3.6-dev (3.6.9-1~18.04) ...
Setting up dh-python (3.20180325ubuntu2) ...
Setting up libpython3-dev:amd64 (3.6.7-1~18.04) ...
Setting up python3-dev (3.6.7-1~18.04) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
+ echo_progress
+ set +x
+ '[' '!' -f Makefile ']'
+ false
+ backup_existing_database
+ true
+ set +x

+ [[ y =~ ^[Yy]$ ]]
++ ini_value etc/settings.ini dbname
+++ sed -n 's/^\s*dbname *= *\([^ ]*.*\)/\1/p'
++ echo geotrek
+ dbname=geotrek
+ echo_step 'Backup existing database ...'
+ set +x
+ sudo -n -u postgres -s -- pg_dump --format=custom geotrek
++ date +%Y%m%d%H%M
+ make clean
find . -name "*.orig" -exec rm -f {} \;
find geotrek/ -name "*.pyc" -exec rm -f {} \;
find lib/src/ -name "*.pyc" -exec rm -f {} \;
find: 'lib/src/': No such file or directory
Makefile:33: recipe for target 'clean_harmless' failed
make: [clean_harmless] Error 1 (ignored)
rm -f install
rm -f .coverage
rm -rf bin/ lib/ local/ include/ *.egg-info/
rm -rf var/cache
rm -rf var/log
rm -rf var/run
rm -rf var/static
rm -rf var/tmp
rm -rf etc/init/
rm -rf etc/*.cfg
rm -rf etc/*.conf
rm -f .installed.cfg
+ wget https://bootstrap.pypa.io/get-pip.py
--2019-12-13 17:45:05--  https://bootstrap.pypa.io/get-pip.py
Resolving bootstrap.pypa.io (bootstrap.pypa.io)... 151.101.120.175, 2a04:4e42:1d::175
Connecting to bootstrap.pypa.io (bootstrap.pypa.io)|151.101.120.175|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1775835 (1.7M) [text/x-python]
Saving to: 'get-pip.py'

     0K .......... .......... .......... .......... ..........  2% 5.80M 0s
    50K .......... .......... .......... .......... ..........  5% 10.3M 0s
   100K .......... .......... .......... .......... ..........  8% 30.8M 0s
   150K .......... .......... .......... .......... .......... 11% 28.2M 0s
   200K .......... .......... .......... .......... .......... 14% 39.6M 0s
   250K .......... .......... .......... .......... .......... 17% 76.4M 0s
   300K .......... .......... .......... .......... .......... 20% 24.2M 0s
   350K .......... .......... .......... .......... .......... 23% 80.1M 0s
   400K .......... .......... .......... .......... .......... 25% 71.2M 0s
   450K .......... .......... .......... .......... .......... 28% 17.9M 0s
   500K .......... .......... .......... .......... .......... 31% 69.9M 0s
   550K .......... .......... .......... .......... .......... 34% 71.2M 0s
   600K .......... .......... .......... .......... .......... 37% 19.7M 0s
   650K .......... .......... .......... .......... .......... 40% 56.4M 0s
   700K .......... .......... .......... .......... .......... 43% 63.5M 0s
   750K .......... .......... .......... .......... .......... 46% 78.1M 0s
   800K .......... .......... .......... .......... .......... 49% 18.3M 0s
   850K .......... .......... .......... .......... .......... 51% 79.3M 0s
   900K .......... .......... .......... .......... .......... 54% 61.2M 0s
   950K .......... .......... .......... .......... .......... 57% 17.9M 0s
  1000K .......... .......... .......... .......... .......... 60% 76.4M 0s
  1050K .......... .......... .......... .......... .......... 63% 79.9M 0s
  1100K .......... .......... .......... .......... .......... 66% 62.5M 0s
  1150K .......... .......... .......... .......... .......... 69% 18.1M 0s
  1200K .......... .......... .......... .......... .......... 72% 68.3M 0s
  1250K .......... .......... .......... .......... .......... 74% 77.5M 0s
  1300K .......... .......... .......... .......... .......... 77% 17.7M 0s
  1350K .......... .......... .......... .......... .......... 80% 79.8M 0s
  1400K .......... .......... .......... .......... .......... 83% 69.1M 0s
  1450K .......... .......... .......... .......... .......... 86% 35.0M 0s
  1500K .......... .......... .......... .......... .......... 89% 26.0M 0s
  1550K .......... .......... .......... .......... .......... 92% 68.9M 0s
  1600K .......... .......... .......... .......... .......... 95% 66.6M 0s
  1650K .......... .......... .......... .......... .......... 98% 16.7M 0s
  1700K .......... .......... .......... ....                 100% 66.1M=0.06s

2019-12-13 17:45:05 (30.4 MB/s) - 'get-pip.py' saved [1775835/1775835]

+ sudo python3 ./get-pip.py
WARNING: The directory '/home/geotrek/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
WARNING: The directory '/home/geotrek/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting pip
  Downloading https://files.pythonhosted.org/packages/00/b6/9cfa56b4081ad13874b0c6f96af8ce16cfbc1cb06bedf8e9164ce5551ec1/pip-19.3.1-py2.py3-none-any.whl (1.4MB)
Collecting setuptools
  Downloading https://files.pythonhosted.org/packages/54/28/c45d8b54c1339f9644b87663945e54a8503cfef59cf0f65b3ff5dd17cf64/setuptools-42.0.2-py2.py3-none-any.whl (583kB)
Collecting wheel
  Downloading https://files.pythonhosted.org/packages/00/83/b4a77d044e78ad1a45610eb88f745be2fd2c6d658f9798a15e384b7d57c9/wheel-0.33.6-py2.py3-none-any.whl
Installing collected packages: pip, setuptools, wheel
Successfully installed pip-19.3.1 setuptools-42.0.2 wheel-0.33.6
+ sudo pip install virtualenv -U
WARNING: The directory '/home/geotrek/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
WARNING: The directory '/home/geotrek/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting virtualenv
  Downloading https://files.pythonhosted.org/packages/62/77/6a86ef945ad39aae34aed4cc1ae4a2f941b9870917a974ed7c5b6f137188/virtualenv-16.7.8-py2.py3-none-any.whl (3.4MB)
Installing collected packages: virtualenv
Successfully installed virtualenv-16.7.8
+ rm get-pip.py
+ make install
virtualenv -p python3 .
Already using interpreter /usr/bin/python3
Using base prefix '/usr'
New python executable in /home/geotrek/Geotrek-admin-2.32.0/bin/python3
Also creating executable in /home/geotrek/Geotrek-admin-2.32.0/bin/python
Installing setuptools, pip, wheel...
done.
bin/pip install -U setuptools==41.6.0 zc.buildout==2.13.2
Collecting setuptools==41.6.0
  Using cached https://files.pythonhosted.org/packages/d9/de/554b6310ac87c5b921bc45634b07b11394fe63bc4cb5176f5240addf18ab/setuptools-41.6.0-py2.py3-none-any.whl
Collecting zc.buildout==2.13.2
  Downloading https://files.pythonhosted.org/packages/9c/ef/bf528f9e06143a7f3d87a32a3c4f433a7c5a58c1848f6369ed571a3255e6/zc.buildout-2.13.2.tar.gz (166kB)
Building wheels for collected packages: zc.buildout
  Building wheel for zc.buildout (setup.py): started
  Building wheel for zc.buildout (setup.py): finished with status 'done'
  Created wheel for zc.buildout: filename=zc.buildout-2.13.2-py2.py3-none-any.whl size=153775 sha256=afa112eb08ad866f366d771897d57530bfb00352f54df9a9891ecef651350663
  Stored in directory: /home/geotrek/.cache/pip/wheels/c7/91/e5/cee51af09e8fbea27100c93aff9a6a267227234625043b3c4f
Successfully built zc.buildout
Installing collected packages: setuptools, zc.buildout
  Found existing installation: setuptools 42.0.2
    Uninstalling setuptools-42.0.2:
      Successfully uninstalled setuptools-42.0.2
Successfully installed setuptools-41.6.0 zc.buildout-2.13.2
mkdir -p lib/src
mkdir -p lib/eggs
+ success=0
+ '[' 0 -ne 0 ']'
+ echo_progress
+ set +x
+ false
+ echo_step 'Configure Unicode and French locales...'
+ set +x
+ echo_progress
+ set +x
+ sudo apt-get install -y -qq language-pack-en-base language-pack-fr-base
+ sudo locale-gen fr_FR.UTF-8
Generating locales (this might take a while)...
  fr_FR.UTF-8... done
Generation complete.
+ echo_progress
+ set +x
+ echo_step 'Install Geotrek system dependencies...'
+ set +x
+ geotrek_system_dependencies
+ sudo apt-get install -y -q --no-upgrade gdal-bin libgdal-dev libssl-dev binutils libproj-dev fonts-dejavu-core fonts-liberation
Reading package lists...
Building dependency tree...
Reading state information...
Skipping fonts-dejavu-core, it is already installed and upgrade is not set.
Skipping gdal-bin, it is already installed and upgrade is not set.
Skipping libgdal-dev, it is already installed and upgrade is not set.
Skipping libproj-dev, it is already installed and upgrade is not set.
Skipping binutils, it is already installed and upgrade is not set.
Skipping fonts-liberation, it is already installed and upgrade is not set.
fonts-liberation set to manually installed.
Skipping libssl-dev, it is already installed and upgrade is not set.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ echo_progress
+ set +x
+ sudo apt-get install -y -q --no-upgrade postgresql-client-10 postgresql-server-dev-10
Reading package lists...
Building dependency tree...
Reading state information...
Skipping postgresql-client-10, it is already installed and upgrade is not set.
Skipping postgresql-server-dev-10, it is already installed and upgrade is not set.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ echo_progress
+ set +x
+ sudo apt-get install -y -qq libxml2-dev libxslt-dev
+ echo_progress
+ set +x
+ sudo apt-get install -y -qq python3-lxml libcairo2 libpango1.0-0 libgdk-pixbuf2.0-dev libffi-dev shared-mime-info libfreetype6-dev
Selecting previously unselected package python3-bs4.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 81588 files and directories currently installed.)
Preparing to unpack .../python3-bs4_4.6.0-1_all.deb ...
Unpacking python3-bs4 (4.6.0-1) ...
Selecting previously unselected package python3-chardet.
Preparing to unpack .../python3-chardet_3.0.4-1_all.deb ...
Unpacking python3-chardet (3.0.4-1) ...
Selecting previously unselected package python3-webencodings.
Preparing to unpack .../python3-webencodings_0.5-2_all.deb ...
Unpacking python3-webencodings (0.5-2) ...
Selecting previously unselected package python3-html5lib.
Preparing to unpack .../python3-html5lib_0.999999999-1_all.deb ...
Unpacking python3-html5lib (0.999999999-1) ...
Selecting previously unselected package python3-lxml:amd64.
Preparing to unpack .../python3-lxml_4.2.1-1ubuntu0.1_amd64.deb ...
Unpacking python3-lxml:amd64 (4.2.1-1ubuntu0.1) ...
Setting up python3-webencodings (0.5-2) ...
Setting up python3-lxml:amd64 (4.2.1-1ubuntu0.1) ...
Setting up python3-bs4 (4.6.0-1) ...
Setting up python3-chardet (3.0.4-1) ...
Setting up python3-html5lib (0.999999999-1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
+ echo_progress
+ set +x
+ sudo apt-get install -y -qq redis-server
+ echo_progress
+ set +x
+ false
+ true
+ sudo apt-get install -y -qq ntp
+ echo_progress
+ set +x
+ sudo apt-get install -y -qq nginx memcached supervisor
+ echo_progress
+ set +x
+ convertit_system_dependencies
+ true
+ echo_step 'Conversion server dependencies...'
+ set +x
+ sudo apt-get install -y -qq libreoffice unoconv inkscape
+ echo_progress
+ set +x
+ screamshotter_system_dependencies
+ false
+ false
+ true
+ echo_step 'Capture server dependencies...'
+ set +x
++ uname -m
+ arch=x86_64
++ pwd
+ libpath=/home/geotrek/Geotrek-admin/lib
++ pwd
+ binpath=/home/geotrek/Geotrek-admin/bin
+ mkdir -p /home/geotrek/Geotrek-admin/lib
+ mkdir -p /home/geotrek/Geotrek-admin/bin
+ wget --quiet https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 -O phantomjs.tar.bz2
+ '[' '!' 0 -eq 0 ']'
+ rm -rf '/home/geotrek/Geotrek-admin/lib/*phantomjs*/'
+ tar -jxvf phantomjs.tar.bz2 -C /home/geotrek/Geotrek-admin/lib/
+ rm phantomjs.tar.bz2
+ ln -sf /home/geotrek/Geotrek-admin/lib/phantomjs-2.1.1-linux-x86_64/bin/phantomjs /home/geotrek/Geotrek-admin/bin/phantomjs
+ echo_progress
+ set +x
+ wget --quiet https://github.com/n1k0/casperjs/archive/1.1.4-2.zip -O casperjs.zip
+ '[' '!' 0 -eq 0 ']'
+ rm -rf '/home/geotrek/Geotrek-admin/lib/*casperjs*/'
+ unzip -o casperjs.zip -d /home/geotrek/Geotrek-admin/lib/
+ rm casperjs.zip
+ ln -sf /home/geotrek/Geotrek-admin/lib/casperjs-1.1.4-2/bin/casperjs /home/geotrek/Geotrek-admin/bin/casperjs
+ echo_progress
+ set +x
+ false
+ sudo ln -sf /home/geotrek/Geotrek-admin/bin/phantomjs /usr/local/bin/phantomjs
+ sudo ln -sf /home/geotrek/Geotrek-admin/bin/casperjs /usr/local/bin/casperjs
++ ini_value etc/settings.ini dbhost
+++ sed -n 's/^\s*dbhost *= *\([^ ]*.*\)/\1/p'
++ echo localhost
+ dbhost=localhost
+ '[' localhost == localhost ']'
+ install_postgres_local
+ echo_step 'Installing postgresql server locally...'
+ set +x
+ sudo apt-get install -y -q postgresql-10 postgresql-10-postgis-2.4
Reading package lists...
Building dependency tree...
Reading state information...
postgresql-10-postgis-2.4 is already the newest version (2.4.3+dfsg-4).
postgresql-10 is already the newest version (10.10-0ubuntu0.18.04.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ sudo /etc/init.d/postgresql restart
Restarting postgresql (via systemctl): postgresql.service.
+ echo_progress
+ set +x
++ ini_value etc/settings.ini dbname
+++ sed -n 's/^\s*dbname *= *\([^ ]*.*\)/\1/p'
++ echo geotrek
+ dbname=geotrek
++ ini_value etc/settings.ini dbuser
+++ sed -n 's/^\s*dbuser *= *\([^ ]*.*\)/\1/p'
++ echo geotrek
+ dbuser=geotrek
++ ini_value etc/settings.ini dbpassword
+++ sed -n 's/^\s*dbpassword *= *\([^ ]*.*\)/\1/p'
++ echo xxxxxx
+ dbpassword=xxxxxxx
+ user_does_not_exists geotrek
+ '[' -z geotrek ']'
++ sudo -n -u postgres -s -- psql -tAc 'SELECT 1 FROM pg_roles WHERE rolname='\''geotrek'\'''
++ wc -l
+ exists=1
+ return 1
+ database_exists geotrek
+ '[' -z geotrek ']'
+ grep -q '^geotrek|'
+ sudo -n -u postgres -s -- psql -tAl
+ return 0
+ false
+ false
+ sudo apt-get --no-install-recommends install postgis -y
Reading package lists...
Building dependency tree...
Reading state information...
postgis is already the newest version (2.4.3+dfsg-4).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ check_postgres_connection
+ echo_step 'Check postgres connection settings...'
+ set +x
++ ini_value etc/settings.ini dbname
+++ sed -n 's/^\s*dbname *= *\([^ ]*.*\)/\1/p'
++ echo geotrek
+ dbname=geotrek
++ ini_value etc/settings.ini dbhost
+++ sed -n 's/^\s*dbhost *= *\([^ ]*.*\)/\1/p'
++ echo localhost
+ dbhost=localhost
++ ini_value etc/settings.ini dbport
+++ sed -n 's/^\s*dbport *= *\([^ ]*.*\)/\1/p'
++ echo 5432
+ dbport=5432
++ ini_value etc/settings.ini dbuser
+++ sed -n 's/^\s*dbuser *= *\([^ ]*.*\)/\1/p'
++ echo geotrek
+ dbuser=geotrek
++ ini_value etc/settings.ini dbpassword
+++ sed -n 's/^\s*dbpassword *= *\([^ ]*.*\)/\1/p'
++ echo xxxxxxx
+ dbpassword=xxxxxxx
+ export PGPASSWORD=xxxxxx
+ PGPASSWORD=xxxxxxxx
+ psql geotrek -h localhost -p 5432 -U geotrek -c 'SELECT PostGIS_full_version();'
                                                                                           postgis_full_version                                                                                           
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 POSTGIS="2.4.3 r16312" PGSQL="100" GEOS="3.6.2-CAPI-1.10.2 4d2925d6" PROJ="Rel. 4.9.3, 15 August 2016" GDAL="GDAL 2.2.3, released 2017/11/20" LIBXML="2.9.4" LIBJSON="0.12.1" LIBPROTOBUF="1.2.1" RASTER
(1 row)

+ result=0
+ export PGPASSWORD=
+ PGPASSWORD=
+ '[' '!' 0 -eq 0 ']'
+ echo_step 'Install Geotrek python dependencies...'
+ set +x
+ '[' 0 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ echo -e '[versions]\nGDAL=2.2.4'
+ false
+ false
+ false
+ true
+ make env_standalone
find . -name "*.orig" -exec rm -f {} \;
find geotrek/ -name "*.pyc" -exec rm -f {} \;
find lib/src/ -name "*.pyc" -exec rm -f {} \;
rm -f install
rm -f .coverage
bin/buildout -c conf/buildout-prod-standalone.cfg -N buildout:directory=/home/geotrek/Geotrek-admin buildout:user=geotrek
While:
  Initializing.

An internal error occurred due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
  File "/home/geotrek/Geotrek-admin-2.32.0/lib/python3.6/site-packages/zc/buildout/buildout.py", line 2173, in main
    user_defaults, command, args)
  File "/home/geotrek/Geotrek-admin-2.32.0/lib/python3.6/site-packages/zc/buildout/buildout.py", line 370, in __init__
    data_buildout_copy, override, set()))
  File "/home/geotrek/Geotrek-admin-2.32.0/lib/python3.6/site-packages/zc/buildout/buildout.py", line 1823, in _open
    downloaded)
  File "/home/geotrek/Geotrek-admin-2.32.0/lib/python3.6/site-packages/zc/buildout/buildout.py", line 1823, in _open
    downloaded)
  File "/home/geotrek/Geotrek-admin-2.32.0/lib/python3.6/site-packages/zc/buildout/buildout.py", line 1826, in _open
    downloaded))
  File "/home/geotrek/Geotrek-admin-2.32.0/lib/python3.6/site-packages/zc/buildout/buildout.py", line 1802, in _open
    fp, filename_for_logging, _default_globals)
  File "/home/geotrek/Geotrek-admin-2.32.0/lib/python3.6/site-packages/zc/buildout/configparser.py", line 145, in parse
    line = fp.readline()
  File "/home/geotrek/Geotrek-admin-2.32.0/lib/python3.6/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 1030: ordinal not in range(128)
Makefile:63: recipe for target 'env_standalone' failed
make: *** [env_standalone] Error 1
+ success=2
+ '[' 2 -ne 0 ']'
+ exit_error 3 'Could not setup python environment !'
+ code=3
+ shift
+ echo_error 'Could not setup python environment !'
+ set +x
+ echo '(More details in install.log)'
(More details in install.log)
+ exit 3
gutard commented 4 years ago

Que répond la commande locale ? Ta locale est elle en UTF-8 ?

camillemonchicourt commented 4 years ago

Voici le retour des commandes :

user@geotrek-test:~$ locale
LANG=C
LANGUAGE=
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=

Et pour l'encodage, j'ai trouvé cette commande :

user@geotrek-test:~$ locale charmap
ANSI_X3.4-1968

Je n'avais pas rencontré ce problème lors des mises à jour des versions précédentes.

gutard commented 4 years ago

OK, c'est ça qui fait que tu as le problème et pas moi. Tu peux changer la locale en UTF-8 avec la commande update-locale LANG=C.UTF-8. Il faut ensuite te déconnecter et te reconnecter pour prendre en compte la modif avant de relancer ./install.sh. Ou sinon regarder si il y a des caractères non-ASCII dans etc/settings.ini et les supprimer.

camillemonchicourt commented 4 years ago

OK merci. J'ai fait un sudo update-locale LANG=C.UTF-8 puis je me suis reconnecté et les locales sont bien passées en UTF-8 :

user@geotrek-test:~$ locale
LANG=C.UTF-8
LANGUAGE=
LC_CTYPE="C.UTF-8"
LC_NUMERIC="C.UTF-8"
LC_TIME="C.UTF-8"
LC_COLLATE="C.UTF-8"
LC_MONETARY="C.UTF-8"
LC_MESSAGES="C.UTF-8"
LC_PAPER="C.UTF-8"
LC_NAME="C.UTF-8"
LC_ADDRESS="C.UTF-8"
LC_TELEPHONE="C.UTF-8"
LC_MEASUREMENT="C.UTF-8"
LC_IDENTIFICATION="C.UTF-8"
LC_ALL=

Et :

user@geotrek-test:~/Geotrek-admin-2.32.0$ locale charmap
UTF-8

Par contre j'ai relancé l'installation de la 2.32.0 et là j'ai encore eu un problème d'encodage avec l'UTF-8 cette fois-ci, tracée dans mon fichier install.log :

+ make env_standalone
find . -name "*.orig" -exec rm -f {} \;
find geotrek/ -name "*.pyc" -exec rm -f {} \;
find lib/src/ -name "*.pyc" -exec rm -f {} \;
rm -f install
rm -f .coverage
bin/buildout -c conf/buildout-prod-standalone.cfg -N buildout:directory=/home/geotrek/Geotrek-admin buildout:user=geotrek
While:
  Initializing.

An internal error occurred due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
  File "/home/geotrek/Geotrek-admin-2.32.0/lib/python3.6/site-packages/zc/buildout/buildout.py", line 2173, in main
    user_defaults, command, args)
  File "/home/geotrek/Geotrek-admin-2.32.0/lib/python3.6/site-packages/zc/buildout/buildout.py", line 370, in __init__
    data_buildout_copy, override, set()))
  File "/home/geotrek/Geotrek-admin-2.32.0/lib/python3.6/site-packages/zc/buildout/buildout.py", line 1823, in _open
    downloaded)
  File "/home/geotrek/Geotrek-admin-2.32.0/lib/python3.6/site-packages/zc/buildout/buildout.py", line 1823, in _open
    downloaded)
  File "/home/geotrek/Geotrek-admin-2.32.0/lib/python3.6/site-packages/zc/buildout/buildout.py", line 1826, in _open
    downloaded))
  File "/home/geotrek/Geotrek-admin-2.32.0/lib/python3.6/site-packages/zc/buildout/buildout.py", line 1802, in _open
    fp, filename_for_logging, _default_globals)
  File "/home/geotrek/Geotrek-admin-2.32.0/lib/python3.6/site-packages/zc/buildout/configparser.py", line 145, in parse
    line = fp.readline()
  File "/home/geotrek/Geotrek-admin-2.32.0/lib/python3.6/codecs.py", line 321, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc2 in position 1030: invalid continuation byte
Makefile:63: recipe for target 'env_standalone' failed
make: *** [env_standalone] Error 1
+ success=2
+ '[' 2 -ne 0 ']'
+ exit_error 3 'Could not setup python environment !'
+ code=3
+ shift
+ echo_error 'Could not setup python environment !'
+ set +x
+ echo '(More details in install.log)'
(More details in install.log)
+ exit 3

En regardant mon fichier settings.ini j'avais bien des anciens paramètres avec des caractères bizarres qui restaient de vieilles versions :

# Layers for aerial picture
ortho_layers = ortho
ortho_attributions = ÂIGN BD Ortho
# Layers for scan map
scan_layers = scan100,scan25
scan_attributions = ÂIGN

Après avoir supprimé ces caractères spéciaux, et même ces paramètres WMS qui ne sont plus utilisées, l'installation en 2.32.0 est bien passée.

Je ne sais pas du coup si le changement d'encodage des locales a été utile ou si c'est uniquement le nettoyage des caractères spéciaux dans le settings.ini qui a réglé le problème, mais c'est bon, le serveur de démo est OK en 2.32.0 : http://geotrekdemo.ecrins-parcnational.fr (demo / demo).

relaire commented 4 years ago

Bonjour, Je re ouvre le sujet car j'ai le même problème lors de la migration de la version 2.29.15 -> 2.32.3.

Install Geotrek python dependencies... Could not setup python environment !

Le message d'erreur du fichier log ne semble pas provenir d'un problème de locale (je suis bien un UTF-8)

Voici mon install.log

------------------------------------------------------------------------------
Wed, 12 Feb 2020 11:39:57 +0100
++ wc -l
++ grep 'Ubuntu 12.04' /etc/issue
+ precise=0
++ grep 'Ubuntu 14.04' /etc/issue
++ wc -l
+ trusty=0
++ grep 'Ubuntu 16.04' /etc/issue
++ wc -l
+ xenial=1
++ grep 'Ubuntu 18.04' /etc/issue
++ wc -l
+ bionic=0
+ '[' 1 -eq 1 ']'
+ psql_version=9.5
+ pgis_version=2.2
+ '[' 1 -eq 1 -o 0 -eq 1 ']'
+ geotrek_setup
++ existing_version
+++ cat /etc/supervisor/conf.d/supervisor-geotrek.conf
+++ sed 's/^directory=\(.*\)etc$/\1VERSION/'
+++ grep directory
++ existing=/home/geotrek/Geotrek-admin-2.29.15/VERSION
++ '[' '!' -z /home/geotrek/Geotrek-admin-2.29.15/VERSION ']'
+++ cat /home/geotrek/Geotrek-admin-2.29.15/VERSION
++ version=2.29.15
++ echo 2.29.15
+ existing=2.29.15
+ freshinstall=true
+ '[' '!' -z 2.29.15 ']'
+ freshinstall=false
+ '[' 2.29.15 '<' 0.22 ']'
+ echo_header 2.29.15
+ true
+ set +x
++ cat VERSION
+ version=2.32.3
+ echo_step '... install 2.32.3'
+ set +x
+ '[' '!' -z 2.29.15 ']'
+ echo_warn '... upgrade 2.29.15'
+ set +x
+ echo_step '(details in install.log)'
+ set +x
++ ini_value etc/settings.ini dbname
+++ sed -n 's/^\s*dbname *= *\([^ ]*.*\)/\1/p'
++ echo geotrekdb
+ dbname=geotrekdb
++ ini_value etc/settings.ini dbhost
+++ sed -n 's/^\s*dbhost *= *\([^ ]*.*\)/\1/p'
++ echo localhost
+ dbhost=localhost
++ ini_value etc/settings.ini dbport
+++ sed -n 's/^\s*dbport *= *\([^ ]*.*\)/\1/p'
++ echo 5432
+ dbport=5432
++ ini_value etc/settings.ini dbuser
+++ sed -n 's/^\s*dbuser *= *\([^ ]*.*\)/\1/p'
++ echo geotrek
+ dbuser=geotrek
++ ini_value etc/settings.ini dbpassword
+++ sed -n 's/^\s*dbpassword *= *\([^ ]*.*\)/\1/p'
++ echo geotrek
+ dbpassword=geotrek
+ export PGPASSWORD=geotrek
+ PGPASSWORD=geotrek
++ psql geotrekdb -h localhost -p 5432 -U geotrek -c 'SELECT * FROM django.south_migrationhistory;'
+ south_migrations=' id  |    app_name     |                                  migration                                  |            applied            
-----+-----------------+-----------------------------------------------------------------------------+-------------------------------
   1 | easy_thumbnails | 0001_initial                                                                | 2017-05-18 10:30:40.508186+02
   2 | easy_thumbnails | 0002_filename_indexes                                                       | 2017-05-18 10:30:40.549312+02
   3 | easy_thumbnails | 0003_auto__add_storagenew                                                   | 2017-05-18 10:30:40.590236+02
   4 | easy_thumbnails | 0004_auto__add_field_source_storage_new__add_field_thumbnail_storage_new    | 2017-05-18 10:30:40.625236+02
   5 | easy_thumbnails | 0005_storage_fks_null                                                       | 2017-05-18 10:30:40.704323+02
   6 | easy_thumbnails | 0006_copy_storage                                                           | 2017-05-18 10:30:40.719211+02
   7 | easy_thumbnails | 0007_storagenew_fks_not_null                                                | 2017-05-18 10:30:40.791476+02
   8 | easy_thumbnails | 0008_auto__del_field_source_storage__del_field_thumbnail_storage            | 2017-05-18 10:30:40.807439+02
   9 | easy_thumbnails | 0009_auto__del_storage                                                      | 2017-05-18 10:30:40.82356+02
  10 | easy_thumbnails | 0010_rename_storage                                                         | 2017-05-18 10:30:40.841945+02
  11 | easy_thumbnails | 0011_auto__add_field_source_storage_hash__add_field_thumbnail_storage_hash  | 2017-05-18 10:30:40.912193+02
  12 | easy_thumbnails | 0012_build_storage_hashes                                                   | 2017-05-18 10:30:40.92629+02
  13 | easy_thumbnails | 0013_auto__del_storage__del_field_source_storage__del_field_thumbnail_stora | 2017-05-18 10:30:40.954673+02
  14 | easy_thumbnails | 0014_auto__add_unique_source_name_storage_hash__add_unique_thumbnail_name_s | 2017-05-18 10:30:40.979174+02
  15 | easy_thumbnails | 0015_auto__del_unique_thumbnail_name_storage_hash__add_unique_thumbnail_sou | 2017-05-18 10:30:41.016988+02
  16 | djcelery        | 0001_initial                                                                | 2017-05-18 10:30:41.462513+02
  17 | djcelery        | 0002_v25_changes                                                            | 2017-05-18 10:30:41.621999+02
  18 | djcelery        | 0003_v26_changes                                                            | 2017-05-18 10:30:41.688489+02
  19 | djcelery        | 0004_v30_changes                                                            | 2017-05-18 10:30:41.721579+02
  20 | cirkwi          | 0001_move_cirkwi_tables                                                     | 2017-05-18 10:30:42.057021+02
  21 | cirkwi          | 0002_update_perm_cirkwi                                                     | 2017-05-18 10:30:42.085863+02
  22 | authent         | 0001_initial                                                                | 2017-05-18 10:30:42.258704+02
  23 | core            | 0001_initial                                                                | 2017-05-18 10:30:42.926374+02
  24 | trekking        | 0001_initial                                                                | 2017-05-18 10:30:43.385759+02
  25 | common          | 0001_initial                                                                | 2017-05-18 10:30:43.618933+02
  26 | common          | 0002_auto__add_theme                                                        | 2017-05-18 10:30:43.631887+02
  27 | common          | 0003_auto__add_cirkwitag__add_field_theme_cirkwi                            | 2017-05-18 10:30:43.687326+02
  28 | common          | 0004_auto__add_recordsource                                                 | 2017-05-18 10:30:43.738429+02
  29 | common          | 0005_attachment_video                                                       | 2017-05-18 10:30:43.759084+02
  30 | common          | 0006_move_cirkwi_tables                                                     | 2017-05-18 10:30:43.778267+02
  31 | common          | 0007_auto__add_targetportal                                                 | 2017-05-18 10:30:43.832931+02
  32 | common          | 0008_auto__del_field_recordsource_structure                                 | 2017-05-18 10:30:43.85387+02
  33 | altimetry       | 0001_initial                                                                | 2017-05-18 10:30:44.466539+02
  34 | core            | 0002_auto__del_field_trail_id__del_field_trail_date_update__del_field_trail | 2017-05-18 10:30:44.784591+02
  35 | core            | 0003_auto__add_field_path_visible                                           | 2017-05-18 10:30:44.866875+02
  36 | core            | 0004_datasource                                                             | 2017-05-18 10:30:44.959611+02
  37 | core            | 0005_update_perm_source                                                     | 2017-05-18 10:30:45.020356+02
  38 | core            | 0006_auto__add_field_path_eid                                               | 2017-05-18 10:30:45.103475+02
  39 | core            | 0007_auto__chg_field_path_eid                                               | 2017-05-18 10:30:45.181151+02
  40 | infrastructure  | 0001_initial                                                                | 2017-05-18 10:30:45.575055+02
  41 | infrastructure  | 0002_auto__add_infrastructurecondition__add_field_baseinfrastructure_condit | 2017-05-18 10:30:45.656385+02
  42 | infrastructure  | 0003_auto__add_field_baseinfrastructure_implantation_year                   | 2017-05-18 10:30:45.709982+02
  43 | maintenance     | 0001_initial                                                                | 2017-05-18 10:30:46.701067+02
  44 | maintenance     | 0002_auto__del_field_project_cost__add_field_project_global_cost            | 2017-05-18 10:30:46.804893+02
  45 | maintenance     | 0003_auto__del_field_intervention_in_maintenance__add_field_intervention_su | 2017-05-18 10:30:46.908416+02
  46 | maintenance     | 0004_auto__del_field_intervention_comments__add_field_intervention_descript | 2017-05-18 10:30:46.996338+02
  47 | zoning          | 0001_initial                                                                | 2017-05-18 10:30:47.620526+02
  48 | zoning          | 0002_fix_content_types                                                      | 2017-05-18 10:30:47.685934+02
  49 | land            | 0001_initial                                                                | 2017-05-18 10:30:48.354273+02
  50 | land            | 0002_auto__del_city__del_restrictedareaedge__del_cityedge__del_restrictedar | 2017-05-18 10:30:48.416894+02
  51 | land            | 0003_auto__add_field_landedge_owner__add_field_landedge_agreement           | 2017-05-18 10:30:48.525745+02
  52 | trekking        | 0002_auto__add_field_difficultylevel_pictogram                              | 2017-05-18 10:30:49.088675+02
  53 | trekking        | 0002_auto__add_field_trek_name_en__add_field_trek_name_es__add_field_trek_n | 2017-05-18 10:30:49.16141+02
  54 | trekking        | 0003_auto__add_field_trek_publication_date                                  | 2017-05-18 10:30:49.234508+02
  55 | trekking        | 0004_auto__add_field_difficultylevel_pictogram__add_field_informationdesk_p | 2017-05-18 10:30:49.368788+02
  56 | trekking        | 0005_auto__information_desks_many2many_data                                 | 2017-05-18 10:30:49.494635+02
  57 | trekking        | 0006_auto__del_field_trek_information_desk                                  | 2017-05-18 10:30:49.589423+02
  58 | trekking        | 0007_auto__add_field_treknetwork_pictogram__chg_field_usage_pictogram__add_ | 2017-05-18 10:30:49.844521+02
  59 | trekking        | 0007_auto__chg_field_trek_published                                         | 2017-05-18 10:30:50.1614+02
  60 | trekking        | 0008_auto__add_field_trek_points_reference                                  | 2017-05-18 10:30:50.25249+02
  61 | trekking        | 0009_auto__chg_field_informationdesk_postal_code                            | 2017-05-18 10:30:50.355018+02
  62 | trekking        | 0010_auto__add_field_poi_published__add_field_poi_publication_date          | 2017-05-18 10:30:50.469257+02
  63 | trekking        | 0011_auto__add_informationdesktype__add_field_informationdesk_type          | 2017-05-18 10:30:50.599777+02
  64 | tourism         | 0001_initial                                                                | 2017-05-18 10:30:50.624832+02
  65 | tourism         | 0002_auto__add_field_datasource_targets                                     | 2017-05-18 10:30:50.636188+02
  66 | tourism         | 0003_auto__change_field_datasource_targets                                  | 2017-05-18 10:30:50.67993+02
  67 | tourism         | 0004_auto__add_informationdesktype__add_informationdesk                     | 2017-05-18 10:30:50.700612+02
  68 | trekking        | 0012_auto__del_informationdesktype__del_informationdesk                     | 2017-05-18 10:30:50.791596+02
  69 | trekking        | 0013_auto__add_field_trek_practice                                          | 2017-05-18 10:30:50.8985+02
  70 | trekking        | 0014_usages2practice                                                        | 2017-05-18 10:30:50.993042+02
  71 | trekking        | 0015_auto                                                                   | 2017-05-18 10:30:51.090138+02
  72 | trekking        | 0016_rename_usage_model                                                     | 2017-05-18 10:30:51.185889+02
  73 | trekking        | 0017_rename_field_practice_usage                                            | 2017-05-18 10:30:51.301626+02
  74 | trekking        | 0018_auto__add_accessibility                                                | 2017-05-18 10:30:51.464558+02
  75 | trekking        | 0019_auto__add_field_trek_structure__add_field_poi_structure                | 2017-05-18 10:30:51.642721+02
  76 | trekking        | 0020_auto__add_field_accessibility_pictogram                                | 2017-05-18 10:30:51.754838+02
  77 | trekking        | 0021_auto__add_cirkwipoicategory__add_cirkwilocomotion__add_field_accessibi | 2017-05-18 10:30:51.950861+02
  78 | trekking        | 0022_auto__add_field_trek_review__add_field_poi_review                      | 2017-05-18 10:30:52.136225+02
  79 | trekking        | 0023_auto__add_field_trek_source__add_field_trek_eid__add_field_poi_eid     | 2017-05-18 10:30:52.346442+02
  80 | trekking        | 0024_move_cirkwi_tables                                                     | 2017-05-18 10:30:52.490186+02
  81 | trekking        | 0025_auto__del_field_trek_source                                            | 2017-05-18 10:30:52.644017+02
  82 | trekking        | 0026_auto__add_field_trek_parent                                            | 2017-05-18 10:30:52.789532+02
  83 | trekking        | 0027_auto__add_field_trek_eid2                                              | 2017-05-18 10:30:52.96275+02
  84 | trekking        | 0028_auto__add_field_practice_distance                                      | 2017-05-18 10:30:53.320041+02
  85 | trekking        | 0029_auto__add_service__add_servicetype                                     | 2017-05-18 10:30:53.503287+02
  86 | trekking        | 0030_auto__add_orderedtrekchild__add_unique_orderedtrekchild_parent_child__ | 2017-05-18 10:30:53.684326+02
  87 | trekking        | 0031_auto__del_field_trek_parent                                            | 2017-05-18 10:30:53.826197+02
  88 | trekking        | 0032_add_field_Practice_order                                               | 2017-05-18 10:30:53.977798+02
  89 | trekking        | 0033_auto__chg_field_trek_eid__chg_field_trek_eid2__chg_field_trek_points_r | 2017-05-18 10:30:54.288584+02
  90 | trekking        | 0034_auto__chg_field_trek_weblink                                           | 2017-05-18 10:30:54.498717+02
  91 | trekking        | 0035_auto__chg_field_trek_points_reference__chg_field_trek_parking_location | 2017-05-18 10:30:54.653924+02
  92 | trekking        | 0036_auto                                                                   | 2017-05-18 10:30:54.832216+02
  93 | tourism         | 0005_auto__chg_field_informationdesk_type                                   | 2017-05-18 10:30:55.531841+02
  94 | tourism         | 0006_auto__add_touristiccontent                                             | 2017-05-18 10:30:55.616952+02
  95 | tourism         | 0007_auto__add_touristiccontentcategory__add_field_touristiccontent_categor | 2017-05-18 10:30:55.690728+02
  96 | tourism         | 0008_auto__add_field_touristiccontent_published__add_field_touristiccontent | 2017-05-18 10:30:55.751873+02
  97 | tourism         | 0009_auto__add_touristiceventusage__add_touristiceventpublic__add_touristic | 2017-05-18 10:30:55.899707+02
  98 | tourism         | 0010_auto__add_field_touristiccontent_description_teaser__add_field_tourist | 2017-05-18 10:30:56.393399+02
  99 | tourism         | 0011_auto__add_field_touristiccontent_email__add_field_touristiccontent_web | 2017-05-18 10:30:56.443814+02
 100 | tourism         | 0012_auto__chg_field_touristicevent_meeting_time                            | 2017-05-18 10:30:56.485708+02
 101 | tourism         | 0013_auto__add_touristiccontenttype                                         | 2017-05-18 10:30:56.613365+02
 102 | tourism         | 0014_auto__add_field_touristiccontentcategory_type1_label__add_field_touris | 2017-05-18 10:30:56.699723+02
 103 | tourism         | 0015_auto__del_field_touristiccontenttype_type_nr__add_field_touristicconte | 2017-05-18 10:30:56.791334+02
 104 | tourism         | 0016_rename_relation_tables                                                 | 2017-05-18 10:30:56.879395+02
 105 | tourism         | 0017_auto__add_field_touristiccontentcategory_geometry_type                 | 2017-05-18 10:30:56.950544+02
 106 | tourism         | 0018_auto__del_touristiceventusage__add_touristiceventtype__del_field_touri | 2017-05-18 10:30:57.065397+02
 107 | tourism         | 0019_auto__add_field_touristicevent_target_audience__chg_field_touristiceve | 2017-05-18 10:30:57.124564+02
 108 | tourism         | 0020_public_vise                                                            | 2017-05-18 10:30:57.18+02
 109 | tourism         | 0021_auto__del_touristiceventpublic__del_field_touristicevent_public__chg_f | 2017-05-18 10:30:57.333205+02
 110 | tourism         | 0022_auto__add_field_touristiceventtype_pictogram__add_field_touristicconte | 2017-05-18 10:30:57.401913+02
 111 | tourism         | 0023_auto__add_field_touristiccontent_review__add_field_touristicevent_revi | 2017-05-18 10:30:57.525252+02
 112 | tourism         | 0024_auto__add_field_touristiccontent_source__add_field_touristiccontent_ei | 2017-05-18 10:30:57.670598+02
 113 | tourism         | 0025_auto__del_field_touristiccontent_source__del_field_touristicevent_sour | 2017-05-18 10:30:57.813284+02
 114 | tourism         | 0026_auto__add_field_touristiccontentcategory_order                         | 2017-05-18 10:30:57.88139+02
 115 | tourism         | 0027_auto__add_field_touristiccontent_labelled__add_field_touristicevent_la | 2017-05-18 10:30:58.007028+02
 116 | tourism         | 0028_auto__add_field_touristiccontent_reservation_id__chg_field_touristicco | 2017-05-18 10:30:58.106957+02
 117 | tourism         | 0029_auto__add_reservationsystem__add_field_touristiccontent_reservation_sy | 2017-05-18 10:30:58.218124+02
 118 | tourism         | 0030_rename_table_reservationsystem                                         | 2017-05-18 10:30:58.293358+02
 119 | tourism         | 0031_auto__chg_field_informationdesk_geom__chg_field_touristiccontent_geom_ | 2017-05-18 10:30:58.494185+02
 120 | tourism         | 0032_auto__chg_field_informationdesk_geom__chg_field_touristiccontent_geom_ | 2017-05-18 10:30:58.636058+02
 121 | flatpages       | 0001_initial                                                                | 2017-05-18 10:30:58.947675+02
 122 | flatpages       | 0002_auto__add_field_flatpage_external_url                                  | 2017-05-18 10:30:58.975434+02
 123 | flatpages       | 0003_auto__chg_field_flatpage_content__chg_field_flatpage_external_url      | 2017-05-18 10:30:59.090153+02
 124 | flatpages       | 0004_auto__chg_field_flatpage_external_url                                  | 2017-05-18 10:30:59.167034+02
 125 | flatpages       | 0005_auto__chg_field_flatpage_external_url                                  | 2017-05-18 10:30:59.227014+02
 126 | flatpages       | 0006_auto                                                                   | 2017-05-18 10:30:59.304251+02
 127 | flatpages       | 0007_auto__add_field_order                                                  | 2017-05-18 10:30:59.345664+02
 128 | flatpages       | 0008_auto__add_field_flatpage_id                                            | 2017-05-18 10:30:59.418272+02
 129 | feedback        | 0001_initial                                                                | 2017-05-18 10:31:00.087969+02
 130 | feedback        | 0002_auto__add_reportstatus__add_field_report_status                        | 2017-05-18 10:31:00.128284+02
(130 rows)'
+ '[' 0 -eq 0 ']'
+ grep 0003_auto__add_field_landedge_owner__add_field_landedge_agreement
+ echo id '|' app_name '|' migration '|' applied -----+-----------------+-----------------------------------------------------------------------------+------------------------------- 1 '|' easy_thumbnails '|' 0001_initial '|' 2017-05-18 10:30:40.508186+02 2 '|' easy_thumbnails '|' 0002_filename_indexes '|' 2017-05-18 10:30:40.549312+02 3 '|' easy_thumbnails '|' 0003_auto__add_storagenew '|' 2017-05-18 10:30:40.590236+02 4 '|' easy_thumbnails '|' 0004_auto__add_field_source_storage_new__add_field_thumbnail_storage_new '|' 2017-05-18 10:30:40.625236+02 5 '|' easy_thumbnails '|' 0005_storage_fks_null '|' 2017-05-18 10:30:40.704323+02 6 '|' easy_thumbnails '|' 0006_copy_storage '|' 2017-05-18 10:30:40.719211+02 7 '|' easy_thumbnails '|' 0007_storagenew_fks_not_null '|' 2017-05-18 10:30:40.791476+02 8 '|' easy_thumbnails '|' 0008_auto__del_field_source_storage__del_field_thumbnail_storage '|' 2017-05-18 10:30:40.807439+02 9 '|' easy_thumbnails '|' 0009_auto__del_storage '|' 2017-05-18 10:30:40.82356+02 10 '|' easy_thumbnails '|' 0010_rename_storage '|' 2017-05-18 10:30:40.841945+02 11 '|' easy_thumbnails '|' 0011_auto__add_field_source_storage_hash__add_field_thumbnail_storage_hash '|' 2017-05-18 10:30:40.912193+02 12 '|' easy_thumbnails '|' 0012_build_storage_hashes '|' 2017-05-18 10:30:40.92629+02 13 '|' easy_thumbnails '|' 0013_auto__del_storage__del_field_source_storage__del_field_thumbnail_stora '|' 2017-05-18 10:30:40.954673+02 14 '|' easy_thumbnails '|' 0014_auto__add_unique_source_name_storage_hash__add_unique_thumbnail_name_s '|' 2017-05-18 10:30:40.979174+02 15 '|' easy_thumbnails '|' 0015_auto__del_unique_thumbnail_name_storage_hash__add_unique_thumbnail_sou '|' 2017-05-18 10:30:41.016988+02 16 '|' djcelery '|' 0001_initial '|' 2017-05-18 10:30:41.462513+02 17 '|' djcelery '|' 0002_v25_changes '|' 2017-05-18 10:30:41.621999+02 18 '|' djcelery '|' 0003_v26_changes '|' 2017-05-18 10:30:41.688489+02 19 '|' djcelery '|' 0004_v30_changes '|' 2017-05-18 10:30:41.721579+02 20 '|' cirkwi '|' 0001_move_cirkwi_tables '|' 2017-05-18 10:30:42.057021+02 21 '|' cirkwi '|' 0002_update_perm_cirkwi '|' 2017-05-18 10:30:42.085863+02 22 '|' authent '|' 0001_initial '|' 2017-05-18 10:30:42.258704+02 23 '|' core '|' 0001_initial '|' 2017-05-18 10:30:42.926374+02 24 '|' trekking '|' 0001_initial '|' 2017-05-18 10:30:43.385759+02 25 '|' common '|' 0001_initial '|' 2017-05-18 10:30:43.618933+02 26 '|' common '|' 0002_auto__add_theme '|' 2017-05-18 10:30:43.631887+02 27 '|' common '|' 0003_auto__add_cirkwitag__add_field_theme_cirkwi '|' 2017-05-18 10:30:43.687326+02 28 '|' common '|' 0004_auto__add_recordsource '|' 2017-05-18 10:30:43.738429+02 29 '|' common '|' 0005_attachment_video '|' 2017-05-18 10:30:43.759084+02 30 '|' common '|' 0006_move_cirkwi_tables '|' 2017-05-18 10:30:43.778267+02 31 '|' common '|' 0007_auto__add_targetportal '|' 2017-05-18 10:30:43.832931+02 32 '|' common '|' 0008_auto__del_field_recordsource_structure '|' 2017-05-18 10:30:43.85387+02 33 '|' altimetry '|' 0001_initial '|' 2017-05-18 10:30:44.466539+02 34 '|' core '|' 0002_auto__del_field_trail_id__del_field_trail_date_update__del_field_trail '|' 2017-05-18 10:30:44.784591+02 35 '|' core '|' 0003_auto__add_field_path_visible '|' 2017-05-18 10:30:44.866875+02 36 '|' core '|' 0004_datasource '|' 2017-05-18 10:30:44.959611+02 37 '|' core '|' 0005_update_perm_source '|' 2017-05-18 10:30:45.020356+02 38 '|' core '|' 0006_auto__add_field_path_eid '|' 2017-05-18 10:30:45.103475+02 39 '|' core '|' 0007_auto__chg_field_path_eid '|' 2017-05-18 10:30:45.181151+02 40 '|' infrastructure '|' 0001_initial '|' 2017-05-18 10:30:45.575055+02 41 '|' infrastructure '|' 0002_auto__add_infrastructurecondition__add_field_baseinfrastructure_condit '|' 2017-05-18 10:30:45.656385+02 42 '|' infrastructure '|' 0003_auto__add_field_baseinfrastructure_implantation_year '|' 2017-05-18 10:30:45.709982+02 43 '|' maintenance '|' 0001_initial '|' 2017-05-18 10:30:46.701067+02 44 '|' maintenance '|' 0002_auto__del_field_project_cost__add_field_project_global_cost '|' 2017-05-18 10:30:46.804893+02 45 '|' maintenance '|' 0003_auto__del_field_intervention_in_maintenance__add_field_intervention_su '|' 2017-05-18 10:30:46.908416+02 46 '|' maintenance '|' 0004_auto__del_field_intervention_comments__add_field_intervention_descript '|' 2017-05-18 10:30:46.996338+02 47 '|' zoning '|' 0001_initial '|' 2017-05-18 10:30:47.620526+02 48 '|' zoning '|' 0002_fix_content_types '|' 2017-05-18 10:30:47.685934+02 49 '|' land '|' 0001_initial '|' 2017-05-18 10:30:48.354273+02 50 '|' land '|' 0002_auto__del_city__del_restrictedareaedge__del_cityedge__del_restrictedar '|' 2017-05-18 10:30:48.416894+02 51 '|' land '|' 0003_auto__add_field_landedge_owner__add_field_landedge_agreement '|' 2017-05-18 10:30:48.525745+02 52 '|' trekking '|' 0002_auto__add_field_difficultylevel_pictogram '|' 2017-05-18 10:30:49.088675+02 53 '|' trekking '|' 0002_auto__add_field_trek_name_en__add_field_trek_name_es__add_field_trek_n '|' 2017-05-18 10:30:49.16141+02 54 '|' trekking '|' 0003_auto__add_field_trek_publication_date '|' 2017-05-18 10:30:49.234508+02 55 '|' trekking '|' 0004_auto__add_field_difficultylevel_pictogram__add_field_informationdesk_p '|' 2017-05-18 10:30:49.368788+02 56 '|' trekking '|' 0005_auto__information_desks_many2many_data '|' 2017-05-18 10:30:49.494635+02 57 '|' trekking '|' 0006_auto__del_field_trek_information_desk '|' 2017-05-18 10:30:49.589423+02 58 '|' trekking '|' 0007_auto__add_field_treknetwork_pictogram__chg_field_usage_pictogram__add_ '|' 2017-05-18 10:30:49.844521+02 59 '|' trekking '|' 0007_auto__chg_field_trek_published '|' 2017-05-18 10:30:50.1614+02 60 '|' trekking '|' 0008_auto__add_field_trek_points_reference '|' 2017-05-18 10:30:50.25249+02 61 '|' trekking '|' 0009_auto__chg_field_informationdesk_postal_code '|' 2017-05-18 10:30:50.355018+02 62 '|' trekking '|' 0010_auto__add_field_poi_published__add_field_poi_publication_date '|' 2017-05-18 10:30:50.469257+02 63 '|' trekking '|' 0011_auto__add_informationdesktype__add_field_informationdesk_type '|' 2017-05-18 10:30:50.599777+02 64 '|' tourism '|' 0001_initial '|' 2017-05-18 10:30:50.624832+02 65 '|' tourism '|' 0002_auto__add_field_datasource_targets '|' 2017-05-18 10:30:50.636188+02 66 '|' tourism '|' 0003_auto__change_field_datasource_targets '|' 2017-05-18 10:30:50.67993+02 67 '|' tourism '|' 0004_auto__add_informationdesktype__add_informationdesk '|' 2017-05-18 10:30:50.700612+02 68 '|' trekking '|' 0012_auto__del_informationdesktype__del_informationdesk '|' 2017-05-18 10:30:50.791596+02 69 '|' trekking '|' 0013_auto__add_field_trek_practice '|' 2017-05-18 10:30:50.8985+02 70 '|' trekking '|' 0014_usages2practice '|' 2017-05-18 10:30:50.993042+02 71 '|' trekking '|' 0015_auto '|' 2017-05-18 10:30:51.090138+02 72 '|' trekking '|' 0016_rename_usage_model '|' 2017-05-18 10:30:51.185889+02 73 '|' trekking '|' 0017_rename_field_practice_usage '|' 2017-05-18 10:30:51.301626+02 74 '|' trekking '|' 0018_auto__add_accessibility '|' 2017-05-18 10:30:51.464558+02 75 '|' trekking '|' 0019_auto__add_field_trek_structure__add_field_poi_structure '|' 2017-05-18 10:30:51.642721+02 76 '|' trekking '|' 0020_auto__add_field_accessibility_pictogram '|' 2017-05-18 10:30:51.754838+02 77 '|' trekking '|' 0021_auto__add_cirkwipoicategory__add_cirkwilocomotion__add_field_accessibi '|' 2017-05-18 10:30:51.950861+02 78 '|' trekking '|' 0022_auto__add_field_trek_review__add_field_poi_review '|' 2017-05-18 10:30:52.136225+02 79 '|' trekking '|' 0023_auto__add_field_trek_source__add_field_trek_eid__add_field_poi_eid '|' 2017-05-18 10:30:52.346442+02 80 '|' trekking '|' 0024_move_cirkwi_tables '|' 2017-05-18 10:30:52.490186+02 81 '|' trekking '|' 0025_auto__del_field_trek_source '|' 2017-05-18 10:30:52.644017+02 82 '|' trekking '|' 0026_auto__add_field_trek_parent '|' 2017-05-18 10:30:52.789532+02 83 '|' trekking '|' 0027_auto__add_field_trek_eid2 '|' 2017-05-18 10:30:52.96275+02 84 '|' trekking '|' 0028_auto__add_field_practice_distance '|' 2017-05-18 10:30:53.320041+02 85 '|' trekking '|' 0029_auto__add_service__add_servicetype '|' 2017-05-18 10:30:53.503287+02 86 '|' trekking '|' 0030_auto__add_orderedtrekchild__add_unique_orderedtrekchild_parent_child__ '|' 2017-05-18 10:30:53.684326+02 87 '|' trekking '|' 0031_auto__del_field_trek_parent '|' 2017-05-18 10:30:53.826197+02 88 '|' trekking '|' 0032_add_field_Practice_order '|' 2017-05-18 10:30:53.977798+02 89 '|' trekking '|' 0033_auto__chg_field_trek_eid__chg_field_trek_eid2__chg_field_trek_points_r '|' 2017-05-18 10:30:54.288584+02 90 '|' trekking '|' 0034_auto__chg_field_trek_weblink '|' 2017-05-18 10:30:54.498717+02 91 '|' trekking '|' 0035_auto__chg_field_trek_points_reference__chg_field_trek_parking_location '|' 2017-05-18 10:30:54.653924+02 92 '|' trekking '|' 0036_auto '|' 2017-05-18 10:30:54.832216+02 93 '|' tourism '|' 0005_auto__chg_field_informationdesk_type '|' 2017-05-18 10:30:55.531841+02 94 '|' tourism '|' 0006_auto__add_touristiccontent '|' 2017-05-18 10:30:55.616952+02 95 '|' tourism '|' 0007_auto__add_touristiccontentcategory__add_field_touristiccontent_categor '|' 2017-05-18 10:30:55.690728+02 96 '|' tourism '|' 0008_auto__add_field_touristiccontent_published__add_field_touristiccontent '|' 2017-05-18 10:30:55.751873+02 97 '|' tourism '|' 0009_auto__add_touristiceventusage__add_touristiceventpublic__add_touristic '|' 2017-05-18 10:30:55.899707+02 98 '|' tourism '|' 0010_auto__add_field_touristiccontent_description_teaser__add_field_tourist '|' 2017-05-18 10:30:56.393399+02 99 '|' tourism '|' 0011_auto__add_field_touristiccontent_email__add_field_touristiccontent_web '|' 2017-05-18 10:30:56.443814+02 100 '|' tourism '|' 0012_auto__chg_field_touristicevent_meeting_time '|' 2017-05-18 10:30:56.485708+02 101 '|' tourism '|' 0013_auto__add_touristiccontenttype '|' 2017-05-18 10:30:56.613365+02 102 '|' tourism '|' 0014_auto__add_field_touristiccontentcategory_type1_label__add_field_touris '|' 2017-05-18 10:30:56.699723+02 103 '|' tourism '|' 0015_auto__del_field_touristiccontenttype_type_nr__add_field_touristicconte '|' 2017-05-18 10:30:56.791334+02 104 '|' tourism '|' 0016_rename_relation_tables '|' 2017-05-18 10:30:56.879395+02 105 '|' tourism '|' 0017_auto__add_field_touristiccontentcategory_geometry_type '|' 2017-05-18 10:30:56.950544+02 106 '|' tourism '|' 0018_auto__del_touristiceventusage__add_touristiceventtype__del_field_touri '|' 2017-05-18 10:30:57.065397+02 107 '|' tourism '|' 0019_auto__add_field_touristicevent_target_audience__chg_field_touristiceve '|' 2017-05-18 10:30:57.124564+02 108 '|' tourism '|' 0020_public_vise '|' 2017-05-18 10:30:57.18+02 109 '|' tourism '|' 0021_auto__del_touristiceventpublic__del_field_touristicevent_public__chg_f '|' 2017-05-18 10:30:57.333205+02 110 '|' tourism '|' 0022_auto__add_field_touristiceventtype_pictogram__add_field_touristicconte '|' 2017-05-18 10:30:57.401913+02 111 '|' tourism '|' 0023_auto__add_field_touristiccontent_review__add_field_touristicevent_revi '|' 2017-05-18 10:30:57.525252+02 112 '|' tourism '|' 0024_auto__add_field_touristiccontent_source__add_field_touristiccontent_ei '|' 2017-05-18 10:30:57.670598+02 113 '|' tourism '|' 0025_auto__del_field_touristiccontent_source__del_field_touristicevent_sour '|' 2017-05-18 10:30:57.813284+02 114 '|' tourism '|' 0026_auto__add_field_touristiccontentcategory_order '|' 2017-05-18 10:30:57.88139+02 115 '|' tourism '|' 0027_auto__add_field_touristiccontent_labelled__add_field_touristicevent_la '|' 2017-05-18 10:30:58.007028+02 116 '|' tourism '|' 0028_auto__add_field_touristiccontent_reservation_id__chg_field_touristicco '|' 2017-05-18 10:30:58.106957+02 117 '|' tourism '|' 0029_auto__add_reservationsystem__add_field_touristiccontent_reservation_sy '|' 2017-05-18 10:30:58.218124+02 118 '|' tourism '|' 0030_rename_table_reservationsystem '|' 2017-05-18 10:30:58.293358+02 119 '|' tourism '|' 0031_auto__chg_field_informationdesk_geom__chg_field_touristiccontent_geom_ '|' 2017-05-18 10:30:58.494185+02 120 '|' tourism '|' 0032_auto__chg_field_informationdesk_geom__chg_field_touristiccontent_geom_ '|' 2017-05-18 10:30:58.636058+02 121 '|' flatpages '|' 0001_initial '|' 2017-05-18 10:30:58.947675+02 122 '|' flatpages '|' 0002_auto__add_field_flatpage_external_url '|' 2017-05-18 10:30:58.975434+02 123 '|' flatpages '|' 0003_auto__chg_field_flatpage_content__chg_field_flatpage_external_url '|' 2017-05-18 10:30:59.090153+02 124 '|' flatpages '|' 0004_auto__chg_field_flatpage_external_url '|' 2017-05-18 10:30:59.167034+02 125 '|' flatpages '|' 0005_auto__chg_field_flatpage_external_url '|' 2017-05-18 10:30:59.227014+02 126 '|' flatpages '|' 0006_auto '|' 2017-05-18 10:30:59.304251+02 127 '|' flatpages '|' 0007_auto__add_field_order '|' 2017-05-18 10:30:59.345664+02 128 '|' flatpages '|' 0008_auto__add_field_flatpage_id '|' 2017-05-18 10:30:59.418272+02 129 '|' feedback '|' 0001_initial '|' 2017-05-18 10:31:00.087969+02 130 '|' feedback '|' 0002_auto__add_reportstatus__add_field_report_status '|' 2017-05-18 10:31:00.128284+02 '(130' 'rows)'
id | app_name | migration | applied -----+-----------------+-----------------------------------------------------------------------------+------------------------------- 1 | easy_thumbnails | 0001_initial | 2017-05-18 10:30:40.508186+02 2 | easy_thumbnails | 0002_filename_indexes | 2017-05-18 10:30:40.549312+02 3 | easy_thumbnails | 0003_auto__add_storagenew | 2017-05-18 10:30:40.590236+02 4 | easy_thumbnails | 0004_auto__add_field_source_storage_new__add_field_thumbnail_storage_new | 2017-05-18 10:30:40.625236+02 5 | easy_thumbnails | 0005_storage_fks_null | 2017-05-18 10:30:40.704323+02 6 | easy_thumbnails | 0006_copy_storage | 2017-05-18 10:30:40.719211+02 7 | easy_thumbnails | 0007_storagenew_fks_not_null | 2017-05-18 10:30:40.791476+02 8 | easy_thumbnails | 0008_auto__del_field_source_storage__del_field_thumbnail_storage | 2017-05-18 10:30:40.807439+02 9 | easy_thumbnails | 0009_auto__del_storage | 2017-05-18 10:30:40.82356+02 10 | easy_thumbnails | 0010_rename_storage | 2017-05-18 10:30:40.841945+02 11 | easy_thumbnails | 0011_auto__add_field_source_storage_hash__add_field_thumbnail_storage_hash | 2017-05-18 10:30:40.912193+02 12 | easy_thumbnails | 0012_build_storage_hashes | 2017-05-18 10:30:40.92629+02 13 | easy_thumbnails | 0013_auto__del_storage__del_field_source_storage__del_field_thumbnail_stora | 2017-05-18 10:30:40.954673+02 14 | easy_thumbnails | 0014_auto__add_unique_source_name_storage_hash__add_unique_thumbnail_name_s | 2017-05-18 10:30:40.979174+02 15 | easy_thumbnails | 0015_auto__del_unique_thumbnail_name_storage_hash__add_unique_thumbnail_sou | 2017-05-18 10:30:41.016988+02 16 | djcelery | 0001_initial | 2017-05-18 10:30:41.462513+02 17 | djcelery | 0002_v25_changes | 2017-05-18 10:30:41.621999+02 18 | djcelery | 0003_v26_changes | 2017-05-18 10:30:41.688489+02 19 | djcelery | 0004_v30_changes | 2017-05-18 10:30:41.721579+02 20 | cirkwi | 0001_move_cirkwi_tables | 2017-05-18 10:30:42.057021+02 21 | cirkwi | 0002_update_perm_cirkwi | 2017-05-18 10:30:42.085863+02 22 | authent | 0001_initial | 2017-05-18 10:30:42.258704+02 23 | core | 0001_initial | 2017-05-18 10:30:42.926374+02 24 | trekking | 0001_initial | 2017-05-18 10:30:43.385759+02 25 | common | 0001_initial | 2017-05-18 10:30:43.618933+02 26 | common | 0002_auto__add_theme | 2017-05-18 10:30:43.631887+02 27 | common | 0003_auto__add_cirkwitag__add_field_theme_cirkwi | 2017-05-18 10:30:43.687326+02 28 | common | 0004_auto__add_recordsource | 2017-05-18 10:30:43.738429+02 29 | common | 0005_attachment_video | 2017-05-18 10:30:43.759084+02 30 | common | 0006_move_cirkwi_tables | 2017-05-18 10:30:43.778267+02 31 | common | 0007_auto__add_targetportal | 2017-05-18 10:30:43.832931+02 32 | common | 0008_auto__del_field_recordsource_structure | 2017-05-18 10:30:43.85387+02 33 | altimetry | 0001_initial | 2017-05-18 10:30:44.466539+02 34 | core | 0002_auto__del_field_trail_id__del_field_trail_date_update__del_field_trail | 2017-05-18 10:30:44.784591+02 35 | core | 0003_auto__add_field_path_visible | 2017-05-18 10:30:44.866875+02 36 | core | 0004_datasource | 2017-05-18 10:30:44.959611+02 37 | core | 0005_update_perm_source | 2017-05-18 10:30:45.020356+02 38 | core | 0006_auto__add_field_path_eid | 2017-05-18 10:30:45.103475+02 39 | core | 0007_auto__chg_field_path_eid | 2017-05-18 10:30:45.181151+02 40 | infrastructure | 0001_initial | 2017-05-18 10:30:45.575055+02 41 | infrastructure | 0002_auto__add_infrastructurecondition__add_field_baseinfrastructure_condit | 2017-05-18 10:30:45.656385+02 42 | infrastructure | 0003_auto__add_field_baseinfrastructure_implantation_year | 2017-05-18 10:30:45.709982+02 43 | maintenance | 0001_initial | 2017-05-18 10:30:46.701067+02 44 | maintenance | 0002_auto__del_field_project_cost__add_field_project_global_cost | 2017-05-18 10:30:46.804893+02 45 | maintenance | 0003_auto__del_field_intervention_in_maintenance__add_field_intervention_su | 2017-05-18 10:30:46.908416+02 46 | maintenance | 0004_auto__del_field_intervention_comments__add_field_intervention_descript | 2017-05-18 10:30:46.996338+02 47 | zoning | 0001_initial | 2017-05-18 10:30:47.620526+02 48 | zoning | 0002_fix_content_types | 2017-05-18 10:30:47.685934+02 49 | land | 0001_initial | 2017-05-18 10:30:48.354273+02 50 | land | 0002_auto__del_city__del_restrictedareaedge__del_cityedge__del_restrictedar | 2017-05-18 10:30:48.416894+02 51 | land | 0003_auto__add_field_landedge_owner__add_field_landedge_agreement | 2017-05-18 10:30:48.525745+02 52 | trekking | 0002_auto__add_field_difficultylevel_pictogram | 2017-05-18 10:30:49.088675+02 53 | trekking | 0002_auto__add_field_trek_name_en__add_field_trek_name_es__add_field_trek_n | 2017-05-18 10:30:49.16141+02 54 | trekking | 0003_auto__add_field_trek_publication_date | 2017-05-18 10:30:49.234508+02 55 | trekking | 0004_auto__add_field_difficultylevel_pictogram__add_field_informationdesk_p | 2017-05-18 10:30:49.368788+02 56 | trekking | 0005_auto__information_desks_many2many_data | 2017-05-18 10:30:49.494635+02 57 | trekking | 0006_auto__del_field_trek_information_desk | 2017-05-18 10:30:49.589423+02 58 | trekking | 0007_auto__add_field_treknetwork_pictogram__chg_field_usage_pictogram__add_ | 2017-05-18 10:30:49.844521+02 59 | trekking | 0007_auto__chg_field_trek_published | 2017-05-18 10:30:50.1614+02 60 | trekking | 0008_auto__add_field_trek_points_reference | 2017-05-18 10:30:50.25249+02 61 | trekking | 0009_auto__chg_field_informationdesk_postal_code | 2017-05-18 10:30:50.355018+02 62 | trekking | 0010_auto__add_field_poi_published__add_field_poi_publication_date | 2017-05-18 10:30:50.469257+02 63 | trekking | 0011_auto__add_informationdesktype__add_field_informationdesk_type | 2017-05-18 10:30:50.599777+02 64 | tourism | 0001_initial | 2017-05-18 10:30:50.624832+02 65 | tourism | 0002_auto__add_field_datasource_targets | 2017-05-18 10:30:50.636188+02 66 | tourism | 0003_auto__change_field_datasource_targets | 2017-05-18 10:30:50.67993+02 67 | tourism | 0004_auto__add_informationdesktype__add_informationdesk | 2017-05-18 10:30:50.700612+02 68 | trekking | 0012_auto__del_informationdesktype__del_informationdesk | 2017-05-18 10:30:50.791596+02 69 | trekking | 0013_auto__add_field_trek_practice | 2017-05-18 10:30:50.8985+02 70 | trekking | 0014_usages2practice | 2017-05-18 10:30:50.993042+02 71 | trekking | 0015_auto | 2017-05-18 10:30:51.090138+02 72 | trekking | 0016_rename_usage_model | 2017-05-18 10:30:51.185889+02 73 | trekking | 0017_rename_field_practice_usage | 2017-05-18 10:30:51.301626+02 74 | trekking | 0018_auto__add_accessibility | 2017-05-18 10:30:51.464558+02 75 | trekking | 0019_auto__add_field_trek_structure__add_field_poi_structure | 2017-05-18 10:30:51.642721+02 76 | trekking | 0020_auto__add_field_accessibility_pictogram | 2017-05-18 10:30:51.754838+02 77 | trekking | 0021_auto__add_cirkwipoicategory__add_cirkwilocomotion__add_field_accessibi | 2017-05-18 10:30:51.950861+02 78 | trekking | 0022_auto__add_field_trek_review__add_field_poi_review | 2017-05-18 10:30:52.136225+02 79 | trekking | 0023_auto__add_field_trek_source__add_field_trek_eid__add_field_poi_eid | 2017-05-18 10:30:52.346442+02 80 | trekking | 0024_move_cirkwi_tables | 2017-05-18 10:30:52.490186+02 81 | trekking | 0025_auto__del_field_trek_source | 2017-05-18 10:30:52.644017+02 82 | trekking | 0026_auto__add_field_trek_parent | 2017-05-18 10:30:52.789532+02 83 | trekking | 0027_auto__add_field_trek_eid2 | 2017-05-18 10:30:52.96275+02 84 | trekking | 0028_auto__add_field_practice_distance | 2017-05-18 10:30:53.320041+02 85 | trekking | 0029_auto__add_service__add_servicetype | 2017-05-18 10:30:53.503287+02 86 | trekking | 0030_auto__add_orderedtrekchild__add_unique_orderedtrekchild_parent_child__ | 2017-05-18 10:30:53.684326+02 87 | trekking | 0031_auto__del_field_trek_parent | 2017-05-18 10:30:53.826197+02 88 | trekking | 0032_add_field_Practice_order | 2017-05-18 10:30:53.977798+02 89 | trekking | 0033_auto__chg_field_trek_eid__chg_field_trek_eid2__chg_field_trek_points_r | 2017-05-18 10:30:54.288584+02 90 | trekking | 0034_auto__chg_field_trek_weblink | 2017-05-18 10:30:54.498717+02 91 | trekking | 0035_auto__chg_field_trek_points_reference__chg_field_trek_parking_location | 2017-05-18 10:30:54.653924+02 92 | trekking | 0036_auto | 2017-05-18 10:30:54.832216+02 93 | tourism | 0005_auto__chg_field_informationdesk_type | 2017-05-18 10:30:55.531841+02 94 | tourism | 0006_auto__add_touristiccontent | 2017-05-18 10:30:55.616952+02 95 | tourism | 0007_auto__add_touristiccontentcategory__add_field_touristiccontent_categor | 2017-05-18 10:30:55.690728+02 96 | tourism | 0008_auto__add_field_touristiccontent_published__add_field_touristiccontent | 2017-05-18 10:30:55.751873+02 97 | tourism | 0009_auto__add_touristiceventusage__add_touristiceventpublic__add_touristic | 2017-05-18 10:30:55.899707+02 98 | tourism | 0010_auto__add_field_touristiccontent_description_teaser__add_field_tourist | 2017-05-18 10:30:56.393399+02 99 | tourism | 0011_auto__add_field_touristiccontent_email__add_field_touristiccontent_web | 2017-05-18 10:30:56.443814+02 100 | tourism | 0012_auto__chg_field_touristicevent_meeting_time | 2017-05-18 10:30:56.485708+02 101 | tourism | 0013_auto__add_touristiccontenttype | 2017-05-18 10:30:56.613365+02 102 | tourism | 0014_auto__add_field_touristiccontentcategory_type1_label__add_field_touris | 2017-05-18 10:30:56.699723+02 103 | tourism | 0015_auto__del_field_touristiccontenttype_type_nr__add_field_touristicconte | 2017-05-18 10:30:56.791334+02 104 | tourism | 0016_rename_relation_tables | 2017-05-18 10:30:56.879395+02 105 | tourism | 0017_auto__add_field_touristiccontentcategory_geometry_type | 2017-05-18 10:30:56.950544+02 106 | tourism | 0018_auto__del_touristiceventusage__add_touristiceventtype__del_field_touri | 2017-05-18 10:30:57.065397+02 107 | tourism | 0019_auto__add_field_touristicevent_target_audience__chg_field_touristiceve | 2017-05-18 10:30:57.124564+02 108 | tourism | 0020_public_vise | 2017-05-18 10:30:57.18+02 109 | tourism | 0021_auto__del_touristiceventpublic__del_field_touristicevent_public__chg_f | 2017-05-18 10:30:57.333205+02 110 | tourism | 0022_auto__add_field_touristiceventtype_pictogram__add_field_touristicconte | 2017-05-18 10:30:57.401913+02 111 | tourism | 0023_auto__add_field_touristiccontent_review__add_field_touristicevent_revi | 2017-05-18 10:30:57.525252+02 112 | tourism | 0024_auto__add_field_touristiccontent_source__add_field_touristiccontent_ei | 2017-05-18 10:30:57.670598+02 113 | tourism | 0025_auto__del_field_touristiccontent_source__del_field_touristicevent_sour | 2017-05-18 10:30:57.813284+02 114 | tourism | 0026_auto__add_field_touristiccontentcategory_order | 2017-05-18 10:30:57.88139+02 115 | tourism | 0027_auto__add_field_touristiccontent_labelled__add_field_touristicevent_la | 2017-05-18 10:30:58.007028+02 116 | tourism | 0028_auto__add_field_touristiccontent_reservation_id__chg_field_touristicco | 2017-05-18 10:30:58.106957+02 117 | tourism | 0029_auto__add_reservationsystem__add_field_touristiccontent_reservation_sy | 2017-05-18 10:30:58.218124+02 118 | tourism | 0030_rename_table_reservationsystem | 2017-05-18 10:30:58.293358+02 119 | tourism | 0031_auto__chg_field_informationdesk_geom__chg_field_touristiccontent_geom_ | 2017-05-18 10:30:58.494185+02 120 | tourism | 0032_auto__chg_field_informationdesk_geom__chg_field_touristiccontent_geom_ | 2017-05-18 10:30:58.636058+02 121 | flatpages | 0001_initial | 2017-05-18 10:30:58.947675+02 122 | flatpages | 0002_auto__add_field_flatpage_external_url | 2017-05-18 10:30:58.975434+02 123 | flatpages | 0003_auto__chg_field_flatpage_content__chg_field_flatpage_external_url | 2017-05-18 10:30:59.090153+02 124 | flatpages | 0004_auto__chg_field_flatpage_external_url | 2017-05-18 10:30:59.167034+02 125 | flatpages | 0005_auto__chg_field_flatpage_external_url | 2017-05-18 10:30:59.227014+02 126 | flatpages | 0006_auto | 2017-05-18 10:30:59.304251+02 127 | flatpages | 0007_auto__add_field_order | 2017-05-18 10:30:59.345664+02 128 | flatpages | 0008_auto__add_field_flatpage_id | 2017-05-18 10:30:59.418272+02 129 | feedback | 0001_initial | 2017-05-18 10:31:00.087969+02 130 | feedback | 0002_auto__add_reportstatus__add_field_report_status | 2017-05-18 10:31:00.128284+02 (130 rows)
+ '[' 0 -ne 0 ']'
+ echo_step 'Install system minimum components...'
+ set +x
+ minimum_system_dependencies
+ sudo apt-get update -qq
+ echo_progress
+ set +x
+ sudo apt-get install -y -qq python3 unzip wget software-properties-common make
+ echo_progress
+ set +x
+ sudo apt-get install -y -qq git gettext build-essential python3-dev
Sélection du paquet libpython3.5-dev:amd64 précédemment désélectionné.
(Lecture de la base de données... 
(Lecture de la base de données... 5%
(Lecture de la base de données... 10%
(Lecture de la base de données... 15%
(Lecture de la base de données... 20%
(Lecture de la base de données... 25%
(Lecture de la base de données... 30%
(Lecture de la base de données... 35%
(Lecture de la base de données... 40%
(Lecture de la base de données... 45%
(Lecture de la base de données... 50%
(Lecture de la base de données... 55%
(Lecture de la base de données... 60%
(Lecture de la base de données... 65%
(Lecture de la base de données... 70%
(Lecture de la base de données... 75%
(Lecture de la base de données... 80%
(Lecture de la base de données... 85%
(Lecture de la base de données... 90%
(Lecture de la base de données... 95%
(Lecture de la base de données... 100%
(Lecture de la base de données... 155434 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../libpython3.5-dev_3.5.2-2ubuntu0~16.04.9_amd64.deb ...
Dépaquetage de libpython3.5-dev:amd64 (3.5.2-2ubuntu0~16.04.9) ...
Sélection du paquet libpython3-dev:amd64 précédemment désélectionné.
Préparation du dépaquetage de .../libpython3-dev_3.5.1-3_amd64.deb ...
Dépaquetage de libpython3-dev:amd64 (3.5.1-3) ...
Sélection du paquet python3.5-dev précédemment désélectionné.
Préparation du dépaquetage de .../python3.5-dev_3.5.2-2ubuntu0~16.04.9_amd64.deb ...
Dépaquetage de python3.5-dev (3.5.2-2ubuntu0~16.04.9) ...
Sélection du paquet python3-dev précédemment désélectionné.
Préparation du dépaquetage de .../python3-dev_3.5.1-3_amd64.deb ...
Dépaquetage de python3-dev (3.5.1-3) ...
Traitement des actions différées (« triggers ») pour man-db (2.7.5-1) ...
Paramétrage de libpython3.5-dev:amd64 (3.5.2-2ubuntu0~16.04.9) ...
Paramétrage de libpython3-dev:amd64 (3.5.1-3) ...
Paramétrage de python3.5-dev (3.5.2-2ubuntu0~16.04.9) ...
Paramétrage de python3-dev (3.5.1-3) ...
+ echo_progress
+ set +x
+ '[' '!' -f Makefile ']'
+ false
+ backup_existing_database
+ true
+ set +x

+ [[ y =~ ^[Yy]$ ]]
++ ini_value etc/settings.ini dbname
+++ sed -n 's/^\s*dbname *= *\([^ ]*.*\)/\1/p'
++ echo geotrekdb
+ dbname=geotrekdb
+ echo_step 'Backup existing database ...'
+ set +x
+ sudo -n -u postgres -s -- pg_dump --format=custom geotrekdb
++ date +%Y%m%d%H%M
+ make clean
find . -name "*.orig" -exec rm -f {} \;
find geotrek/ -name "*.pyc" -exec rm -f {} \;
find lib/src/ -name "*.pyc" -exec rm -f {} \;
find: «lib/src/»: Aucun fichier ou dossier de ce type
Makefile:33 : la recette pour la cible « clean_harmless » a échouée
make: [clean_harmless] Erreur 1 (ignorée)
rm -f install
rm -f .coverage
rm -rf bin/ lib/ local/ include/ *.egg-info/
rm -rf var/cache
rm -rf var/log
rm -rf var/run
rm -rf var/static
rm -rf var/tmp
rm -rf etc/init/
rm -rf etc/*.cfg
rm -rf etc/*.conf
rm -f .installed.cfg
+ wget https://bootstrap.pypa.io/get-pip.py
--2020-02-12 11:41:19--  https://bootstrap.pypa.io/get-pip.py
Résolution de bootstrap.pypa.io (bootstrap.pypa.io)… 151.101.0.175, 151.101.64.175, 151.101.128.175, ...
Connexion à bootstrap.pypa.io (bootstrap.pypa.io)|151.101.0.175|:443… connecté.
requête HTTP transmise, en attente de la réponse… 200 OK
Taille : 1807342 (1,7M) [text/x-python]
Enregistre : «get-pip.py»

     0K .......... .......... .......... .......... ..........  2% 1,07M 2s
    50K .......... .......... .......... .......... ..........  5% 2,35M 1s
   100K .......... .......... .......... .......... ..........  8% 4,51M 1s
   150K .......... .......... .......... .......... .......... 11% 3,43M 1s
   200K .......... .......... .......... .......... .......... 14% 3,95M 1s
   250K .......... .......... .......... .......... .......... 16% 4,08M 1s
   300K .......... .......... .......... .......... .......... 19% 3,80M 1s
   350K .......... .......... .......... .......... .......... 22% 2,77M 0s
   400K .......... .......... .......... .......... .......... 25% 2,98M 0s
   450K .......... .......... .......... .......... .......... 28% 2,01M 0s
   500K .......... .......... .......... .......... .......... 31% 2,22M 0s
   550K .......... .......... .......... .......... .......... 33% 2,16M 0s
   600K .......... .......... .......... .......... .......... 36% 2,96M 0s
   650K .......... .......... .......... .......... .......... 39% 2,25M 0s
   700K .......... .......... .......... .......... .......... 42% 2,62M 0s
   750K .......... .......... .......... .......... .......... 45% 2,73M 0s
   800K .......... .......... .......... .......... .......... 48% 1,27M 0s
   850K .......... .......... .......... .......... .......... 50% 9,50M 0s
   900K .......... .......... .......... .......... .......... 53% 2,02M 0s
   950K .......... .......... .......... .......... .......... 56% 1,16M 0s
  1000K .......... .......... .......... .......... .......... 59% 3,21M 0s
  1050K .......... .......... .......... .......... .......... 62% 2,71M 0s
  1100K .......... .......... .......... .......... .......... 65% 1,75M 0s
  1150K .......... .......... .......... .......... .......... 67% 2,51M 0s
  1200K .......... .......... .......... .......... .......... 70% 1,81M 0s
  1250K .......... .......... .......... .......... .......... 73% 2,74M 0s
  1300K .......... .......... .......... .......... .......... 76% 3,22M 0s
  1350K .......... .......... .......... .......... .......... 79% 5,29M 0s
  1400K .......... .......... .......... .......... .......... 82% 4,08M 0s
  1450K .......... .......... .......... .......... .......... 84% 8,49M 0s
  1500K .......... .......... .......... .......... .......... 87% 3,34M 0s
  1550K .......... .......... .......... .......... .......... 90% 3,17M 0s
  1600K .......... .......... .......... .......... .......... 93%  877K 0s
  1650K .......... .......... .......... .......... .......... 96% 47,6M 0s
  1700K .......... .......... .......... .......... .......... 99% 3,72M 0s
  1750K .......... ....                                       100% 82,9M=0,7s

2020-02-12 11:41:19 (2,52 MB/s) - «get-pip.py» enregistré [1807342/1807342]

+ sudo python3 ./get-pip.py
WARNING: The directory '/home/geotrek/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting pip
  Downloading pip-20.0.2-py2.py3-none-any.whl (1.4 MB)
Collecting setuptools
  Downloading setuptools-45.2.0-py3-none-any.whl (584 kB)
Collecting wheel
  Downloading wheel-0.34.2-py2.py3-none-any.whl (26 kB)
Installing collected packages: pip, setuptools, wheel
Successfully installed pip-20.0.2 setuptools-45.2.0 wheel-0.34.2
+ sudo pip install virtualenv -U
WARNING: The directory '/home/geotrek/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting virtualenv
  Downloading virtualenv-20.0.2-py2.py3-none-any.whl (4.6 MB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.12.0
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting distlib<1,>=0.3.0
  Downloading distlib-0.3.0.zip (571 kB)
Collecting importlib-resources<2,>=1.0; python_version < "3.7"
  Downloading importlib_resources-1.0.2-py2.py3-none-any.whl (32 kB)
Collecting zipp>=0.5
  Downloading zipp-1.1.0-py2.py3-none-any.whl (4.6 kB)
Building wheels for collected packages: distlib
  Building wheel for distlib (setup.py): started
  Building wheel for distlib (setup.py): finished with status 'done'
  Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=09d54884660a4fd7bcc59d993a01730abac3f2889cf9c29272e4978fd5ab3fa6
  Stored in directory: /tmp/pip-ephem-wheel-cache-ggpi9uy3/wheels/94/5a/46/d8f983987fd0c952afdb2db57ec55e7a7642e88db2d57ab674
Successfully built distlib
Installing collected packages: appdirs, zipp, importlib-metadata, filelock, six, distlib, importlib-resources, virtualenv
  Attempting uninstall: six
    Found existing installation: six 1.10.0
    Uninstalling six-1.10.0:
      Successfully uninstalled six-1.10.0
  Attempting uninstall: virtualenv
    Found existing installation: virtualenv 15.0.1
    Uninstalling virtualenv-15.0.1:
      Successfully uninstalled virtualenv-15.0.1
Successfully installed appdirs-1.4.3 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 importlib-resources-1.0.2 six-1.14.0 virtualenv-20.0.2 zipp-1.1.0
+ rm get-pip.py
+ make install
virtualenv -p python3 .
created virtual environment CPython3Posix(dest=/home/geotrek/Geotrek-admin-2.32.3, clear=False, global=False) with seeder FromAppData pip=latest setuptools=latest wheel=latest app_data_dir=/home/geotrek/.local/share/virtualenv/seed-v1 via=copy
bin/pip install -U setuptools==41.6.0 zc.buildout==2.13.2
Collecting setuptools==41.6.0
  Downloading setuptools-41.6.0-py2.py3-none-any.whl (582 kB)
Collecting zc.buildout==2.13.2
  Downloading zc.buildout-2.13.2.tar.gz (166 kB)
Building wheels for collected packages: zc.buildout
  Building wheel for zc.buildout (setup.py): started
  Building wheel for zc.buildout (setup.py): finished with status 'done'
  Created wheel for zc.buildout: filename=zc.buildout-2.13.2-py2.py3-none-any.whl size=153774 sha256=bbd673e243ad37474932ce0d433aab719da58b1d1d17feff6a7ba2579e7d5a1f
  Stored in directory: /home/geotrek/.cache/pip/wheels/c1/dc/47/27314a1212e99b6eb45d2bc51a077f4ce9f9ee200fa22f1193
Successfully built zc.buildout
Installing collected packages: setuptools, zc.buildout
  Attempting uninstall: setuptools
    Found existing installation: setuptools 45.2.0
    Uninstalling setuptools-45.2.0:
      Successfully uninstalled setuptools-45.2.0
Successfully installed setuptools-41.6.0 zc.buildout-2.13.2
mkdir -p lib/src
mkdir -p lib/eggs
+ success=0
+ '[' 0 -ne 0 ']'
+ echo_progress
+ set +x
+ false
+ echo_step 'Configure Unicode and French locales...'
+ set +x
+ echo_progress
+ set +x
+ sudo apt-get install -y -qq language-pack-en-base language-pack-fr-base
+ sudo locale-gen fr_FR.UTF-8
Generating locales (this might take a while)...
  fr_FR.UTF-8... done
Generation complete.
+ echo_progress
+ set +x
+ echo_step 'Install Geotrek system dependencies...'
+ set +x
+ geotrek_system_dependencies
+ sudo apt-get install -y -q --no-upgrade gdal-bin libgdal-dev libssl-dev binutils libproj-dev fonts-dejavu-core fonts-liberation
Lecture des listes de paquets…
Construction de l'arbre des dépendances…
Lecture des informations d'état…
Passe fonts-dejavu-core, il est déjà installé et la mise à jour n'est pas prévue.
fonts-dejavu-core passé en « installé manuellement ».
Passe fonts-liberation, il est déjà installé et la mise à jour n'est pas prévue.
fonts-liberation passé en « installé manuellement ».
Passe gdal-bin, il est déjà installé et la mise à jour n'est pas prévue.
Passe libgdal-dev, il est déjà installé et la mise à jour n'est pas prévue.
Passe libproj-dev, il est déjà installé et la mise à jour n'est pas prévue.
Passe binutils, il est déjà installé et la mise à jour n'est pas prévue.
Passe libssl-dev, il est déjà installé et la mise à jour n'est pas prévue.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 141 non mis à jour.
+ echo_progress
+ set +x
+ sudo apt-get install -y -q --no-upgrade postgresql-client-9.5 postgresql-server-dev-9.5
Lecture des listes de paquets…
Construction de l'arbre des dépendances…
Lecture des informations d'état…
Passe postgresql-client-9.5, il est déjà installé et la mise à jour n'est pas prévue.
Passe postgresql-server-dev-9.5, il est déjà installé et la mise à jour n'est pas prévue.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 141 non mis à jour.
+ echo_progress
+ set +x
+ sudo apt-get install -y -qq libxml2-dev libxslt-dev
+ echo_progress
+ set +x
+ sudo apt-get install -y -qq python3-lxml libcairo2 libpango1.0-0 libgdk-pixbuf2.0-dev libffi-dev shared-mime-info libfreetype6-dev
Sélection du paquet python3-bs4 précédemment désélectionné.
(Lecture de la base de données... 
(Lecture de la base de données... 5%
(Lecture de la base de données... 10%
(Lecture de la base de données... 15%
(Lecture de la base de données... 20%
(Lecture de la base de données... 25%
(Lecture de la base de données... 30%
(Lecture de la base de données... 35%
(Lecture de la base de données... 40%
(Lecture de la base de données... 45%
(Lecture de la base de données... 50%
(Lecture de la base de données... 55%
(Lecture de la base de données... 60%
(Lecture de la base de données... 65%
(Lecture de la base de données... 70%
(Lecture de la base de données... 75%
(Lecture de la base de données... 80%
(Lecture de la base de données... 85%
(Lecture de la base de données... 90%
(Lecture de la base de données... 95%
(Lecture de la base de données... 100%
(Lecture de la base de données... 155583 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../python3-bs4_4.4.1-1_all.deb ...
Dépaquetage de python3-bs4 (4.4.1-1) ...
Sélection du paquet python3-html5lib précédemment désélectionné.
Préparation du dépaquetage de .../python3-html5lib_0.999-4_all.deb ...
Dépaquetage de python3-html5lib (0.999-4) ...
Sélection du paquet python3-lxml précédemment désélectionné.
Préparation du dépaquetage de .../python3-lxml_3.5.0-1ubuntu0.1_amd64.deb ...
Dépaquetage de python3-lxml (3.5.0-1ubuntu0.1) ...
Paramétrage de python3-bs4 (4.4.1-1) ...
Paramétrage de python3-html5lib (0.999-4) ...
Paramétrage de python3-lxml (3.5.0-1ubuntu0.1) ...
+ echo_progress
+ set +x
+ sudo apt-get install -y -qq redis-server
+ echo_progress
+ set +x
+ false
+ true
+ sudo apt-get install -y -qq ntp
+ echo_progress
+ set +x
+ sudo apt-get install -y -qq nginx memcached supervisor
+ echo_progress
+ set +x
+ convertit_system_dependencies
+ true
+ echo_step 'Conversion server dependencies...'
+ set +x
+ sudo apt-get install -y -qq libreoffice unoconv inkscape
+ echo_progress
+ set +x
+ screamshotter_system_dependencies
+ false
+ false
+ true
+ echo_step 'Capture server dependencies...'
+ set +x
++ uname -m
+ arch=x86_64
++ pwd
+ libpath=/home/geotrek/Geotrek-admin-2.32.3/lib
++ pwd
+ binpath=/home/geotrek/Geotrek-admin-2.32.3/bin
+ mkdir -p /home/geotrek/Geotrek-admin-2.32.3/lib
+ mkdir -p /home/geotrek/Geotrek-admin-2.32.3/bin
+ wget --quiet https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 -O phantomjs.tar.bz2
+ '[' '!' 0 -eq 0 ']'
+ rm -rf '/home/geotrek/Geotrek-admin-2.32.3/lib/*phantomjs*/'
+ tar -jxvf phantomjs.tar.bz2 -C /home/geotrek/Geotrek-admin-2.32.3/lib/
+ rm phantomjs.tar.bz2
+ ln -sf /home/geotrek/Geotrek-admin-2.32.3/lib/phantomjs-2.1.1-linux-x86_64/bin/phantomjs /home/geotrek/Geotrek-admin-2.32.3/bin/phantomjs
+ echo_progress
+ set +x
+ wget --quiet https://github.com/n1k0/casperjs/archive/1.1.4-2.zip -O casperjs.zip
+ '[' '!' 0 -eq 0 ']'
+ rm -rf '/home/geotrek/Geotrek-admin-2.32.3/lib/*casperjs*/'
+ unzip -o casperjs.zip -d /home/geotrek/Geotrek-admin-2.32.3/lib/
+ rm casperjs.zip
+ ln -sf /home/geotrek/Geotrek-admin-2.32.3/lib/casperjs-1.1.4-2/bin/casperjs /home/geotrek/Geotrek-admin-2.32.3/bin/casperjs
+ echo_progress
+ set +x
+ false
+ sudo ln -sf /home/geotrek/Geotrek-admin-2.32.3/bin/phantomjs /usr/local/bin/phantomjs
+ sudo ln -sf /home/geotrek/Geotrek-admin-2.32.3/bin/casperjs /usr/local/bin/casperjs
++ ini_value etc/settings.ini dbhost
+++ sed -n 's/^\s*dbhost *= *\([^ ]*.*\)/\1/p'
++ echo localhost
+ dbhost=localhost
+ '[' localhost == localhost ']'
+ install_postgres_local
+ echo_step 'Installing postgresql server locally...'
+ set +x
+ sudo apt-get install -y -q postgresql-9.5 postgresql-9.5-postgis-2.2
Lecture des listes de paquets…
Construction de l'arbre des dépendances…
Lecture des informations d'état…
postgresql-9.5 is already the newest version (9.5.19-0ubuntu0.16.04.1).
postgresql-9.5-postgis-2.2 is already the newest version (2.2.1+dfsg-2ubuntu0.1).
0 mis à jour, 0 nouvellement installés, 0 à enlever et 141 non mis à jour.
+ sudo /etc/init.d/postgresql restart
Restarting postgresql (via systemctl): postgresql.service.
+ echo_progress
+ set +x
++ ini_value etc/settings.ini dbname
+++ sed -n 's/^\s*dbname *= *\([^ ]*.*\)/\1/p'
++ echo geotrekdb
+ dbname=geotrekdb
++ ini_value etc/settings.ini dbuser
+++ sed -n 's/^\s*dbuser *= *\([^ ]*.*\)/\1/p'
++ echo geotrek
+ dbuser=geotrek
++ ini_value etc/settings.ini dbpassword
+++ sed -n 's/^\s*dbpassword *= *\([^ ]*.*\)/\1/p'
++ echo geotrek
+ dbpassword=geotrek
+ user_does_not_exists geotrek
+ '[' -z geotrek ']'
++ sudo -n -u postgres -s -- psql -tAc 'SELECT 1 FROM pg_roles WHERE rolname='\''geotrek'\'''
++ wc -l
+ exists=1
+ return 1
+ database_exists geotrekdb
+ '[' -z geotrekdb ']'
+ grep -q '^geotrekdb|'
+ sudo -n -u postgres -s -- psql -tAl
+ return 0
+ false
+ false
+ sudo apt-get --no-install-recommends install postgis -y
Lecture des listes de paquets…
Construction de l'arbre des dépendances…
Lecture des informations d'état…
postgis is already the newest version (2.2.1+dfsg-2ubuntu0.1).
0 mis à jour, 0 nouvellement installés, 0 à enlever et 141 non mis à jour.
+ check_postgres_connection
+ echo_step 'Check postgres connection settings...'
+ set +x
++ ini_value etc/settings.ini dbname
+++ sed -n 's/^\s*dbname *= *\([^ ]*.*\)/\1/p'
++ echo geotrekdb
+ dbname=geotrekdb
++ ini_value etc/settings.ini dbhost
+++ sed -n 's/^\s*dbhost *= *\([^ ]*.*\)/\1/p'
++ echo localhost
+ dbhost=localhost
++ ini_value etc/settings.ini dbport
+++ sed -n 's/^\s*dbport *= *\([^ ]*.*\)/\1/p'
++ echo 5432
+ dbport=5432
++ ini_value etc/settings.ini dbuser
+++ sed -n 's/^\s*dbuser *= *\([^ ]*.*\)/\1/p'
++ echo geotrek
+ dbuser=geotrek
++ ini_value etc/settings.ini dbpassword
+++ sed -n 's/^\s*dbpassword *= *\([^ ]*.*\)/\1/p'
++ echo geotrek
+ dbpassword=geotrek
+ export PGPASSWORD=geotrek
+ PGPASSWORD=geotrek
+ psql geotrekdb -h localhost -p 5432 -U geotrek -c 'SELECT PostGIS_full_version();'
                                                                           postgis_full_version                                                                            
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 POSTGIS="2.2.1 r14555" GEOS="3.5.0-CAPI-1.9.0 r4084" PROJ="Rel. 4.9.2, 08 September 2015" GDAL="GDAL 1.11.3, released 2015/09/16" LIBXML="2.9.3" LIBJSON="0.11.99" RASTER
(1 row)

+ result=0
+ export PGPASSWORD=
+ PGPASSWORD=
+ '[' '!' 0 -eq 0 ']'
+ echo_step 'Install Geotrek python dependencies...'
+ set +x
+ '[' 1 -eq 1 ']'
+ echo -e '[versions]\nGDAL=1.11.2'
+ '[' 0 -eq 1 ']'
+ false
+ false
+ false
+ true
+ make env_standalone
find . -name "*.orig" -exec rm -f {} \;
find geotrek/ -name "*.pyc" -exec rm -f {} \;
find lib/src/ -name "*.pyc" -exec rm -f {} \;
rm -f install
rm -f .coverage
bin/buildout -c conf/buildout-prod-standalone.cfg -N buildout:directory=/home/geotrek/Geotrek-admin-2.32.3 buildout:user=geotrek
Getting distribution for 'mr.developer==2.0.0'.
Got mr.developer 2.0.0.
Getting distribution for 'six'.
Got six 1.14.0.
mr.developer: Queued 'django-leaflet' for checkout.
mr.developer: Queued 'django-modeltranslation' for checkout.
mr.developer: Cloned 'django-modeltranslation' with git from 'https://github.com/makinacorpus/django-modeltranslation.git'.
mr.developer: Switching to rev '0.12.2+geotrek1'.
mr.developer: Cloned 'django-leaflet' with git from 'https://github.com/GeotrekCE/django-leaflet.git'.
mr.developer: Switching to rev '0.19.0+geotrek4'.
Creating directory '/home/geotrek/Geotrek-admin-2.32.3/lib/parts'.
Creating directory '/home/geotrek/Geotrek-admin-2.32.3/lib/develop-eggs'.
Develop: '/home/geotrek/Geotrek-admin-2.32.3/.'
Develop: '/home/geotrek/Geotrek-admin-2.32.3/lib/src/django-modeltranslation'
Develop: '/home/geotrek/Geotrek-admin-2.32.3/lib/src/django-leaflet'
Getting distribution for 'zc.recipe.egg==2.0.7'.
Got zc.recipe.egg 2.0.7.
Getting distribution for 'djangorecipe==2.2.1'.
warning: no previously-included files found matching 'Makefile'
warning: no previously-included files found matching '*.yml'
warning: no previously-included files found matching 'bootstrap.py'
Got djangorecipe 2.2.1.
Getting distribution for 'Django==1.11.14'.
Got Django 1.11.14.
Getting distribution for 'pytz'.
Got pytz 2019.3.
Getting distribution for 'collective.recipe.genshi==1.0'.
warning: install_lib: 'build/lib' does not exist -- no Python modules to install

zip_safe flag not set; analyzing archive contents...
Got collective.recipe.genshi 1.0.
Getting distribution for 'collective.recipe.template[genshi]==2.1'.
Got collective.recipe.template 2.1.
Getting distribution for 'Genshi==0.7.3'.
Got Genshi 0.7.3.
Getting distribution for 'z3c.recipe.mkdir==0.3.1'.
Got z3c.recipe.mkdir 0.3.1.
Getting distribution for 'collective.recipe.omelette'.
warning: no previously-included files matching '*.pyc' found anywhere in distribution
Got collective.recipe.omelette 0.16.
Unused options for buildout: 'group' 'unzip'.
Installing _mr.developer.
Generated script '/home/geotrek/Geotrek-admin-2.32.3/bin/develop'.
Installing gdal-bindings.
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
extensions/gdal_wrap.cpp: In function ‘void SWIG_Python_SetModule(swig_module_info*)’:
extensions/gdal_wrap.cpp:2535:22: warning: unused variable ‘swig_empty_runtime_method_table’ [-Wunused-variable]
   static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
                      ^
extensions/gdal_wrap.cpp: In function ‘PyObject* _wrap_VirtualMem_GetAddr(PyObject*, PyObject*)’:
extensions/gdal_wrap.cpp:11391:19: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
       buf->format = "B";
                   ^
extensions/gdal_wrap.cpp:11396:19: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
       buf->format = "h";
                   ^
extensions/gdal_wrap.cpp:11401:19: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
       buf->format = "H";
                   ^
extensions/gdal_wrap.cpp:11406:19: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
       buf->format = "i";
                   ^
extensions/gdal_wrap.cpp:11411:19: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
       buf->format = "I";
                   ^
extensions/gdal_wrap.cpp:11416:19: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
       buf->format = "f";
                   ^
extensions/gdal_wrap.cpp:11421:19: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
       buf->format = "F";
                   ^
extensions/gdal_wrap.cpp:11426:19: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
       buf->format = "B";
                   ^
extensions/gdal_wrap.cpp: In function ‘PyObject* _wrap_Band_ComputeStatistics(PyObject*, PyObject*)’:
extensions/gdal_wrap.cpp:15259:10: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
   CPLErr result;
          ^
extensions/gdalconst_wrap.c: In function ‘SWIG_Python_SetModule’:
extensions/gdalconst_wrap.c:2511:22: warning: unused variable ‘swig_empty_runtime_method_table’ [-Wunused-variable]
   static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
                      ^
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
extensions/osr_wrap.cpp: In function ‘void SWIG_Python_SetModule(swig_module_info*)’:
extensions/osr_wrap.cpp:2535:22: warning: unused variable ‘swig_empty_runtime_method_table’ [-Wunused-variable]
   static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
                      ^
extensions/osr_wrap.cpp: At global scope:
extensions/osr_wrap.cpp:2987:14: warning: ‘char* GDALPythonObjectToCStr(PyObject*, int*)’ defined but not used [-Wunused-function]
 static char* GDALPythonObjectToCStr(PyObject* pyObject, int* pbToFree)
              ^
extensions/osr_wrap.cpp:3017:13: warning: ‘void GDALPythonFreeCStr(void*, int)’ defined but not used [-Wunused-function]
 static void GDALPythonFreeCStr(void* ptr, int bToFree)
             ^
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
extensions/ogr_wrap.cpp: In function ‘void SWIG_Python_SetModule(swig_module_info*)’:
extensions/ogr_wrap.cpp:2535:22: warning: unused variable ‘swig_empty_runtime_method_table’ [-Wunused-variable]
   static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
                      ^
Installing django.
Getting distribution for 'gunicorn==19.6.0'.
Got gunicorn 19.6.0.
Getting distribution for 'Paste'.
Got Paste 3.3.0.
Getting distribution for 'python-memcached'.
Got python-memcached 1.59.
Getting distribution for 'raven==6.9.0'.
Got raven 6.9.0.
Getting distribution for 'convertit==2.2.0'.
warning: no files found matching '*.jpg' under directory 'convertit'
warning: no files found matching '*.txt' under directory 'convertit'
warning: no files found matching '*.mak' under directory 'convertit'
warning: no files found matching '*.mako' under directory 'convertit'
warning: no files found matching '*.js' under directory 'convertit'
warning: no files found matching '*.html' under directory 'convertit'
warning: no files found matching '*.xml' under directory 'convertit'
Got convertit 2.2.0.
Getting distribution for 'screamshotter==1.1.2'.
zip_safe flag not set; analyzing archive contents...
Got screamshotter 1.1.2.
Getting distribution for 'django-screamshot==0.8.1'.
Got django-screamshot 0.8.1.
Getting distribution for 'python-magic'.
Got python-magic 0.4.15.
Getting distribution for 'waitress'.
Got waitress 1.4.3.
Getting distribution for 'pyramid_debugtoolbar'.
Got pyramid-debugtoolbar 4.6.1.
Getting distribution for 'pyramid'.
Got pyramid 1.10.4.
Getting distribution for 'factory_boy'.
Got factory-boy 2.12.0.
Getting distribution for 'django-colorfield==0.1.15'.
warning: no previously-included files matching '*.pyc' found under directory '*'
warning: no previously-included files matching '__pycache__' found under directory '*'
warning: no previously-included files matching '.DS_Store' found under directory '*'
zip_safe flag not set; analyzing archive contents...
Got django-colorfield 0.1.15.
Getting distribution for 'drf-extensions==0.3.1'.
Got drf-extensions 0.3.1.
Getting distribution for 'requests[security]==2.22.0'.
Got requests 2.22.0.
Getting distribution for 'django-celery-results==1.0.1'.
Got django-celery-results 1.0.1.
Getting distribution for 'celery==4.3.0'.
Got celery 4.3.0.
Getting distribution for 'redis'.
Got redis 3.4.1.
Getting distribution for 'landez==2.5.0'.
Got landez 2.5.0.
Getting distribution for 'xlrd==0.9.3'.
zip_safe flag not set; analyzing archive contents...
xlrd.__pycache__.xlsx.cpython-35: module references __file__
Got xlrd 0.9.3.
Getting distribution for 'django-embed-video==1.1.2'.
zip_safe flag not set; analyzing archive contents...
embed_video.tests.__pycache__.django_settings.cpython-35: module references __file__
Got django-embed-video 1.1.2.
Getting distribution for 'django-rest-swagger==2.1.2'.
Got django-rest-swagger 2.1.2.
Getting distribution for 'drf-dynamic-fields==0.2.0'.
Got drf-dynamic-fields 0.2.0.
Getting distribution for 'djangorestframework-gis==0.13.0'.
Got djangorestframework-gis 0.13.
Getting distribution for 'mapentity==6.0.5'.
Got mapentity 6.0.5.
Getting distribution for 'tif2geojson==0.1.3'.
Got tif2geojson 0.1.3.
Getting distribution for 'geojson==2.3.0'.
Got geojson 2.3.0.
Getting distribution for 'django-multiselectfield==0.1.8'.
Got django-multiselectfield 0.1.8.
Getting distribution for 'django-extended-choices==1.3'.
Got django-extended-choices 1.3.
Getting distribution for 'pygal==2.0.11'.
zip_safe flag not set; analyzing archive contents...
pygal.__pycache__.svg.cpython-35: module references __file__
Got pygal 2.0.11.
Getting distribution for 'simplekml==1.3.0'.
zip_safe flag not set; analyzing archive contents...
Got simplekml 1.3.0.
Getting distribution for 'easy-thumbnails==2.5.0'.
warning: no files found matching 'AUTHORS'
no previously-included directories found matching 'docs/_build'
Got easy-thumbnails 2.5.
Getting distribution for 'Pillow==6.2.0'.
Got Pillow 6.2.0.
Getting distribution for 'docutils==0.14'.
Got docutils 0.14.
Getting distribution for 'psycopg2==2.7.4'.
Got psycopg2 2.7.4.
Getting distribution for 'django-timedeltafield'.
zip_safe flag not set; analyzing archive contents...
timedelta.__pycache__.__init__.cpython-35: module references __file__
Got django-timedeltafield 0.7.10.
Getting distribution for 'repoze.lru'.
Got repoze.lru 0.7.
Getting distribution for 'pyramid-mako>=0.3.1'.
Got pyramid-mako 1.1.0.
Getting distribution for 'Pygments'.
Got Pygments 2.5.2.
Getting distribution for 'zope.interface>=3.8.0'.
Got zope.interface 4.7.1.
Getting distribution for 'zope.deprecation>=3.5.0'.
Got zope.deprecation 4.4.0.
Getting distribution for 'webob>=1.8.3'.
Got WebOb 1.8.6.
Getting distribution for 'venusian==1.2.0'.
Got venusian 1.2.0.
Getting distribution for 'translationstring>=0.4'.
Got translationstring 1.3.
Getting distribution for 'plaster-pastedeploy'.
Got plaster-pastedeploy 0.7.
Getting distribution for 'plaster'.
Got plaster 1.0.
Getting distribution for 'hupper>=1.5'.
Got hupper 1.9.1.
Getting distribution for 'Faker>=0.7.0'.
Got Faker 4.0.0.
Getting distribution for 'djangorestframework==3.6.4'.
Got djangorestframework 3.6.4.
Getting distribution for 'pyOpenSSL>=0.14'.
Got pyOpenSSL 19.1.0.
Getting distribution for 'idna==2.5'.
Got idna 2.5.
Getting distribution for 'cryptography>=1.3.4'.
Got cryptography 2.8.
Getting distribution for 'urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1'.
Got urllib3 1.25.8.
Getting distribution for 'chardet<3.1.0,>=3.0.2'.
Got chardet 3.0.4.
Getting distribution for 'certifi>=2017.4.17'.
Got certifi 2019.11.28.
Getting distribution for 'vine>=1.3.0'.
Got vine 1.3.0.
Getting distribution for 'kombu<5.0,>=4.4.0'.
Got kombu 4.6.7.
Getting distribution for 'billiard<4.0,>=3.6.0'.
Got billiard 3.6.2.0.
Getting distribution for 'mbutil'.
Got mbutil 0.3.0.
Getting distribution for 'simplejson'.
zip_safe flag not set; analyzing archive contents...
simplejson.__pycache__._speedups.cpython-35: module references __file__
simplejson.tests.__pycache__.__init__.cpython-35: module references __file__
Got simplejson 3.17.0.
Getting distribution for 'openapi-codec>=1.3.1'.
warning: no previously-included files matching '__pycache__' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.pyo' found anywhere in distribution
zip_safe flag not set; analyzing archive contents...
Got openapi-codec 1.3.2.
Getting distribution for 'coreapi>=2.3.0'.
Got coreapi 2.3.3.
Getting distribution for 'WeasyPrint==51'.
Got WeasyPrint 51.
Getting distribution for 'paperclip==2.2.2'.
Got paperclip 2.2.2.
Getting distribution for 'lxml==4.2.1'.
Got lxml 4.2.1.
Getting distribution for 'django-weasyprint==0.5.4'.
Got django-weasyprint 0.5.4.
Getting distribution for 'django-tinymce==2.6.0'.
Got django-tinymce 2.6.0.
Getting distribution for 'django-geojson==2.11.0'.
Got django-geojson 2.11.0.
Getting distribution for 'django-filter==2.2.0'.
Got django-filter 2.2.0.
Getting distribution for 'django-crispy-forms==1.7.2'.
Got django-crispy-forms 1.7.2.
Getting distribution for 'django-compressor==2.2'.
Got django-compressor 2.2.
Getting distribution for 'appy-python-3==2019.11.19'.
package init file 'appy/test/__init__.py' not found (or not a regular file)
package init file 'appy/pod/test/images/__init__.py' not found (or not a regular file)
package init file 'appy/pod/test/results/__init__.py' not found (or not a regular file)
package init file 'appy/pod/test/templates/__init__.py' not found (or not a regular file)
package init file 'appy/ui/static/__init__.py' not found (or not a regular file)
package init file 'appy/ui/static/ckeditor/__init__.py' not found (or not a regular file)
package init file 'appy/ui/static/jscalendar/__init__.py' not found (or not a regular file)
package init file 'appy/ui/static/jscalendar/lang/__init__.py' not found (or not a regular file)
package init file 'appy/ui/static/jscalendar/skins/__init__.py' not found (or not a regular file)
package init file 'appy/ui/static/jscalendar/skins/tiger/__init__.py' not found (or not a regular file)
package init file 'appy/ui/static/jscalendar/skins/aqua/__init__.py' not found (or not a regular file)
zip_safe flag not set; analyzing archive contents...
appy.__pycache__.__init__.cpython-35: module references __file__
appy.bin.__pycache__.lo.cpython-35: module references __file__
appy.data.__pycache__.__init__.cpython-35: module references __file__
appy.pod.__pycache__.doc_importers.cpython-35: module references __file__
appy.pod.__pycache__.renderer.cpython-35: module references __file__
appy.pod.test.contexts.__pycache__.FileHandlerImport.cpython-35: module references __file__
appy.pod.test.contexts.__pycache__.ImagesImport.cpython-35: module references __file__
appy.pod.test.contexts.__pycache__.PathImport.cpython-35: module references __file__
appy.tr.po.__pycache__.__init__.cpython-35: module references __file__
Got appy-python-3 2019.11.19.
Getting distribution for 'django-appypod==2.0.2'.
Got django-appypod 2.0.2.
Getting distribution for 'gpxpy==1.1.2'.
zip_safe flag not set; analyzing archive contents...
Got gpxpy 1.1.2.
Getting distribution for 'BeautifulSoup4==4.6.0'.
Got beautifulsoup4 4.6.0.
Getting distribution for 'xmltodict'.
Got xmltodict 0.12.0.
Getting distribution for 'future'.
warning: no files found matching '*.au' under directory 'tests'
warning: no files found matching '*.gif' under directory 'tests'
warning: no files found matching '*.txt' under directory 'tests'
zip_safe flag not set; analyzing archive contents...
future.backports.test.__pycache__.ssl_servers.cpython-35: module references __file__
future.backports.test.__pycache__.support.cpython-35: module references __file__
future.standard_library.__pycache__.__init__.cpython-35: module references __file__
future.standard_library.__pycache__.__init__.cpython-35: module references __path__
future.utils.__pycache__.__init__.cpython-35: module MAY be using inspect.stack
past.builtins.__pycache__.misc.cpython-35: module MAY be using inspect.stack
past.translation.__pycache__.__init__.cpython-35: module references __file__
past.translation.__pycache__.__init__.cpython-35: module references __path__
Got future 0.18.2.
Getting distribution for 'Mako>=1.1.0'.
warning: no files found matching '*.mako' under directory 'doc'
warning: no files found matching '*.xml' under directory 'examples'
warning: no files found matching '*.mako' under directory 'examples'
no previously-included directories found matching 'doc/build/output'
Got Mako 1.1.1.
Getting distribution for 'PasteDeploy>=2.0'.
Got PasteDeploy 2.1.0.
Getting distribution for 'text-unidecode==1.3'.
Got text-unidecode 1.3.
Getting distribution for 'python-dateutil>=2.4'.
Got python-dateutil 2.8.1.
Getting distribution for 'cffi==1.11.2'.
Got cffi 1.11.2.
Getting distribution for 'importlib-metadata>=0.18'.
Got importlib-metadata 1.5.0.
Getting distribution for 'amqp<2.6,>=2.5.2'.
Got amqp 2.5.2.
Getting distribution for 'uritemplate'.
Got uritemplate 3.0.1.
Getting distribution for 'itypes'.
zip_safe flag not set; analyzing archive contents...
Got itypes 1.1.0.
Getting distribution for 'coreschema'.
zip_safe flag not set; analyzing archive contents...
Got coreschema 0.0.4.
Getting distribution for 'tinycss2>=1.0.0'.
Got tinycss2 1.0.2.
Getting distribution for 'html5lib==0.999999999'.
Got html5lib 0.999999999.
Getting distribution for 'cssselect2>=0.1'.
Got cssselect2 0.2.2.
Getting distribution for 'cairocffi==0.9.0'.
warning: no previously-included files found matching 'setup.pyc'
warning: no previously-included files matching 'yacctab.*' found under directory 'tests'
warning: no previously-included files matching 'lextab.*' found under directory 'tests'
warning: no previously-included files matching 'yacctab.*' found under directory 'examples'
warning: no previously-included files matching 'lextab.*' found under directory 'examples'
zip_safe flag not set; analyzing archive contents...
pycparser.ply.__pycache__.lex.cpython-35: module references __file__
pycparser.ply.__pycache__.lex.cpython-35: module MAY be using inspect.getsourcefile
pycparser.ply.__pycache__.yacc.cpython-35: module references __file__
pycparser.ply.__pycache__.yacc.cpython-35: module MAY be using inspect.getsourcefile
pycparser.ply.__pycache__.yacc.cpython-35: module MAY be using inspect.stack
pycparser.ply.__pycache__.ygen.cpython-35: module references __file__

Installed /tmp/easy_install-mfvst3ig/cairocffi-0.9.0/.eggs/pycparser-2.19-py3.5.egg
/tmp/easy_install-mfvst3ig/cairocffi-0.9.0/.eggs/cffi-1.14.0-py3.5-linux-x86_64.egg/cffi/cparser.py:153: UserWarning: String literal found in cdef() or type source. String literals are ignored here, but you should remove them anyway because some character sequences confuse pre-parsing.
  warnings.warn("String literal found in cdef() or type source. "
/tmp/easy_install-mfvst3ig/cairocffi-0.9.0/.eggs/cffi-1.14.0-py3.5-linux-x86_64.egg/cffi/cparser.py:164: UserWarning: Global variable 'CAIRO_TAG_DEST' in cdef(): for consistency with C it should have a storage class specifier (usually 'extern')
  "(usually 'extern')" % (decl.name,))
/tmp/easy_install-mfvst3ig/cairocffi-0.9.0/.eggs/cffi-1.14.0-py3.5-linux-x86_64.egg/cffi/cparser.py:164: UserWarning: Global variable 'CAIRO_TAG_LINK' in cdef(): for consistency with C it should have a storage class specifier (usually 'extern')
  "(usually 'extern')" % (decl.name,))
no previously-included directories found matching 'docs/_build'
warning: no previously-included files found matching 'cairocffi/_ffi*.py'
file cairocffi/_ffi.py (for module cairocffi._ffi) not found
file cairocffi/_ffi_pixbuf.py (for module cairocffi._ffi_pixbuf) not found
file cairocffi/_ffi.py (for module cairocffi._ffi) not found
file cairocffi/_ffi_pixbuf.py (for module cairocffi._ffi_pixbuf) not found
zip_safe flag not set; analyzing archive contents...
cairocffi.__pycache__.ffi_build.cpython-35: module references __file__
Got cairocffi 0.9.0.
Getting distribution for 'Pyphen>=0.9.1'.
Got Pyphen 0.9.5.
Getting distribution for 'CairoSVG==2.4.2'.
Got CairoSVG 2.4.2.
Getting distribution for 'rjsmin==1.0.12'.
data_files contains unexpected objects
zip_safe flag not set; analyzing archive contents...
__pycache__._rjsmin.cpython-35: module references __file__
Got rjsmin 1.0.12.
Getting distribution for 'rcssmin==1.0.6'.
data_files contains unexpected objects
zip_safe flag not set; analyzing archive contents...
__pycache__._rcssmin.cpython-35: module references __file__
Got rcssmin 1.0.6.
Getting distribution for 'django-appconf>=1.0'.
Got django-appconf 1.0.3.
Getting distribution for 'MarkupSafe>=0.9.2'.
Got MarkupSafe 1.1.1.
Getting distribution for 'pycparser'.
warning: no previously-included files found matching 'setup.pyc'
warning: no previously-included files matching 'yacctab.*' found under directory 'tests'
warning: no previously-included files matching 'lextab.*' found under directory 'tests'
warning: no previously-included files matching 'yacctab.*' found under directory 'examples'
warning: no previously-included files matching 'lextab.*' found under directory 'examples'
zip_safe flag not set; analyzing archive contents...
pycparser.ply.__pycache__.lex.cpython-35: module references __file__
pycparser.ply.__pycache__.lex.cpython-35: module MAY be using inspect.getsourcefile
pycparser.ply.__pycache__.yacc.cpython-35: module references __file__
pycparser.ply.__pycache__.yacc.cpython-35: module MAY be using inspect.getsourcefile
pycparser.ply.__pycache__.yacc.cpython-35: module MAY be using inspect.stack
pycparser.ply.__pycache__.ygen.cpython-35: module references __file__
Got pycparser 2.19.
Getting distribution for 'zipp>=0.5'.
zip_safe flag not set; analyzing archive contents...
While:
  Installing django.
  Getting distribution for 'zipp>=0.5'.

An internal error occurred due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
  File "/home/geotrek/Geotrek-admin-2.32.3/lib/python3.5/site-packages/zc/buildout/buildout.py", line 2174, in main
    getattr(buildout, command)(args)
  File "/home/geotrek/Geotrek-admin-2.32.3/lib/python3.5/site-packages/zc/buildout/buildout.py", line 817, in install
    installed_files = self[part]._call(recipe.install)
  File "/home/geotrek/Geotrek-admin-2.32.3/lib/python3.5/site-packages/zc/buildout/buildout.py", line 1603, in _call
    return f()
  File "/home/geotrek/Geotrek-admin-2.32.3/lib/eggs/djangorecipe-2.2.1-py3.5.egg/djangorecipe/recipe.py", line 82, in install
    ws = self.egg.working_set(['djangorecipe'])[1]
  File "/home/geotrek/Geotrek-admin-2.32.3/lib/eggs/zc.recipe.egg-2.0.7-py3.5.egg/zc/recipe/egg/egg.py", line 87, in working_set
    allow_unknown_extras=bool_option(buildout_section, 'allow-unknown-extras')
  File "/home/geotrek/Geotrek-admin-2.32.3/lib/eggs/zc.recipe.egg-2.0.7-py3.5.egg/zc/recipe/egg/egg.py", line 168, in _working_set
    allow_unknown_extras=allow_unknown_extras)
  File "/home/geotrek/Geotrek-admin-2.32.3/lib/python3.5/site-packages/zc/buildout/easy_install.py", line 957, in install
    return installer.install(specs, working_set)
  File "/home/geotrek/Geotrek-admin-2.32.3/lib/python3.5/site-packages/zc/buildout/easy_install.py", line 730, in install
    for dist in self._get_dist(req, ws):
  File "/home/geotrek/Geotrek-admin-2.32.3/lib/python3.5/site-packages/zc/buildout/easy_install.py", line 574, in _get_dist
    dists = [_move_to_eggs_dir_and_compile(dist, self._dest)]
  File "/home/geotrek/Geotrek-admin-2.32.3/lib/python3.5/site-packages/zc/buildout/easy_install.py", line 1776, in _move_to_eggs_dir_and_compile
    assert newdist is not None  # newloc above is missing our dist?!
AssertionError
Makefile:63 : la recette pour la cible « env_standalone » a échouée
make: *** [env_standalone] Erreur 1
+ success=2
+ '[' 2 -ne 0 ']'
+ exit_error 3 'Could not setup python environment !'
+ code=3
+ shift
+ echo_error 'Could not setup python environment !'
+ set +x
+ echo '(More details in install.log)'
(More details in install.log)
+ exit 3

Merci,

mviadere-openig commented 4 years ago

En voulant mettre à jour un Geotrek-admin à cette version ce matin j'ai rencontré le même souci. Je pense que le mieux c'est d'ouvrir un nouvel issue pour plus de visibilité ?

camillemonchicourt commented 4 years ago

@relaire, si il s'agit bien de la même erreur que https://github.com/GeotrekCE/Geotrek-admin/issues/2142, alors le problème venait d'une version de dépendance sur Ubuntu 16 (https://github.com/GeotrekCE/Geotrek-admin/pull/2143/commits/738f5c0983cbbae7d44afe19684af4be1b8b3620) et elle a été fixée dans la version 2.32.4 (https://github.com/GeotrekCE/Geotrek-admin/releases/tag/2.32.4)

thomasmagninfeysot commented 4 years ago

Salut à tous, Je suis en train de faire mon upgrade sur mon nouveau serveur. Dans un premier, j'ai testé une migration de serveur conformément à la doc sur la même version. J'ai eu un problème de "Could not setup Python Environment" lors de l'install avec dans le log l'erreur suivante : ValueError: need more than 0 values to unpack Makefile:63: recipe for target 'env_standalone' failed J'vais déjà cette erreur et Gaël m'vait recommandé d'upgrader sur une version supérieur à la 2.32.3 : https://github.com/GeotrekCE/Geotrek-admin/issues/2154

J'ai donc testé une install en 2.32.5 et j'ai à nouveau un "Could not setup Python Environment" avec ce coup-ci l'erreur qu'avait eu Camille : UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe7 in position 1579: invalid continuation byte Makefile:63: recipe for target 'env_standalone' failed

J'ai vérifié locale et tout est ok : LANG=C.UTF-8 LANGUAGE= LC_CTYPE="C.UTF-8" LC_NUMERIC="C.UTF-8" LC_TIME="C.UTF-8" LC_COLLATE="C.UTF-8" LC_MONETARY="C.UTF-8" LC_MESSAGES="C.UTF-8" LC_PAPER="C.UTF-8" LC_NAME="C.UTF-8" LC_ADDRESS="C.UTF-8" LC_TELEPHONE="C.UTF-8" LC_MEASUREMENT="C.UTF-8" LC_IDENTIFICATION="C.UTF-8" LC_ALL=

Idem pour locale charmap : UTF-8

J'ai vérifié aussi dans settings.ini si j'avais pas de caractère spéciaux et tout est bon. En relançant à nouveau l'install, j'ai systématiquement cette erreur.

Une idée d'où ça peut venir ?

thomasmagninfeysot commented 4 years ago

Bon j'avais mal regarder j'avais également un caractère spéciaux. dans settings.ini... Ca a fonctionné, Désolé du dérangement Thomas