eamena-project / eamena-arches-dev

development repository of the EAMENA Arches-powered database platform
https://eamena.org/home
GNU Affero General Public License v3.0
5 stars 3 forks source link

Tile excel export not working #19

Closed zoometh closed 1 year ago

zoometh commented 1 year ago

Please briefly describe your problem and what output you expect.

Please include a minimal reproducible example (AKA a reprex, a search URL).

zoometh commented 1 year ago

This export URL creates a KeyError at /search/export_results error: https://database.eamena.org/search/export_results?paging-filter=1&tiles=true&format=tilexl&reportlink=false&precision=6&resource-type-filter=%5B%7B%22graphid%22%3A%2234cfe98e-c2c0-11ea-9026-02e7594ce0a0%22%2C%22name%22%3A%22Heritage%20Place%22%2C%22inverted%22%3Afalse%7D%5D&term-filter=%5B%7B%22context%22%3A%22c25c6305-d791-3271-984b-0a04bb267f7a%22%2C%22context_label%22%3A%22Modern%20Country%20Territory%22%2C%22id%22%3A16%2C%22text%22%3A%22Libya%22%2C%22type%22%3A%22concept%22%2C%22value%22%3A%22edc14e6a-2d99-3949-a72c-8a462c700edb%22%2C%22inverted%22%3Afalse%7D%2C%7B%22inverted%22%3Afalse%2C%22type%22%3A%22string%22%2C%22context%22%3A%22%22%2C%22context_label%22%3A%22%22%2C%22id%22%3A%22destroyed%22%2C%22text%22%3A%22destroyed%22%2C%22value%22%3A%22destroyed%22%7D%5D&language=*&total=728

image

KeyError: 'tilexl' /opt/arches/ENV/lib/python3.8/site-packages/arches/app/utils/data_management/resources/exporter.py, line 30, in init

zoometh commented 1 year ago

@ads04r has fixed it by commenting the RESOURCE_FORMATTERS value in the settings.py file