Searching for locations in map view broken
When trying to search for a location using the module in map view nothing happens. There is an error message in the shell though:
location search: Error on line 11 char 8: Element 'body' was closed, but the currently open element is 'p'
Originally reported here: https://discuss.pixls.us/t/sqsa-darktable-short-question-short-answer/5103/12
#1 Updated by Tobias Ellinghaus almost 2 years ago
The HTML we get back from openstreetmap is broken. And, it's an error message about dt being blocked. I will look into it.
<html> <head> <title>Bandwidth limit exceeded</title> </head> <body> <h1>Bandwidth limit exceeded</h1> <p>You have been temporarily blocked because you have been overusing OSM's geocoding service or because you have not provided sufficient identification of your application. This block will be automatically lifted after a while. Please take the time and adapt your scripts to reduce the number of requests and make sure that you send a valid UserAgent or Referer.</p> <p>For more information, consult the <a href="https://operations.osmfoundation.org/policies/nominatim/">usage policy</a> for the OSM Nominatim server. </body> </head>
#2 Updated by Tobias Ellinghaus almost 2 years ago
https://github.com/openstreetmap/Nominatim/issues/793 was reported for the broken HTML, the reason why we got it is the missing user agent header.
#3 Updated by Tobias Ellinghaus almost 2 years ago
- % Done changed from 20 to 100
- Status changed from Triaged to Fixed
Applied in changeset darktable|4d5d2feea5aeb444b52cbbf9cf6014a3595567fc.