Modify

Opened 3 months ago

Closed 3 months ago

Last modified 3 months ago

#24497 closed defect (fixed)

plugin opendata ZipException ...opendata_modules-icons.zip

Reported by: Cyrille37 Owned by: team
Priority: normal Milestone:
Component: Plugin opendata Version: latest
Keywords: Cc:

Description

Hi

When launching JOSM on command line I can see Opendata Plugin errors about a malformed zip file :

2025-10-08 09:22:46.585 AVERTISSEMENT: Impossible de traiter le fichier zip 'site-josm.openstreetmap.de-_browser_osm_applications_editors_josm_plugins_opendata_modules-icons.zip'. Lʼexception était: java.util.zip.ZipException: zip END header not found: java.util.zip.ZipException: zip END header not found

Which seem to make icon not found :

2025-10-08 09:22:46.586 GRAVE: Impossible de trouver l'image "fr.datagouvfr.jar/images/fr24.png"

This appends on all opendata plugin icons.

  • Opendata plugin version : 36440
  • Josm version: 19439

Best regards.

Attachments (0)

Change History (12)

comment:1 by Cyrille37, 3 months ago

Resolution: fixed
Status: newclosed

Fixed with #24498

Thanks !

comment:2 by Cyrille37, 3 months ago

Resolution: fixed
Status: closedreopened

Closed too quickly, after resolution of #24498 this error still occured

What steps will reproduce the problem?

  1. Open JOSM with plugin opendata installed
  2. look at log (in journald on my Ubuntu)

What is the expected result?

No error logged.

What happens instead?

logged errors like :

2025-10-08 12:35:02.430 AVERTISSEMENT:
Impossible de traiter le fichier zip 'site-josm.openstreetmap.de-_browser_osm_applications_editors_josm_plugins_opendata_modules-icons.zip'.
Lʼexception était: java.util.zip.ZipException: zip END header not found:
java.util.zip.ZipException: zip END header not found

Please provide any additional information below. Attach a screenshot if possible.

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2025-08-31 14:19:57 +0200 (Sun, 31 Aug 2025)
Revision:19439
Build-Date:2025-09-01 01:31:04
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (19439 fr) Linux Mint 21.3
Memory Usage: 544 MB / 23856 MB (295 MB allocated, but free)
Java version: 21.0.8+9-Ubuntu-0ubuntu122.04.1, Ubuntu, OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Screen: :0.0 1920x1080x[Multi depth]@60Hz (scaling 1.00×1.00) :0.1 1920x1080x[Multi depth]@[Unknown refresh rate] (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→16×16, 32×32→32×32
Environment variable LANG: fr_FR.UTF-8
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: fr_FR
Numbers with default locale: 1234567890 -> 1234567890
Desktop environment: MATE
Java package: openjdk-21-jre:amd64-21.0.8+9~us1-0ubuntu1~22.04.1
fonts-noto: fonts-noto:all-20201225-1build1
VM arguments: [--module-path=/usr/share/openjfx/lib, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, -Djosm.restart=true, -Djava.net.useSystemProxies=true, -XX:MaxRAMPercentage=75.0, --add-exports=java.base/sun.security.action=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED]
Program arguments: [--warn]

Plugins:
+ apache-commons (36438)
+ cadastre-fr (36438)
+ ejml (36438)
+ geotools (36438)
+ jackson (36438)
+ jaxb (36438)
+ jts (36438)
+ opendata (36440)
+ photo_geotagging (36438)
+ photoadjust (36438)
+ reverter (36447)
+ urbaneye3d (1.5.0)
+ utilsplugin2 (36438)
+ waydownloader (36438)

Tagging presets:
+ https://josm.openstreetmap.de/josmfile?page=Presets/FranceRoads&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Healthcare&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Industrial&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Heritage&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Crafts&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/MappingAccessibility&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Community_Centre&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Historical_Objects&zip=1
+ https://raw.githubusercontent.com/yopaseopor/traffic_signs_preset_JOSM/master/FR.zip
+ https://raw.githubusercontent.com/Heiner-Sch/JOSM-preset-trees-Europe/master/JOSM-Preset_Trees.xml
+ https://josm.openstreetmap.de/josmfile?page=Presets/Telecom&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Wikidata&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/BuildingPreset&zip=1

Last errors/warnings:
- 00006.852 W: Impossible de traiter le fichier zip 'site-josm.openstreetmap.de-_browser_osm_applications_editors_josm_plugins_opendata_modules-icons.zip'. Lʼexception était: java.util.zip.ZipException: zip END header not found: java.util.zip.ZipException: zip END header not found
- 00006.853 E: Impossible de trouver l'image "fr.datagouvfr.jar/images/fr24.png"
- 00006.854 W: Impossible de traiter le fichier zip 'site-josm.openstreetmap.de-_browser_osm_applications_editors_josm_plugins_opendata_modules-icons.zip'. Lʼexception était: java.util.zip.ZipException: zip END header not found: java.util.zip.ZipException: zip END header not found
- 00006.854 E: Impossible de trouver l'image "fr.toulouse.jar/images/data.fr.toulouse_24.png"
- 00006.856 W: Impossible de traiter le fichier zip 'site-josm.openstreetmap.de-_browser_osm_applications_editors_josm_plugins_opendata_modules-icons.zip'. Lʼexception était: java.util.zip.ZipException: zip END header not found: java.util.zip.ZipException: zip END header not found
- 00006.856 E: Impossible de trouver l'image "fr.paris.jar/images/data.fr.paris_24.png"

comment:3 by stoecker, 3 months ago

Seems like another corrupted file site-josm.openstreetmap.de-_browser_osm_applications_editors_josm_plugins_opendata_modules-icons.zip. Probably somewhere in the cache directory (~/.cache/JOSM/). Deleting it should solve the issue.

in reply to:  3 comment:4 by Cyrille37, 3 months ago

Replying to stoecker:

Seems like another corrupted file site-josm.openstreetmap.de-_browser_osm_applications_editors_josm_plugins_opendata_modules-icons.zip. Probably somewhere in the cache directory (~/.cache/JOSM/). Deleting it should solve the issue.

Deleting all files in ~/.cache/JOSM/ does not change. Steel have error at JOSM start.

fichier zip 'site-josm.openstreetmap.de-_browser_osm_applications_editors_josm_plugins_opendata_modules-icons.zip'.
Lʼexception était: java.util.zip.ZipException: zip END header not found: java.util.zip.ZipException: zip END header not found

comment:5 by stoecker, 3 months ago

Ah. Seems it is not in cache: It is in ~/.local/share/JOSM/plugins/opendata/modules/

When you Go to Settings/OpenData you can click on list download. That should refresh the file.

in reply to:  5 comment:6 by Cyrille37, 3 months ago

Replying to stoecker:

When you Go to Settings/OpenData you can click on list download. That should refresh the file.

When resolved #24498 I had deleted opendata plugin's files and folder and re-download the plugin and modules.

comment:7 by stoecker, 3 months ago

Resolution: fixed
Status: reopenedclosed

In 36460/osm:

fix #24497 - use proper path for module icons file

comment:8 by stoecker, 3 months ago

In 36461/osm:

fix #24497 - use proper path for module icons file (release)

comment:9 by stoecker, 3 months ago

Please update. Now also the icons in module list will work again :-)

in reply to:  9 comment:10 by Cyrille37, 3 months ago

Replying to stoecker:

Please update. Now also the icons in module list will work again :-)

  • I've updated the opendata plugin, now version 36460.
  • And updated module too, now "fr.datagouvfr" version 36282 (locale 34095).

And still have same errors:

2025-10-08 17:14:12.458 AVERTISSEMENT: Impossible de traiter le fichier zip 'site-josm.openstreetmap.de-_browser_osm_applications_editors_josm_plugins_opendata_modules-icons.zip'. Lʼexception était: java.util.zip.ZipException: zip END header not found: java.util.zip.ZipException: zip END header not found
2025-10-08 17:14:12.458 GRAVE: Impossible de trouver l'image "fr.datagouvfr.jar/images/fr24.png"

2025-10-08 17:14:12.460 AVERTISSEMENT: Impossible de traiter le fichier zip 'site-josm.openstreetmap.de-_browser_osm_applications_editors_josm_plugins_opendata_modules-icons.zip'. Lʼexception était: java.util.zip.ZipException: zip END header not found: java.util.zip.ZipException: zip END header not found
2025-10-08 17:14:12.460 GRAVE: Impossible de trouver l'image "fr.toulouse.jar/images/data.fr.toulouse_24.png"

2025-10-08 17:14:12.461 AVERTISSEMENT: Impossible de traiter le fichier zip 'site-josm.openstreetmap.de-_browser_osm_applications_editors_josm_plugins_opendata_modules-icons.zip'. Lʼexception était: java.util.zip.ZipException: zip END header not found: java.util.zip.ZipException: zip END header not found
2025-10-08 17:14:12.461 GRAVE: Impossible de trouver l'image "fr.paris.jar/images/data.fr.paris_24.png"
2025-10-08 17:14:12.515 AVERTISSEMENT: Impossible de traiter le fichier zip 'site-josm.openstreetmap.de-_browser_osm_applications_editors_josm_plugins_opendata_modules-icons.zip'. Lʼexception était: java.util.zip.ZipException: zip END header not found: java.util.zip.ZipException: zip END header not found
oct. 08 17:14:12 ubuntu-NS5x-NS7xAU org.mate.panel.applet.MintMenuAppletFactory[4738]: 2025-10-08 17:14:12.516 GRAVE: Impossible de trouver l'image "fr.datagouvfr.jar/images/fr24.png"
2025-10-08 17:14:12.517 AVERTISSEMENT: Impossible de traiter le fichier zip 'site-josm.openstreetmap.de-_browser_osm_applications_editors_josm_plugins_opendata_modules-icons.zip'. Lʼexception était: java.util.zip.ZipException: zip END header not found: java.util.zip.ZipException: zip END header not found
2025-10-08 17:14:12.518 GRAVE: Impossible de trouver l'image "fr.toulouse.jar/images/data.fr.toulouse_24.png"
2025-10-08 17:14:12.519 AVERTISSEMENT: Impossible de traiter le fichier zip 'site-josm.openstreetmap.de-_browser_osm_applications_editors_josm_plugins_opendata_modules-icons.zip'. Lʼexception était: java.util.zip.ZipException: zip END header not found: java.util.zip.ZipException: zip END header not found
2025-10-08 17:14:12.519 GRAVE: Impossible de trouver l'image "fr.paris.jar/images/data.fr.paris_24.png"

comment:11 by stoecker, 3 months ago

Probably old files still used?

Please delete the files starting with site in "~/.local/share/JOSM/plugins/opendata/modules/", go to the configuration and reload them. The path should change to something with "export" instead of "browser".

comment:12 by Cyrille37, 3 months ago

Hi stoecker

This morning JOSM is launching without error.

Thanks a lot for your support & work :-)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.