Modify ↓
Opened 16 months ago
Last modified 16 months ago
#23424 new enhancement
Lots of error messages "Failed to locate image 'Flag, Blue'"
Reported by: | GerdP | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | |
Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
- Start JOSM in a way that you can see the log messages
- load attached gpx file which was recorded with my Garmin gps device.
What is the expected result?
Not sure. Maybe simply no error message or just one.
What happens instead?
One error message for each way point.
Please provide any additional information below. Attach a screenshot if possible.
The gpx file contains
<sym>Flag, Blue</sym>
for each way point and it seems that JOSM tries to load an image with the name "Flag, Blue.jpg" or "Flag, Blue.svg" in a directory markers
whenever this line occurs. This results in many failing disk accesses.
Build-Date:2024-01-19 17:43:59 Revision:18947 Is-Local-Build:true Identification: JOSM/1.5 (18947 SVN en) Windows 10 64-Bit OS Build number: Windows 10 Home 2009 (19045) Memory Usage: 484 MB / 1678 MB (232 MB allocated, but free) Java version: 1.8.0_272-b10, AdoptOpenJDK, OpenJDK 64-Bit Server VM Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel Screen: \Display0 1920×1080 (scaling 1.00×1.00) Maximum Screen Size: 1920×1080 Best cursor sizes: 16×16→32×32, 32×32→32×32 System property file.encoding: UTF-8 System property sun.jnu.encoding: Cp1252 Locale info: en_DE Numbers with default locale: 1234567890 -> 1234567890 VM arguments: [-agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:51233, -ea, -javaagent:D:\eclipse-java-2020-09\eclipse\configuration\org.eclipse.osgi\3245\0\.cp\lib\javaagent-shaded.jar, -Dfile.encoding=UTF-8, -Dstdout.encoding=UTF-8, -Dstderr.encoding=UTF-8] Program arguments: [--language=en, --debug] Plugins: + OpeningHoursEditor (36196) + RoadSigns (36196) + apache-commons (36176) + buildings_tools (36200) + comfort0 (36200) + o5m (36126) + pbf (36176) + poly (36126) + reltoolbox (36200) + reverter (36196) + undelete (36126) + utilsplugin2 (36200) Validator rules: + c:\josm\core\resources\data\validator\combinations.mapcss + c:\josm\core\resources\data\validator\geometry.mapcss + c:\josm\core\resources\data\validator\relation.mapcss + c:\josm\core\resources\data\validator\unnecessary.mapcss + d:\java_tools\JOSM\mygeometry.mapcss + https://josm.openstreetmap.de/josmfile?page=Rules/GermanySpecific&zip=1 Last errors/warnings: - 00023.467 E: Failed to locate image 'Flag, Blue' - 00023.469 E: Failed to locate image 'Flag, Blue' - 00091.992 E: Failed to locate image 'Flag, Blue' - 00444.705 E: Failed to locate image 'Flag, Blue' - 00491.583 E: Failed to locate image 'Flag, Blue' - 00552.779 E: Failed to locate image 'Flag, Blue' - 00552.780 E: Failed to locate image 'Flag, Blue' - 00552.782 E: Failed to locate image 'Flag, Blue' - 00574.089 E: java.io.FileNotFoundException: F:\osm\bilder\2024-01-16\DSC_4803.JPG (Das System kann die angegebene Datei nicht finden) - 00577.934 E: java.io.FileNotFoundException: F:\osm\bilder\2024-01-16\DSC_4803.JPG (Das System kann die angegebene Datei nicht finden)
Attachments (1)
Change History (2)
by , 16 months ago
Attachment: | Wegpunkte_16-JAN-24.gpx added |
---|
comment:1 by , 16 months ago
Note:
See TracTickets
for help on using tickets.
I've learned that I can avoid that message when I create a file "markers\Flag, Blue.svg" in the home directory which contains a valid svg file, e.g. the content of core\resources\images\markers\Crossing.svg.
Is that the intended solution on user side?
Is there a way to get rid of the error message without the extra image? I prefer the simple violet x which is displayed when no image is found.