Your message dated Mon, 27 Jan 2014 23:48:45 +0000
with message-id <[email protected]>
and subject line Bug#736550: fixed in qlandkartegt 1.7.5-2
has caused the Debian Bug report #736550,
regarding qlandkartegt: OSM mapnik tiles are not longer downloaded
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
736550: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=736550
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: qlandkartegt
Version: 1.5.0~dfsg1-1
Severity: normal
Tags: patch

Dear Maintainer,

appearently, the administrators of the Openstreetmap tile servers in 
the tile.openstreetmap.org domain decided to enforce or restrict their
"tile usage policy"[0].

Howevery, qlandkartegt is not compliant to that policy, most notably
the User-Agent part. Since the program does not set such a header, the 
QT library inserts "Mozilla/5.0", and appearently that string[1] is 
banned now. As a result, the OSM mapnik tiles are no longer usable in
qlandkartegt. 

The patch below rectifies that situation for Debian stable/wheezy,
tested, works for me. Please consider it for an upcoming point release 
since the usability of qlandkartegt is somewhat restricted now.

    Christoph

[0] http://wiki.openstreetmap.org/wiki/Tile_usage_policy
[1] To be honest, I was not able to reproduce that with wget and
    a haft-crafted User-Agent


-- System Information:
Debian Release: 7.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.10.27 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages qlandkartegt depends on:
ii  libc6                     2.13-38
ii  libdmtx0a                 0.7.2-2+build1
ii  libexif12                 0.6.20-3
ii  libgcc1                   1:4.7.2-5
ii  libgdal1                  1.9.0-3.1
ii  libgl1-mesa-glx [libgl1]  8.0.5-4+deb7u2
ii  libglu1-mesa [libglu1]    8.0.5-4+deb7u2
ii  libgps20                  3.6-4+deb7u1
ii  libjpeg8                  8d-1
ii  libproj0                  4.7.0-2
ii  libqt4-dbus               4:4.8.2+dfsg-11
ii  libqt4-network            4:4.8.2+dfsg-11
ii  libqt4-opengl             4:4.8.2+dfsg-11
ii  libqt4-script             4:4.8.2+dfsg-11
ii  libqt4-sql                4:4.8.2+dfsg-11
ii  libqt4-xml                4:4.8.2+dfsg-11
ii  libqt4-xmlpatterns        4:4.8.2+dfsg-11
ii  libqtcore4                4:4.8.2+dfsg-11
ii  libqtgui4                 4:4.8.2+dfsg-11
ii  libqtwebkit4              2.2.1-5
ii  libstdc++6                4.7.2-5
ii  libx11-6                  2:1.5.0-1+deb7u1
ii  libxext6                  2:1.3.1-2+deb7u1
ii  zlib1g                    1:1.2.7.dfsg-13

Versions of packages qlandkartegt recommends:
pn  gdal-bin             <none>
ii  gpsbabel             1.4.3-1
pn  qlandkartegt-garmin  <none>

Versions of packages qlandkartegt suggests:
pn  gpsd  <none>

-- no debconf information


commit 070a5c9a6a0da08a16c1e3c0d1a5c3a631c0a401
Author: Christoph Biedl <[email protected]>
Date:   Fri Jan 24 18:20:58 2014 +0100

    Set a User-Agent header

diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..44ab19f
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+set-user-agent.patch
diff --git a/debian/patches/set-user-agent.patch 
b/debian/patches/set-user-agent.patch
new file mode 100644
index 0000000..c49785c
--- /dev/null
+++ b/debian/patches/set-user-agent.patch
@@ -0,0 +1,18 @@
+--- a/src/CMapTms.cpp
++++ b/src/CMapTms.cpp
+@@ -27,6 +27,7 @@
+ #include "CDlgMapTmsConfig.h"
+ #include "CMapSelectionRaster.h"
+ #include "CSettings.h"
++#include "version.h"
+ 
+ #include <QtGui>
+ #include <QtNetwork>
+@@ -591,6 +592,7 @@
+ 
+         QNetworkRequest request;
+         request.setUrl(req.url);
++        request.setRawHeader("User-Agent" , "QLandkarteGT/" VER_STR);
+         req.reply = accessManager->get(request);
+ 
+         pendRequests[req.url.toString()] = req;

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: qlandkartegt
Source-Version: 1.7.5-2

We believe that the bug you reported is fixed in the latest version of
qlandkartegt, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jaromír Mikeš <[email protected]> (supplier of updated qlandkartegt package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 27 Jan 2014 23:08:41 +0100
Source: qlandkartegt
Binary: qlandkartegt
Architecture: source amd64
Version: 1.7.5-2
Distribution: unstable
Urgency: low
Maintainer: Jaromír Mikeš <[email protected]>
Changed-By: Jaromír Mikeš <[email protected]>
Description: 
 qlandkartegt - GPS mapping (GeoTiff and vector) and GPSr management
Closes: 736550
Changes: 
 qlandkartegt (1.7.5-2) unstable; urgency=low
 .
   * Added patch to fix downloading of OSM mapnik tiles (Closes: #736550)
    - thanks to Christoph Biedl <[email protected]>
   * Bump Standards.
Checksums-Sha1: 
 e93be39e469946b7a1f654ce55f0a8dfb6df3382 2109 qlandkartegt_1.7.5-2.dsc
 34c4f420fea3b95789f45c905e4d39a95c4d6cd9 6304 
qlandkartegt_1.7.5-2.debian.tar.xz
 191d5875f4d092ae2c7dc7f42310f05ff3b32fd1 3788820 qlandkartegt_1.7.5-2_amd64.deb
Checksums-Sha256: 
 0f99be82a1409295ff0e4af96049f9617abe3c675a6a0bba21a7c1fb9d65697a 2109 
qlandkartegt_1.7.5-2.dsc
 cea42fe907f94399a7a4cc1bd14fd8149600ea807181782a22963d79f9d01cb3 6304 
qlandkartegt_1.7.5-2.debian.tar.xz
 d3a1bf64e8bf2c7123a8a8f0b61665af3d53203a263257eb26db5bd823bda5e5 3788820 
qlandkartegt_1.7.5-2_amd64.deb
Files: 
 a62efdf42aaf9b29d00bb66cd9070d5a 2109 x11 optional qlandkartegt_1.7.5-2.dsc
 bdc9327e48745cf6e4020d420b164293 6304 x11 optional 
qlandkartegt_1.7.5-2.debian.tar.xz
 fac0b91b84bf94bfd7818a05abd35be1 3788820 x11 optional 
qlandkartegt_1.7.5-2_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJS5u6UAAoJEFsBlFXiuE+lcLMQAIWsL5SjOqRl/l3P2+lMzAy6
YdneO+l4rWATXftRqEdCTsQt4PSs7PDGsOeS8D4zeF0Gf1+P3BUpx9z+IatAyoOk
pmyqL2A54qJobunVX0IExm3nJLk7N1o8fyqkVuSqFrf/O9IcxmpWDt8iIaZ4UT8d
pwCFr2Q1xnjdYhUIWECCAM24sKeHEolSthcjcXRDh+wFpIYljKdmyAGWe385o8h7
Idwq+Y9ho9YRhsABbWlcaS1ZEflAV4hOtcvDZf/i51VqPxRb2NRGUoDjCEik2f1G
b26EQ6dtzoGNkYf3S4p3OEeMRYeT2LeLRouNAnB48oK7qc9sIpziEKaXYfXz0MHx
AWevzm8l20V6G6posYJiNUFqvIBYorDK4ETD9FuPp1kq7C/zyt15YGSKD+/wl/IH
vdipnWNVwiucM9qLi8QpW+3GZNbpj08B/cpO7dshDanx020f7xf40pbS+a9Z/7Wi
APSpCjC0bJZA+5tXkZ7f1MQP9BjL/K5pht0wlDmoyzSmgSEXNLvWOBLr5jsb8A7N
TfFoDr8GmnuOR7dRwR6zg5y4rLeQ9VbfO3ywfJgwnA5JovZpV1pqUW/MhtSpPOfd
WzLDKZbv5nu1rbKuCdU96S1yQgt4rmYxui7B/aDrEMZ3Mw74oZsT6YuaXT6q9dnk
SPfgzSdrUP8NxoUPrIUd
=PS1m
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to