Project

General

Profile

Bug #11741

Searching for locations in map view broken

Added by Tobias Ellinghaus over 1 year ago. Updated over 1 year ago.

Status:
Fixed
Priority:
Low
Assignee:
-
Category:
Map / Geolocation
Target version:
Start date:
09/16/2017
Due date:
% Done:

100%

Affected Version:
git master branch
System:
all
bitness:
64-bit
hardware architecture:
amd64/x86

Description

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

Associated revisions

Revision 4d5d2fee
Added by Tobias Ellinghaus over 1 year ago

Fix #11741: Add user agent when searching OSM

History

#1 Updated by Tobias Ellinghaus over 1 year 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 over 1 year 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 over 1 year ago

  • % Done changed from 20 to 100
  • Status changed from Triaged to Fixed

Also available in: Atom PDF