GeotrekCE / Geotrek-admin

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

Erreur lors de la synchro geotrek rando. AssertionError ? #2807

Closed relaire closed 2 years ago

relaire commented 3 years ago

Bonjour, Depuis quelques jours, nous avons des erreurs qui apparaissent lors de la synchro sur une vingtaine de circuit. Mais malgré cette erreur, tous les sentiers sont publiés sur et à jour sur le portail. Vu l'historique, cela viendrait à priori de modifications faites sur le sentiers, mais on arrive pas à savoir lesquelles, et surtout les corriger ...

Voici le code d'erreur : `Request on http://localhost:8000/?url=https%3A//geotrek-admin.parc-livradois-forez.org/trek/15/%3Flang%3Dfr%26context%3D%257B%2522mapsize%2522%253A%2520%257B%2522width%2522%253A%2520924%252C%2520%2522height%2522%253A%2520924.0%257D%252C%2520%2522print%2522%253A%2520true%252C%2520%2522maplayers%2522%253A%2520%255B%2522IGN%2520Scan%2522%252C%2520%2522Zone%2520de%2520sensibilit%255Cu00e9%2522%252C%2520%2522POIs%2522%252C%2520%2522Services%2522%252C%2520%2522Signal%255Cu00e9tiques%2522%252C%2520%2522Am%255Cu00e9nagements%2522%255D%257D&selector=.map-panel&waitfor=.poi_enum_loaded.services_loaded.info_desks_loaded.ref_points_loaded failed (status=500)

AssertionError Request on http://localhost:8000/?url=https%3A//geotrek-admin.parc-livradois-forez.org/trek/15/%3Flang%3Dfr%26context%3D%257B%2522mapsize%2522%253A%2520%257B%2522width%2522%253A%2520924%252C%2520%2522height%2522%253A%2520924.0%257D%252C%2520%2522print%2522%253A%2520true%252C%2520%2522maplayers%2522%253A%2520%255B%2522IGN%2520Scan%2522%252C%2520%2522Zone%2520de%2520sensibilit%255Cu00e9%2522%252C%2520%2522POIs%2522%252C%2520%2522Services%2522%252C%2520%2522Signal%255Cu00e9tiques%2522%252C%2520%2522Am%255Cu00e9nagements%2522%255D%257D&selector=.map-panel&waitfor=.poi_enum_loaded.services_loaded.info_desks_loaded.ref_points_loaded failed (status=500)

Django Version: 3.1.13 Python Executable: /opt/geotrek-admin/bin/python Python Version: 3.6.9 Python Path: ['/opt/geotrek-admin/bin/python', '/home/geotrek', '/opt/geotrek-admin/bin/python', '/opt/geotrek-admin/bin', '/usr/lib/python36.zip', '/usr/lib/python3.6', '/usr/lib/python3.6/lib-dynload', '/opt/geotrek-admin/lib/python3.6/site-packages'] Server time: Wed, 03 Nov 2021 11:13:55 +0100 Installed Applications: ('modeltranslation', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.admin', 'django.contrib.admindocs', 'django.contrib.gis', 'crispy_forms', 'compressor', 'djgeojson', 'django_filters', 'tinymce', 'easy_thumbnails', 'mapentity', 'paperclip', 'leaflet', 'rest_framework', 'rest_framework_gis', 'embed_video', 'django_celery_results', 'colorfield', 'mptt', 'geotrek.cirkwi', 'geotrek.authent', 'geotrek.common', 'geotrek.altimetry', 'geotrek.core', 'geotrek.infrastructure', 'geotrek.signage', 'geotrek.maintenance', 'geotrek.zoning', 'geotrek.land', 'geotrek.trekking', 'geotrek.tourism', 'geotrek.flatpages', 'geotrek.feedback', 'geotrek.api') Installed Middleware: ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'geotrek.authent.middleware.LocaleForcedMiddleware', 'django.middleware.locale.LocaleMiddleware', 'geotrek.common.middleware.APILocaleMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'geotrek.authent.middleware.CorsMiddleware', 'mapentity.middleware.AutoLoginMiddleware')

Traceback (most recent call last): File "/opt/geotrek-admin/lib/python3.6/site-packages/mapentity/helpers.py", line 139, in download_to_stream source = get_source(url, headers) File "/opt/geotrek-admin/lib/python3.6/site-packages/mapentity/helpers.py", line 124, in get_source assert source.status_code == 200, status_error

Exception Type: AssertionError Exception Value: Request on http://localhost:8000/?url=https%3A//geotrek-admin.parc-livradois-forez.org/trek/15/%3Flang%3Dfr%26context%3D%257B%2522mapsize%2522%253A%2520%257B%2522width%2522%253A%2520924%252C%2520%2522height%2522%253A%2520924.0%257D%252C%2520%2522print%2522%253A%2520true%252C%2520%2522maplayers%2522%253A%2520%255B%2522IGN%2520Scan%2522%252C%2520%2522Zone%2520de%2520sensibilit%255Cu00e9%2522%252C%2520%2522POIs%2522%252C%2520%2522Services%2522%252C%2520%2522Signal%255Cu00e9tiques%2522%252C%2520%2522Am%255Cu00e9nagements%2522%255D%257D&selector=.map-panel&waitfor=.poi_enum_loaded.services_loaded.info_desks_loaded.ref_points_loaded failed (status=500) Request data not supplied

Settings: Using settings module geotrek.settings ABSOLUTE_URL_OVERRIDES = {} ADMINS = "(('admin1', 'r.laire@parc-livradois-forez.org'), ('admin2', 'sebastien.giraud@vacances-livradois-forez.fr'))" ADMIN_MEDIA_PREFIX = '/static/admin/' ALLOWED_HOSTS = ['geotrek-admin.parc-livradois-forez.org'] ALTIMETRIC_AREA_MARGIN = 0.15 ALTIMETRIC_AREA_MAX_RESOLUTION = 150 ALTIMETRIC_PROFILE_AVERAGE = 5 ALTIMETRIC_PROFILE_BACKGROUND = 'white' ALTIMETRIC_PROFILE_COLOR = '#F77E00' ALTIMETRIC_PROFILE_FONT = 'ubuntu' ALTIMETRIC_PROFILE_FONTSIZE = 25 ALTIMETRIC_PROFILE_HEIGHT = 400 ALTIMETRIC_PROFILE_MIN_YSCALE = 1200 ALTIMETRIC_PROFILE_PRECISION = 25 ALTIMETRIC_PROFILE_STEP = 10 ALTIMETRIC_PROFILE_WIDTH = 800 API_IS_PUBLIC = '****' API_SRID = '****' APPEND_SLASH = True AUTHENTICATION_BACKENDS = "('django.contrib.auth.backends.ModelBackend',)" AUTHENT_DATABASE = None AUTHENT_GROUPS_MAPPING = {'PATH_MANAGER': 1, 'TREKKING_MANAGER': 2, 'EDITOR': 3, 'READER': 4} AUTHENT_TABLENAME = None AUTH_PASSWORD_VALIDATORS = '****' AUTH_USER_MODEL = 'auth.User' BLADE_CODE_FORMAT = '{signagecode}-{bladenumber}' BLADE_CODE_TYPE = <class 'int'> CACHES = {'default': {'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', 'TIMEOUT': 28800, 'LOCATION': 'memcached:11211'}, 'fat': {'BACKEND': 'django.core.cache.backends.filebased.FileBasedCache', 'LOCATION': '/opt/geotrek-admin/var/cache', 'TIMEOUT': 28800}} CACHE_MIDDLEWARE_ALIAS = 'default' CACHE_MIDDLEWARE_KEY_PREFIX = '****' CACHE_MIDDLEWARE_SECONDS = 600 CACHE_ROOT = '/opt/geotrek-admin/var/cache' CACHE_TIMEOUT_LAND_LAYERS = 86400 CAPTURE_AUTOLOGIN_TOKEN = '****' COLORS_POOL = {'land': ['#f37e79', '#7998f3', '#bbf379', '#f379df', '#f3bf79', '#9c79f3', '#7af379'], 'physical': ['#f3799d', '#79c1f3', '#e4f379', '#de79f3', '#79f3ba', '#f39779', '#797ff3'], 'competence': ['#a2f379', '#f379c6', '#79e9f3', '#f3d979', '#b579f3', '#79f392', '#f37984'], 'signagemanagement': ['#79a8f3', '#cbf379', '#f379ee', '#79f3e3', '#79f3d3'], 'workmanagement': ['#79a8f3', '#cbf379', '#f379ee', '#79f3e3', '#79f3d3'], 'restrictedarea': ['plum', 'violet', 'deeppink', 'orchid', 'darkviolet', 'lightcoral', 'palevioletred', 'MediumVioletRed', 'MediumOrchid', 'Magenta', 'LightSalmon', 'HotPink', 'Fuchsia']} COLUMNS_LISTS = {} COMPLETENESS_FIELDS = {'trek': ['practice', 'departure', 'duration', 'difficulty', 'description_teaser'], 'dive': ['practice', 'difficulty', 'description_teaser']} COMPRESSORS = {'css': 'compressor.css.CssCompressor', 'js': 'compressor.js.JsCompressor'} COMPRESS_CACHEABLE_PRECOMPILERS = '()' COMPRESS_CACHE_BACKEND = 'default' COMPRESS_CACHE_KEY_FUNCTION = '****' COMPRESS_CLEAN_CSS_ARGUMENTS = '' COMPRESS_CLEAN_CSS_BINARY = 'cleancss' COMPRESS_CLOSURE_COMPILER_ARGUMENTS = '' COMPRESS_CLOSURE_COMPILER_BINARY = 'java -jar compiler.jar' COMPRESS_CSS_HASHING_METHOD = 'mtime' COMPRESS_DATA_URI_MAX_SIZE = 1024 COMPRESS_DEBUG_TOGGLE = None COMPRESS_ENABLED = True COMPRESS_FILTERS = {'css': ['compressor.filters.css_default.CssAbsoluteFilter'], 'js': ['compressor.filters.jsmin.JSMinFilter']} COMPRESS_JINJA2_GET_ENVIRONMENT = <function CompressorConf.JINJA2_GET_ENVIRONMENT at 0x7f8334544b70> COMPRESS_MINT_DELAY = 30 COMPRESS_MTIME_DELAY = 10 COMPRESS_OFFLINE = False COMPRESS_OFFLINE_CONTEXT = {'STATIC_URL': '/static/'} COMPRESS_OFFLINE_MANIFEST = 'manifest.json' COMPRESS_OFFLINE_TIMEOUT = 31536000 COMPRESS_OUTPUT_DIR = 'CACHE' COMPRESS_PARSER = 'compressor.parser.HtmlParser' COMPRESS_PRECOMPILERS = '()' COMPRESS_REBUILD_TIMEOUT = 2592000 COMPRESS_ROOT = '/opt/geotrek-admin/var/static' COMPRESS_STORAGE = 'compressor.storage.CompressorFileStorage' COMPRESS_TEMPLATE_FILTER_CONTEXT = {'STATIC_URL': '/static/'} COMPRESS_URL = '/static/' COMPRESS_URL_PLACEHOLDER = '/compressor_url_placeholder/' COMPRESS_VERBOSE = False COMPRESS_YUGLIFY_BINARY = 'yuglify' COMPRESS_YUGLIFY_CSS_ARGUMENTS = '--terminal' COMPRESS_YUGLIFY_JS_ARGUMENTS = '--terminal' COMPRESS_YUI_BINARY = 'java -jar yuicompressor.jar' COMPRESS_YUI_CSS_ARGUMENTS = '' COMPRESS_YUI_JS_ARGUMENTS = '' COURSE_MODEL_ENABLED = True CRISPY_ALLOWED_TEMPLATE_PACKS = "('bootstrap', 'bootstrap3', 'bootstrap4')" CRISPY_TEMPLATE_PACK = 'bootstrap4' CSRF_COOKIE_AGE = 31449600 CSRF_COOKIE_DOMAIN = None CSRF_COOKIE_HTTPONLY = False CSRF_COOKIE_NAME = 'csrftoken' CSRF_COOKIE_PATH = '/' CSRF_COOKIE_SAMESITE = 'Lax' CSRF_COOKIE_SECURE = False CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure' CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN' CSRF_TRUSTED_ORIGINS = [] CSRF_USE_SESSIONS = False DATABASES = {'default': {'ENGINE': 'django.contrib.gis.db.backends.postgis', 'NAME': 'geotrekdb', 'USER': 'geotrek', 'PASSWORD': '****', 'HOST': 'localhost', 'PORT': '5432', 'OPTIONS': {'options': '-c search_path=public'}, 'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'TIME_ZONE': None, 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}}} DATABASE_ROUTERS = [] DATABASE_SCHEMAS = {} DATA_UPLOAD_MAX_MEMORY_SIZE = 2621440 DATA_UPLOAD_MAX_NUMBER_FIELDS = 1000 DATETIME_FORMAT = 'N j, Y, P' DATETIME_INPUT_FORMATS = ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M'] DATE_FORMAT = 'N j, Y' DATE_INPUT_FORMATS = "('%d/%m/%Y',)" DEBUG = False DEBUG_PROPAGATE_EXCEPTIONS = False DECIMAL_SEPARATOR = '.' DEFAULT_CHARSET = 'utf-8' DEFAULT_EXCEPTION_REPORTER = 'django.views.debug.ExceptionReporter' DEFAULT_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter' DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage' DEFAULT_FROM_EMAIL = 'no-reply@parc-livradois-forez.org' DEFAULT_HASHING_ALGORITHM = 'sha256' DEFAULT_INDEX_TABLESPACE = '' DEFAULT_STRUCTURE_NAME = 'PNRLF' DEFAULT_TABLESPACE = '' DISALLOWED_USER_AGENTS = [] DISPLAY_COORDS_AS_DECIMALS = False DISPLAY_SRID = 3857 DIVE_CATEGORY_ORDER = 10 DIVE_MODEL_ENABLED = True DIVING_INTERSECTION_MARGIN = 500 DOT_ENV_FILE = '/opt/geotrek-admin/var/conf/env' EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' EMAIL_HOST = 'mail.parc-livradois-forez.org' EMAIL_HOST_PASSWORD = '****' EMAIL_HOST_USER = '' EMAIL_PORT = 25 EMAIL_SSL_CERTFILE = None EMAIL_SSL_KEYFILE = '****' EMAIL_SUBJECT_PREFIX = '[Geotrek] ' EMAIL_TIMEOUT = None EMAIL_USE_LOCALTIME = False EMAIL_USE_SSL = False EMAIL_USE_TLS = True EMBED_VIDEO_BACKENDS = "('embed_video.backends.YoutubeBackend', 'geotrek.common.embed.backends.DailymotionBackend', 'embed_video.backends.VimeoBackend', 'embed_video.backends.SoundCloudBackend')" ENABLED_MOBILE_FILTERS = ['practice', 'difficulty', 'duration', 'ascent', 'lengths', 'themes', 'route', 'districts', 'cities', 'accessibilities'] ENABLE_JOBS_COSTS_DETAILED_EXPORT = False ENV = 'prod' EXPORT_HEADER_IMAGE_SIZE = {'trek': (10.7, 5.35), 'poi': (10.7, 5.35), 'dive': (10.7, 5.35), 'touristiccontent': (10.7, 5.35), 'touristicevent': (10.7, 5.35), 'site': (10.7, 5.35), 'course': (10.7, 5.35)} EXPORT_MAP_IMAGE_SIZE = {'dive': (18.2, 18.2), 'trek': (18.2, 18.2), 'poi': (18.2, 18.2), 'touristiccontent': (18.2, 18.2), 'touristicevent': (18.2, 18.2), 'site': (18.2, 18.2), 'course': (18.2, 18.2)} FACEBOOK_APP_ID = '' FACEBOOK_IMAGE = '/images/logo-geotrek.png' FACEBOOK_IMAGE_HEIGHT = 200 FACEBOOK_IMAGE_WIDTH = 200 FILE_UPLOAD_DIRECTORY_PERMISSIONS = None FILE_UPLOAD_HANDLERS = ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440 FILE_UPLOAD_PERMISSIONS = 420 FILE_UPLOAD_TEMP_DIR = None FIRST_DAY_OF_WEEK = 0 FIXTURE_DIRS = [] FLATPAGES_ENABLED = True FORCED_LAYERS = [] FORCE_SCRIPT_NAME = None FORMAT_MODULE_PATH = None FORM_RENDERER = 'django.forms.renderers.DjangoTemplates' HIDDEN_FORM_FIELDS = {'report': {'status', 'locked', 'origin', 'uid'}} HIDDEN_OPTION = 3.14 HIDE_PUBLISHED_TREKS_IN_TOPOLOGIES = False IGNORABLE_404_URLS = [] INFRASTRUCTURE_MODEL_ENABLED = True INSTALLED_APPS = "('modeltranslation', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.admin', 'django.contrib.admindocs', 'django.contrib.gis', 'crispy_forms', 'compressor', 'djgeojson', 'django_filters', 'tinymce', 'easy_thumbnails', 'mapentity', 'paperclip', 'leaflet', 'rest_framework', 'rest_framework_gis', 'embed_video', 'django_celery_results', 'colorfield', 'mptt', 'geotrek.cirkwi', 'geotrek.authent', 'geotrek.common', 'geotrek.altimetry', 'geotrek.core', 'geotrek.infrastructure', 'geotrek.signage', 'geotrek.maintenance', 'geotrek.zoning', 'geotrek.land', 'geotrek.trekking', 'geotrek.tourism', 'geotrek.flatpages', 'geotrek.feedback', 'geotrek.api')" INTERNAL_IPS = [] INTERVENTION_INTERSECTION_MARGIN = 500 INTERVENTION_MODEL_ENABLED = True ITINERANCY_CATEGORY_ORDER = 2 LANDEDGE_MODEL_ENABLED = True LAND_BBOX_AREAS_ENABLED = False LAND_BBOX_CITIES_ENABLED = True LAND_BBOX_DISTRICTS_ENABLED = True LANGUAGES = "(('en', 'English'), ('fr', 'French'), ('it', 'Italian'), ('es', 'Spanish'))" LANGUAGES_BIDI = ['he', 'ar', 'ar-dz', 'fa', 'ur'] LANGUAGES_LIST = [('af', 'Afrikaans'), ('ar', 'Arabic'), ('ar-dz', 'Algerian Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('dsb', 'Lower Sorbian'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-co', 'Colombian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gd', 'Scottish Gaelic'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hsb', 'Upper Sorbian'), ('hu', 'Hungarian'), ('hy', 'Armenian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('ig', 'Igbo'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kab', 'Kabyle'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('ky', 'Kyrgyz'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmål'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('tg', 'Tajik'), ('th', 'Thai'), ('tk', 'Turkmen'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('uz', 'Uzbek'), ('vi', 'Vietnamese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese')] LANGUAGE_CODE = 'fr' LANGUAGE_COOKIE_AGE = None LANGUAGE_COOKIE_DOMAIN = None LANGUAGE_COOKIE_HTTPONLY = False LANGUAGE_COOKIE_NAME = 'django_language' LANGUAGE_COOKIE_PATH = '/' LANGUAGE_COOKIE_SAMESITE = None LANGUAGE_COOKIE_SECURE = False LAYER_PRECISION_LAND = 4 LAYER_SIMPLIFY_LAND = 10 LEAFLET_CONFIG = {'SRID': 3857, 'TILES': [('IGN Scan', '//wxs.ign.fr/37m8ajs3hlxdco92ed5uj7rc/wmts?LAYER=GEOGRAPHICALGRIDSYSTEMS.MAPS&EXCEPTIONS=text/xml&FORMAT=image/jpeg&SERVICE=WMTS&VERSION=1.0.0&REQUEST=GetTile&STYLE=normal&TILEMATRIXSET=PM&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}', '© IGN Geoportail'), ('IGN Scan Express', '//wxs.ign.fr/37m8ajs3hlxdco92ed5uj7rc/wmts?LAYER=GEOGRAPHICALGRIDSYSTEMS.MAPS.SCAN-EXPRESS.STANDARD&EXCEPTIONS=text/xml&FORMAT=image/jpeg&SERVICE=WMTS&VERSION=1.0.0&REQUEST=GetTile&STYLE=normal&TILEMATRIXSET=PM&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}', '© IGN Geoportail'), ('IGN Ortho', '//wxs.ign.fr/37m8ajs3hlxdco92ed5uj7rc/wmts?LAYER=ORTHOIMAGERY.ORTHOPHOTOS&EXCEPTIONS=text/xml&FORMAT=image/jpeg&SERVICE=WMTS&VERSION=1.0.0&REQUEST=GetTile&STYLE=normal&TILEMATRIXSET=PM&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}', '© IGN Geoportail'), ('IGN Cadastre', '//wxs.ign.fr/37m8ajs3hlxdco92ed5uj7rc/wmts?LAYER=CADASTRALPARCELS.PARCELS&EXCEPTIONS=text/xml&FORMAT=image/png&SERVICE=WMTS&VERSION=1.0.0&REQUEST=GetTile&STYLE=bdparcellaire_o&TILEMATRIXSET=PM&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}', '© IGN Geoportail'), ('OpenStreetMap', 'http://{s}.tile.osm.org/{z}/{x}/{y}.png', '(c) OpenStreetMap Contributors'), ('OpenTopoMap', 'http://a.tile.opentopomap.org/{z}/{x}/{y}.png', 'map data: (c) OpenStreetMap contributors, SRTM | map style: (c) OpenTopoMap (CC-BY-SA)'), ('OSM-Mapbox', 'http://{s}.tiles.mapbox.com/v3/landplanner.map-xswoybbb/{z}/{x}/{y}.png', '(c) MapBox'), ('Ortho', 'http://gpp3-wxs.ign.fr/wbodf02g84h977ps93p83hsq/geoportail/wmts?LAYER=ORTHOIMAGERY.ORTHOPHOTOS&EXCEPTIONS=text/xml&FORMAT=image/jpeg&SERVICE=WMTS&VERSION=1.0.0&REQUEST=GetTile&STYLE=normal&TILEMATRIXSET=PM&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}', '(c) IGN Geoportail')], 'TILES_EXTENT': (715000, 6448500, 778000, 6547500), 'SPATIAL_EXTENT': (3.1090725284595733, 45.04962973323134, 4.090021898017582, 46.10883011538418), 'NO_GLOBALS': False, 'PLUGINS': {'leaflet.overintent': {'js': <leaflet.utils.ListWithLazyItems object at 0x7f832db15240>, 'css': <leaflet.utils.ListWithLazyItems object at 0x7f8334aa5eb8>}, 'leaflet.label': {'css': <leaflet.utils.ListWithLazyItems object at 0x7f8326c1f828>, 'js': <leaflet.utils.ListWithLazyItems object at 0x7f8326c1f7b8>}, 'leaflet.spin': {'js': <leaflet.utils.ListWithLazyItems object at 0x7f8326c1fc88>, 'css': <leaflet.utils.ListWithLazyItems object at 0x7f8326c1fcc0>}, 'leaflet.layerindex': {'js': <leaflet.utils.ListWithLazyItems object at 0x7f8326c40390>, 'css': <leaflet.utils.ListWithLazyItems object at 0x7f8326c40358>}, 'leaflet.filelayer': {'js': <leaflet.utils.ListWithLazyItems object at 0x7f8326c40470>, 'css': <leaflet.utils.ListWithLazyItems object at 0x7f8326c40438>}, 'leaflet.geometryutil': {'js': <leaflet.utils.ListWithLazyItems object at 0x7f8326c40550>, 'css': <leaflet.utils.ListWithLazyItems object at 0x7f8326c40518>}, 'forms': {'js': <leaflet.utils.ListWithLazyItems object at 0x7f8326c40630>, 'css': <leaflet.utils.ListWithLazyItems object at 0x7f8326c405c0>, 'auto-include': False}, 'leaflet.snap': {'js': <leaflet.utils.ListWithLazyItems object at 0x7f8326c40748>, 'css': <leaflet.utils.ListWithLazyItems object at 0x7f8326c40710>}, 'leaflet.measurecontrol': {'css': <leaflet.utils.ListWithLazyItems object at 0x7f8326c407b8>, 'js': <leaflet.utils.ListWithLazyItems object at 0x7f8326c40828>}, 'leaflet.fullscreen': {'css': <leaflet.utils.ListWithLazyItems object at 0x7f8326c40898>, 'js': <leaflet.utils.ListWithLazyItems object at 0x7f832d296c18>}, 'leaflet.groupedlayercontrol': {'css': <leaflet.utils.ListWithLazyItems object at 0x7f8326c40908>, 'js': <leaflet.utils.ListWithLazyItems object at 0x7f8326c409b0>}, 'mapentity': {'js': <leaflet.utils.ListWithLazyItems object at 0x7f8326c40a90>, 'css': <leaflet.utils.ListWithLazyItems object at 0x7f8326c40a58>}, 'geotrek': {'js': <leaflet.utils.ListWithLazyItems object at 0x7f8326c40cf8>, 'css': <leaflet.utils.ListWithLazyItems object at 0x7f8326c40ba8>}, 'topofields': {'js': <leaflet.utils.ListWithLazyItems object at 0x7f8326c40fd0>, 'css': <leaflet.utils.ListWithLazyItems object at 0x7f8326c40e10>}, 'default': {}, 'ALL': {'css': <leaflet.utils.ListWithLazyItems object at 0x7f833448ac88>, 'js': <leaflet.utils.ListWithLazyItems object at 0x7f832d9b4208>}, '__is_normalized__': True}} LINE_CODE_FORMAT = '{signagecode}-{bladenumber}-{linenumber}' LINE_DISTANCE_FORMAT = '{:0.1f} km' LINE_TIME_FORMAT = '{hours}h{minutes:02d}' LOCALE_PATHS = "('/opt/geotrek-admin/var/conf/extra_locale',)" LOGGING = {'version': 1, 'disable_existing_loggers': True, 'filters': {'require_debug_false': {'()': 'django.utils.log.RequireDebugFalse'}}, 'formatters': {'simple': {'format': '%(levelname)s %(asctime)s %(name)s %(message)s'}}, 'handlers': {'mail_admins': {'level': 'ERROR', 'filters': ['require_debug_false'], 'class': 'django.utils.log.AdminEmailHandler'}, 'console': {'level': 'WARNING', 'class': 'logging.StreamHandler', 'formatter': 'simple'}, 'logfile': {'class': 'logging.FileHandler', 'formatter': 'simple', 'filename': '/opt/geotrek-admin/var/log/geotrek.log'}}, 'loggers': {'django.db.backends': {'handlers': ['console', 'mail_admins'], 'level': 'ERROR', 'propagate': False}, 'django.request': {'handlers': ['console', 'mail_admins'], 'level': 'ERROR', 'propagate': False}, 'django': {'handlers': ['console', 'mail_admins'], 'level': 'ERROR', 'propagate': False}, 'geotrek': {'handlers': ['console', 'mail_admins', 'logfile'], 'level': 'INFO', 'propagate': False}, 'mapentity': {'handlers': ['console', 'mail_admins', 'logfile'], 'level': 'INFO', 'propagate': False}, '': {'handlers': ['console', 'mail_admins'], 'level': 'INFO', 'propagate': False}}} LOGGING_CONFIG = 'logging.config.dictConfig' LOGIN_REDIRECT_URL = 'home' LOGIN_URL = 'login' LOGOUT_REDIRECT_URL = None LOGOUT_URL = 'logout' MAINTENANCE_INTERSECTION_MARGIN = 500 MANAGERS = "(('admin1', 'r.laire@parc-livradois-forez.org'), ('admin2', 'sebastien.giraud@vacances-livradois-forez.fr'))" MAPENTITY_CONFIG = {'TITLE': 'Geotrek', 'ROOT_URL': '', 'TEMP_DIR': '/tmp', 'HISTORY_ITEMS_MAX': 7, 'CONVERSION_SERVER': 'http://localhost:6543', 'CAPTURE_SERVER': 'http://localhost:8000', 'MAP_BACKGROUND_FOGGED': True, 'GEOJSON_LAYERS_CACHE_BACKEND': 'fat', 'SENDFILE_HTTP_HEADER': 'X-Accel-Redirect', 'DRF_API_URL_PREFIX': '****', 'MAPENTITY_WEASYPRINT': False, 'GEOJSON_PRECISION': 7, 'MAP_FIT_MAX_ZOOM': 16, 'GPX_FIELD_NAME': 'geom_3d', 'MAP_STYLES': {'path': {'weight': 2, 'color': '#FF4800', 'opacity': 1.0}, 'draftpath': {'weight': 5, 'opacity': 1, 'color': 'yellow', 'dashArray': '8, 8'}, 'city': {'weight': 4, 'color': '#FF9700', 'opacity': 0.3, 'fillOpacity': 0.0}, 'district': {'weight': 6, 'color': '#FF9700', 'opacity': 0.3, 'fillOpacity': 0.0, 'dashArray': '12, 12'}, 'restrictedarea': {'weight': 2, 'color': 'red', 'opacity': 0.5, 'fillOpacity': 0.5}, 'land': {'weight': 4, 'color': 'red', 'opacity': 1.0}, 'physical': {'weight': 6, 'color': 'red', 'opacity': 1.0}, 'competence': {'weight': 4, 'color': 'red', 'opacity': 1.0}, 'workmanagement': {'weight': 4, 'color': 'red', 'opacity': 1.0}, 'signagemanagement': {'weight': 5, 'color': 'red', 'opacity': 1.0}, 'detail': {'color': '#ffff00'}, 'others': {'color': '#ffff00'}, 'print': {'path': {'weight': 1}, 'trek': {'color': '#FF3300', 'weight': 7, 'opacity': 0.5, 'arrowColor': 'black', 'arrowSize': 10}}}, 'TRANSLATED_LANGUAGES': [('en', 'English'), ('es', 'Spanish'), ('fr', 'French'), ('it', 'Italian')]} MAP_STYLES = {'filelayer': {'color': 'blue', 'opacity': 0.7, 'fillOpacity': 0.9, 'weight': 4, 'radius': 5}} MEDIA_ROOT = '/opt/geotrek-admin/var/media' MEDIA_URL = '/media/' MEDIA_URL_SECURE = '/media_secure/' MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage' MESSAGE_TAGS = {25: 'alert-success', 20: 'alert-info', 10: 'alert-info', 30: 'alert-error', 40: 'alert-error'} MIDDLEWARE = "('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'geotrek.authent.middleware.LocaleForcedMiddleware', 'django.middleware.locale.LocaleMiddleware', 'geotrek.common.middleware.APILocaleMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'geotrek.authent.middleware.CorsMiddleware', 'mapentity.middleware.AutoLoginMiddleware')" MIGRATION_MODULES = {} MOBILE_ASCENT_INTERVALS = [{'id': 1, 'name': '< 300 m', 'interval': [0, 299]}, {'id': 2, 'name': '300 - 600', 'interval': [300, 599]}, {'id': 3, 'name': '600 - 1000', 'interval': [600, 999]}, {'id': 4, 'name': '> 1000 m', 'interval': [1000, 9999]}] MOBILE_CATEGORY_PICTO_SIZE = 32 MOBILE_DURATION_INTERVALS = [{'id': 1, 'name': '< 1 heure', 'interval': [0, 1]}, {'id': 2, 'name': '1h - 2h30', 'interval': [1, 2.5]}, {'id': 3, 'name': '2h30 - 5h', 'interval': [2.5, 5]}, {'id': 4, 'name': '5h - 9h', 'interval': [5, 9]}, {'id': 5, 'name': '> 9h', 'interval': [9, 9999999]}] MOBILE_INFORMATIONDESKTYPE_PICTO_SIZE = 32 MOBILE_LENGTH_INTERVALS = [{'id': 1, 'name': '< 10 km', 'interval': [0, 9999]}, {'id': 2, 'name': '10 - 30', 'interval': [9999, 29999]}, {'id': 3, 'name': '30 - 50', 'interval': [30000, 50000]}, {'id': 4, 'name': '> 50 km', 'interval': [50000, 999999]}] MOBILE_NUMBER_PICTURES_SYNC = 3 MOBILE_POI_PICTO_SIZE = 32 MOBILE_TILES_EXTENSION = None MOBILE_TILES_GLOBAL_ZOOMS = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12] MOBILE_TILES_HIGH_ZOOMS = [15, 16] MOBILE_TILES_LOW_ZOOMS = [13, 14] MOBILE_TILES_RADIUS_LARGE = 0.01 MOBILE_TILES_RADIUS_SMALL = 0.005 MOBILE_TILES_URL = ['https://{s}.tile.opentopomap.org/{z}/{x}/{y}.png'] MODELTRANSLATION_DEFAULT_LANGUAGE = 'fr' MODELTRANSLATION_LANGUAGES = ['fr', 'en', 'es', 'it'] MONTH_DAY_FORMAT = 'F j' NUMBER_GROUPING = 0 ONLY_EXTERNAL_PUBLIC_PDF = False OUTDOOR_COURSE_POINTS_OF_REFERENCE_ENABLED = True OUTDOOR_INTERSECTION_MARGIN = 500 PAPERCLIP_ATTACHMENT_MODEL = 'common.Attachment' PAPERCLIP_ENABLE_LINK = True PAPERCLIP_ENABLE_VIDEO = True PAPERCLIP_FILETYPE_MODEL = 'common.FileType' PARSER_NUMBER_OF_TRIES = 3 PARSER_RETRY_HTTP_STATUS = [503] PARSER_RETRY_SLEEP_TIME = 60 PASSWORD_HASHERS = '****' PASSWORD_RESET_TIMEOUT = '****' PASSWORD_RESET_TIMEOUT_DAYS = '****' PATHS_LINE_MARKER = 'dotL' PATH_MERGE_SNAPPING_DISTANCE = 2 PATH_MODEL_ENABLED = True PATH_SNAPPING_DISTANCE = 1 POI_MODEL_ENABLED = True PREPEND_WWW = False PRIMARY_COLOR = '#7b8c12' PROJECT_APPS = "('modeltranslation', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.admin', 'django.contrib.admindocs', 'django.contrib.gis', 'crispy_forms', 'compressor', 'djgeojson', 'django_filters', 'tinymce', 'easy_thumbnails', 'mapentity', 'paperclip', 'leaflet', 'rest_framework', 'rest_framework_gis', 'embed_video', 'django_celery_results', 'colorfield', 'mptt')" PROJECT_DIR = '/opt/geotrek-admin/lib/python3.6/site-packages/geotrek' PROJECT_MODEL_ENABLED = True PUBLISHED_BY_LANG = True REPORT_FILETYPE = 'Report' REPORT_INTERSECTION_MARGIN = 500 REPORT_MODEL_ENABLED = True REST_FRAMEWORK = {'DEFAULT_PERMISSION_CLASSES': ['mapentity.models.MapEntityRestPermissions'], 'DEFAULT_RENDERER_CLASSES': ['rest_framework.renderers.JSONRenderer', 'mapentity.renderers.GeoJSONRenderer']} ROOT_URL = '' ROOT_URLCONF = 'geotrek.urls' SECRET_KEY = '****' SECURE_BROWSER_XSS_FILTER = False SECURE_CONTENT_TYPE_NOSNIFF = True SECURE_HSTS_INCLUDE_SUBDOMAINS = False SECURE_HSTS_PRELOAD = False SECURE_HSTS_SECONDS = 0 SECURE_PROXY_SSL_HEADER = "('HTTP_X_FORWARDED_PROTO', 'https')" SECURE_REDIRECT_EXEMPT = [] SECURE_REFERRER_POLICY = 'same-origin' SECURE_SSL_HOST = None SECURE_SSL_REDIRECT = False SEND_REPORT_ACK = True SENSITIVE_AREA_INTERSECTION_MARGIN = 500 SENSITIVITY_DEFAULT_RADIUS = 100 SERIALIZATION_MODULES = {'geojson': 'djgeojson.serializers'} SERVER_EMAIL = 'no-reply@parc-livradois-forez.org' SERVICE_MODEL_ENABLED = True SESSION_CACHE_ALIAS = 'default' SESSION_COOKIE_AGE = 1209600 SESSION_COOKIE_DOMAIN = None SESSION_COOKIE_HTTPONLY = True SESSION_COOKIE_NAME = 'sessionid' SESSION_COOKIE_PATH = '/' SESSION_COOKIE_SAMESITE = 'Lax' SESSION_COOKIE_SECURE = False SESSION_ENGINE = 'django.contrib.sessions.backends.db' SESSION_EXPIRE_AT_BROWSER_CLOSE = False SESSION_FILE_PATH = None SESSION_SAVE_EVERY_REQUEST = False SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer' SETTINGS_MODULE = 'geotrek.settings' SHORT_DATETIME_FORMAT = 'm/d/Y P' SHORT_DATE_FORMAT = 'm/d/Y' SHOW_EXTREMITIES = False SHOW_INFRASTRUCTURES_ON_MAP_SCREENSHOT = True SHOW_LABELS = True SHOW_POIS_ON_MAP_SCREENSHOT = True SHOW_SENSITIVE_AREAS_ON_MAP_SCREENSHOT = True SHOW_SERVICES_ON_MAP_SCREENSHOT = True SHOW_SIGNAGES_ON_MAP_SCREENSHOT = True SIGNAGE_LINE_ENABLED = False SIGNAGE_MODEL_ENABLED = True SIGNING_BACKEND = 'django.core.signing.TimestampSigner' SILENCED_SYSTEM_CHECKS = [] SITE_ID = 1 SITE_MODEL_ENABLED = True SNAP_DISTANCE = 30 SPATIAL_EXTENT = '(715000, 6448500, 778000, 6547500)' SPLIT_DIVES_CATEGORIES_BY_PRACTICE = True SPLIT_TREKS_CATEGORIES_BY_ACCESSIBILITY = False SPLIT_TREKS_CATEGORIES_BY_ITINERANCY = False SPLIT_TREKS_CATEGORIES_BY_PRACTICE = True SRID = 2154 STATICFILES_DIRS = "('/opt/geotrek-admin/var/conf/extra_static', '/opt/geotrek-admin/lib/python3.6/site-packages/geotrek/static')" STATICFILES_FINDERS = "('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder', 'compressor.finders.CompressorFinder')" STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage' STATIC_ROOT = '/opt/geotrek-admin/var/static' STATIC_URL = '/static/' SURICATE_MANAGEMENT_ENABLED = False SURICATE_MANAGEMENT_SETTINGS = {'URL': '', 'ID_ORIGIN': '', 'PRIVATE_KEY_CLIENT_SERVER': '****', 'PRIVATE_KEY_SERVER_CLIENT': '****'} SURICATE_REPORT_ENABLED = False SURICATE_REPORT_SETTINGS = {'URL': '', 'ID_ORIGIN': '', 'PRIVATE_KEY_CLIENT_SERVER': '****', 'PRIVATE_KEY_SERVER_CLIENT': '****'} SWAGGER_SETTINGS = {'USE_SESSION_AUTH': False, 'APIS_SORTER': '****', 'JSON_EDITOR': True, 'API_V2_DESCRIPTION': '****'} SYNC_MOBILE_OPTIONS = {'skip_tiles': False} SYNC_MOBILE_ROOT = '/opt/geotrek-admin/var/mobile' SYNC_RANDO_OPTIONS = {} SYNC_RANDO_ROOT = '/opt/geotrek-admin/var/data' TEMPLATES = [{'BACKEND': 'djappypod.backend.OdtTemplates'}, {'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ('/opt/geotrek-admin/var/conf/extra_templates', '/opt/geotrek-admin/lib/python3.6/site-packages/geotrek/templates'), 'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth', 'django.template.context_processors.debug', 'django.template.context_processors.i18n', 'django.template.context_processors.media', 'django.template.context_processors.static', 'django.template.context_processors.tz', 'django.template.context_processors.request', 'django.contrib.messages.context_processors.messages', 'geotrek.context_processors.forced_layers', 'geotrek.context_processors.suricate_enabled', 'mapentity.context_processors.settings'], 'loaders': ['django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader'], 'debug': True}}] TEST = False TEST_NON_SERIALIZED_APPS = [] TEST_RUNNER = 'django.test.runner.DiscoverRunner' THOUSAND_SEPARATOR = ',' THUMBNAIL_ALIASES = {'': {'thumbnail': {'size': (150, 150)}, 'small-square': {'size': (120, 120), 'crop': True}, 'apiv2': '****', 'medium': {'size': (800, 800)}, 'print': {'size': (1000, 500), 'crop': 'smart'}, 'mobile_picto': {'size': (32, 32)}}} THUMBNAIL_COPYRIGHT_FORMAT = '' THUMBNAIL_COPYRIGHT_SIZE = 15 THUMBNAIL_PROCESSORS = "('easy_thumbnails.processors.colorspace', 'easy_thumbnails.processors.autocrop', 'easy_thumbnails.processors.scale_and_crop', 'easy_thumbnails.processors.filters', 'easy_thumbnails.processors.background', 'geotrek.common.thumbnail_processors.add_watermark')" TIME_FORMAT = 'P' TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] TIME_ZONE = 'Europe/Paris' TINYMCE_DEFAULT_CONFIG = {'theme': 'advanced', 'theme_advanced_buttons1': 'bold,italic,forecolor,separator,bullist,numlist,link,media,separator,undo,redo,separator,cleanup,code', 'theme_advanced_buttons2': '', 'theme_advanced_buttons3': '', 'theme_advanced_statusbar_location': 'bottom', 'theme_advanced_toolbar_location': 'top', 'theme_advanced_toolbar_align': 'center', 'theme_advanced_resizing': True, 'theme_advanced_resize_horizontal': False, 'forced_root_block': False, 'plugins': 'media,paste', 'paste_auto_cleanup_on_paste': True, 'width': '95%', 'resize': 'both', 'valid_elements': '@[id|class|style|title|dir<ltr?rtl|lang|xml::lang],a[rel|rev|charset|hreflang|tabindex|accesskey|type|name|href|target|title|class],img[longdesc|usemap|src|border|alt=|title|hspace|vspace|width|height|align],p,em/i,strong/b,div[align],br,ul,li,ol,span[style],iframe[src|frameborder=0|alt|title|width|height|align|name]', 'convert_urls': False} TITLE = 'Geotrek' TMP_DIR = '/opt/geotrek-admin/var/tmp' TOPOLOGY_STATIC_OFFSETS = {'land': -5, 'physical': 0, 'competence': 5, 'signagemanagement': -10, 'workmanagement': 10} TOURISM_ENABLED = True TOURISM_INTERSECTION_MARGIN = 500 TOURISTICCONTENT_MODEL_ENABLED = True TOURISTICEVENT_MODEL_ENABLED = True TOURISTIC_CONTENTS_API_ORDER = '****' TOURISTIC_EVENT_CATEGORY_ORDER = 99 TRAIL_MODEL_ENABLED = True TREKKING_MODEL_ENABLED = True TREKKING_TOPOLOGY_ENABLED = True TREK_CATEGORY_ORDER = 1 TREK_EXPORT_INFORMATION_DESK_LIST_LIMIT = 2 TREK_EXPORT_POI_LIST_LIMIT = 14 TREK_ICON_SIZE_INFORMATION_DESK = 18 TREK_ICON_SIZE_INFRASTRUCTURE = 18 TREK_ICON_SIZE_PARKING = 18 TREK_ICON_SIZE_POI = 18 TREK_ICON_SIZE_SERVICE = 18 TREK_ICON_SIZE_SIGNAGE = 18 TREK_INFRASTRUCTURE_INTERSECTION_MARGIN = 500 TREK_POINTS_OF_REFERENCE_ENABLED = True TREK_POI_INTERSECTION_MARGIN = 500 TREK_SIGNAGE_INTERSECTION_MARGIN = 500 TREK_WITH_POIS_PICTURES = False UPLOAD_DIR = 'upload' USE_BOOKLET_PDF = False USE_I18N = True USE_L10N = True USE_THOUSAND_SEPARATOR = False USE_TZ = True USE_X_FORWARDED_HOST = False USE_X_FORWARDED_PORT = False VAR_DIR = '/opt/geotrek-admin/var' VERSION = '2.69.0' VIEWPORT_MARGIN = 0.1 WSGI_APPLICATION = 'geotrek.wsgi.application' X_FRAME_OPTIONS = 'DENY' YEAR_MONTH_FORMAT = 'F Y'

`

camillemonchicourt commented 3 years ago

J'ai l'impression que ça ressemble à https://github.com/GeotrekCE/Geotrek-admin/issues/1578, mais j'ai jamais vraiment compris à quoi ça correspond. Et je crois que le problème avait disparu chez moi avec une mise à jour de Geotrek-admin. En quelle version es-tu ?

relaire commented 3 years ago

Je suis passé en 2.69.0 pour voir, mais aucun effet ...

relaire commented 3 years ago

En fait l'erreur se généralise sur toutes les nouvelles mises à jour, et même les nouveaux flux APIDAE ...

relaire commented 2 years ago

En fait c'était un problème de mauvaise config du fichier /etc/hosts. Fonctionne très bien avec les valeurs par défaut:

127.0.0.1   localhost
127.0.1.1   geotrek-admin