Your message dated Sat, 12 Dec 2015 18:21:25 +0000
with message-id <[email protected]>
and subject line Bug#807751: fixed in josm 0.0.svn9060+dfsg-2
has caused the Debian Bug report #807751,
regarding josm: translation files are not loaded
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.)


-- 
807751: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=807751
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: josm
Version: 0.0.svn9060+dfsg-1
Severity: minor
Tags: l10n

Translation files from josm-l10n package are not loaded by josm.

I think that the problem is caused by patch file modification
(debian/patches/06-move_data_out_of_jar.patch).

Old version (0.0.svn7643+dfsg1-1, jessie):
     private static URL getTranslationFile(String lang) {
-        return Main.class.getResource("/data/"+lang+".lang");
+        try {
+            return new URL("file:///usr/share/josm/data/"+lang+".lang");
+        } catch (MalformedURLException ex) {
+            return null;
+        }
     }

New version (0.0.svn9060+dfsg-1, stretch):
     private static URL getTranslationFile(String lang) {
-        return Main.class.getResource("/data/"+lang.replace('@', '-')+".lang");
+        try {
+            return Main.class.getResource("/data/"+lang.replace('@', 
'-')+".lang");
+        } catch (RuntimeException ex) {
+            return null;
+        }
     }

-- System Information:
Debian Release: 8.2
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 
'oldstable-updates'), (500, 'testing'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages josm depends on:
ii  default-jre [java7-runtime]      2:1.7-52
ii  fonts-noto                       2013-04-11-2
ii  jmapviewer                       1.13+dfsg-1
ii  libcommons-compress-java         1.9-1
ii  libcommons-logging-java          1.2-1
ii  libgettext-commons-java          0.9.6-2
ii  liboauth-signpost-java           1.2.1.2-1.2
ii  libsvgsalamander-java            0~svn95-1
ii  openjdk-7-jre [java7-runtime]    7u91-2.6.3-1~deb8u1
ii  openstreetmap-map-icons-classic  1:0.0.svn31779-1

Versions of packages josm recommends:
ii  josm-l10n                           0.0.svn9060+dfsg-1
ii  josm-plugins                        0.0.svn31779+ds-1
pn  webkit-image-gtk | webkit-image-qt  <none>

josm suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: josm
Source-Version: 0.0.svn9060+dfsg-2

We believe that the bug you reported is fixed in the latest version of
josm, 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.
Bas Couwenberg <[email protected]> (supplier of updated josm 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: SHA512

Format: 1.8
Date: Sat, 12 Dec 2015 16:49:12 +0100
Source: josm
Binary: josm josm-l10n
Architecture: source all
Version: 0.0.svn9060+dfsg-2
Distribution: unstable
Urgency: medium
Maintainer: Debian GIS Project <[email protected]>
Changed-By: Bas Couwenberg <[email protected]>
Description:
 josm       - Editor for OpenStreetMap
 josm-l10n  - Editor for OpenStreetMap - translation files
Closes: 807751
Changes:
 josm (0.0.svn9060+dfsg-2) unstable; urgency=medium
 .
   * Fix loading of translation files by using the absolute filesystem path.
     (closes: #807751)
Checksums-Sha1:
 35f23b172f36596180c9bf57a834c922143503e2 2399 josm_0.0.svn9060+dfsg-2.dsc
 ba2e0cc00b96029187bff7088a2175ad5d02361a 81124 
josm_0.0.svn9060+dfsg-2.debian.tar.xz
 b22dd7996fd05bc6ddcc12004f22cc67b200f8a5 1555850 
josm-l10n_0.0.svn9060+dfsg-2_all.deb
 4e6504cbb44dc230d74f7f33644b19010461a666 6490506 
josm_0.0.svn9060+dfsg-2_all.deb
Checksums-Sha256:
 0df8740d80720974fb3c6b882402978b9284cb0232134fae51434f0a5e0fc965 2399 
josm_0.0.svn9060+dfsg-2.dsc
 8757752b580e19dd2ead8ef4a87cdc7bcbe5614d545b269bfdbbd8c0b660c0cc 81124 
josm_0.0.svn9060+dfsg-2.debian.tar.xz
 5970e18e4f6abbd8fc099dcc7926b4f84604557e1a684f63e19d6efeb2dd40ae 1555850 
josm-l10n_0.0.svn9060+dfsg-2_all.deb
 31b8288f8545320ce609dd41e713e9d44bb194bd26a25484541247f411f5dc18 6490506 
josm_0.0.svn9060+dfsg-2_all.deb
Files:
 206edbe5081e691501b16e2c8bd686e6 2399 utils extra josm_0.0.svn9060+dfsg-2.dsc
 f74c3444b774c500d357ac4b9f94bad0 81124 utils extra 
josm_0.0.svn9060+dfsg-2.debian.tar.xz
 151188c04808028c96d58e4a8b9aa933 1555850 localization extra 
josm-l10n_0.0.svn9060+dfsg-2_all.deb
 2fb5ceac56d619a9d88f6a5bc3dd756e 6490506 utils extra 
josm_0.0.svn9060+dfsg-2_all.deb

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

iQIcBAEBCgAGBQJWbF3IAAoJEGdQ8QrojUrxt9wP/1nmDHHNHogWdu6lqtEvyIie
MCoF6c9wrPWm67oqNrwfDixNBG0CSxJI957e/GOhV9Z9vSuR74qoEt2XKDMpGZU3
5KFXqZIjcR7ahn8If03/oOSfByOpPuAiKGW4WZjMkv+IIG9lpkuS3br7sp0lrwfk
ErYnpEmSchkPULaHxcBVHNF8czJNdRAFNQUp0i0w4QliD4ksCBPgzwM9XhcAcsZN
zRo05AEutqelOwTqCfMkhNPJyq1EMva+dD11rOKxoA+CVJra1HhfyLOJsdNc5ucL
SY61QK24tVz0RMnk6Nyiq6FJ5TS9C7VSn7HXkOzK7H/wvlfwdi4si/++JUkp2Jn2
jpt97GInpbI8dudEfKCCHpYDYS9oVE6I4rJIqz+xNYOtANTzcoMkHx+TrP9E/W3q
/1B0PXu9wFTLq2tOmjzLILt5RTtTnd+xdFdmea1ViZxj9hLXPmJo9IFUiAZmk7Mx
vlUJ5LzfWBHufoSsgBBnOlm7IyRqcQJ59NS9AR3h3Q9oOHnBDz2bis627ajuqAEW
r7Tsa2OB30IauCgZ/MdGTSi9/hJQDPcUUQCuIrPjQ1zWoaHTpdGhL3Rm1b74A8jI
AbLhzK8C0LWlvIKJGiOWqYxwaGlP7tadeREmnmc8KD1IKnRc2Mjvxzz9N+6sWSU6
ZTsy3tfgKaawUxWdpOep
=FMWl
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to