<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>394517</bug_id>
          
          <creation_ts>2018-05-21 13:32:44 +0000</creation_ts>
          <short_desc>the search-function has no results except if I search for big towns (Cannot parse osm nominatim result)</short_desc>
          <delta_ts>2019-01-05 16:51:17 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>marble</product>
          <component>general</component>
          <version>2.1 (KDE Applications 16.12)</version>
          <rep_platform>openSUSE</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Hartmut">spielmops</reporter>
          <assigned_to>marble-bugs</assigned_to>
          <cc>kevin.kofler</cc>
    
    <cc>metkometko</cc>
    
    <cc>rahn</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>40</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1753929</commentid>
    <comment_count>0</comment_count>
    <who name="Hartmut">spielmops</who>
    <bug_when>2018-05-21 13:32:44 +0000</bug_when>
    <thetext>I used to find things with the search-function and &quot;search area&quot; of Marble within the Openstreetmap (not the vector-map). E.g. &quot;camping&quot; or &quot;museum&quot; or names. It worked until some weeks ago. Now not anymore. Even if I see the word &quot;camping&quot; on the map, Marble finds nothing. Until then Marble found things without problems even if the area was 50km wide.

Spielmops</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1754272</commentid>
    <comment_count>1</comment_count>
    <who name="Kevin Kofler">kevin.kofler</who>
    <bug_when>2018-05-23 02:08:26 +0000</bug_when>
    <thetext>See bug #394587 for the technical explanation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1754274</commentid>
    <comment_count>2</comment_count>
    <who name="Kevin Kofler">kevin.kofler</who>
    <bug_when>2018-05-23 02:08:51 +0000</bug_when>
    <thetext>*** Bug 394587 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1754275</commentid>
    <comment_count>3</comment_count>
    <who name="Kevin Kofler">kevin.kofler</who>
    <bug_when>2018-05-23 02:09:18 +0000</bug_when>
    <thetext>Actually, let&apos;s repost it here:

Nominatim searches in Marble 2.2.20 (KDE Applications 17.12.1) recently stopped working. On the console, the warning:
Cannot parse osm nominatim result
is printed. No results appear.

I suspect that this is because http://nominatim.openstreetmap.org/ now redirects to https://nominatim.openstreetmap.org/ , so the URL fragment at OsmNominatimSearchRunner.cpp:53 needs to be updated. And you probably also want to fix your code to support redirects.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1755615</commentid>
    <comment_count>4</comment_count>
    <who name="Kevin Kofler">kevin.kofler</who>
    <bug_when>2018-05-30 09:19:06 +0000</bug_when>
    <thetext>Ping? This is a regression that completely breaks an essential feature of Marble, and it looks like the fix may be trivial (one character), can somebody please look into it?

I am setting this to CONFIRMED because we are already at least 2 people seeing it and there is clearly a reproducible bug here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1755820</commentid>
    <comment_count>5</comment_count>
    <who name="Metko">metkometko</who>
    <bug_when>2018-05-31 10:16:32 +0000</bug_when>
    <thetext>Count me in! Nominatim search doesn&apos;t work for me either. Tested different (older) versions of marble and different users on my computer, and invariably got the same result: apart from city names, nothing is found in searches (e.g. the example in the manual Baker Street, London). This behavior supports Kevin&apos;s explanation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1760637</commentid>
    <comment_count>6</comment_count>
    <who name="Kevin Kofler">kevin.kofler</who>
    <bug_when>2018-06-12 11:18:47 +0000</bug_when>
    <thetext>Ping?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1765687</commentid>
    <comment_count>7</comment_count>
    <who name="Hartmut">spielmops</who>
    <bug_when>2018-07-06 16:54:32 +0000</bug_when>
    <thetext>Very unusual, that nobody works on this one character ...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1780282</commentid>
    <comment_count>8</comment_count>
    <who name="Torsten Rahn">rahn</who>
    <bug_when>2018-09-12 15:08:44 +0000</bug_when>
    <thetext>I can confirm this as well. Unfortunately changing the url to https inside

src/plugins/runner/nominatim-search/OsmNominatimSearchRunner.cpp

doesn&apos;t change the behavior either - odd. Did they make changes to the user agent testing as well?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1780387</commentid>
    <comment_count>9</comment_count>
    <who name="Kevin Kofler">kevin.kofler</who>
    <bug_when>2018-09-13 02:07:13 +0000</bug_when>
    <thetext>&gt; Did they make changes to the user agent testing as well?

I don&apos;t know. You&apos;d have to ask the OSM admins directly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1784147</commentid>
    <comment_count>10</comment_count>
    <who name="Torsten Rahn">rahn</who>
    <bug_when>2018-09-21 08:36:18 +0000</bug_when>
    <thetext>Sorry guys, I&apos;ve just fixed the issue in master and backported the fix to the last few releases. It was indeed just about changing http to https. Can you confirm that it works again as expected? :-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1830525</commentid>
    <comment_count>11</comment_count>
    <who name="Kevin Kofler">kevin.kofler</who>
    <bug_when>2019-01-05 16:51:17 +0000</bug_when>
    <thetext>I can confirm that this is fixed at least in 18.12.0 (I think, in some 18.08.x too, but I went directly from 18.04.3 to 18.12.0). I tested with marble-18.12.0-1.fc28 on Fedora 28. Thanks!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>