#18062 closed defect (invalid)
JOSM gives false positive warning on public_transport:version=* on a relation with type=route
Reported by: | boeleman | Owned by: | boeleman |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core validator | Version: | tested |
Keywords: | public transport version route | Cc: |
Description
The JOSM valiation tool keeps warning that public_transport:version=* needs to be specified even though the public transport routes I am checking have this tag already. The version is from Debian testing 1.5.svn15238.
Attachments (0)
Change History (11)
comment:1 by , 6 years ago
Owner: | changed from | to
---|---|
Status: | new → needinfo |
comment:2 by , 6 years ago
Component: | Core → Core validator |
---|
comment:3 by , 6 years ago
Keywords: | public transport version route added |
---|---|
Resolution: | → needinfo |
Status: | needinfo → closed |
comment:4 by , 6 years ago
Resolution: | needinfo |
---|---|
Status: | closed → reopened |
I though I submitted this information but I must have made a mistake. This is an example of a relation which has this problem:
comment:5 by , 6 years ago
I don't get this warning for this relation. Please add your statusreport.
comment:6 by , 6 years ago
Status: | reopened → needinfo |
---|
comment:7 by , 6 years ago
Please see below:
Relative:URL: ^/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2019-08-26 08:55:27 +0200 (Mon, 26 Aug 2019) Revision:15322 Build-Date:2019-08-26 06:57:10 URL:https://josm.openstreetmap.de/svn/trunk Identification: JOSM/1.5 (15322 en) Linux Debian GNU/Linux bullseye/sid Memory Usage: 250 MB / 1926 MB (49 MB allocated, but free) Java version: 11.0.4+11-post-Debian-1, Debian, OpenJDK 64-Bit Server VM Screen: :0.0 1920x1080 Maximum Screen Size: 1920x1080 Java package: openjdk-11-jre:amd64-11.0.4+11-1 Java ATK Wrapper package: libatk-wrapper-java:all-0.35.0-3 libcommons-compress-java: libcommons-compress-java:all-1.18-2 libcommons-logging-java: libcommons-logging-java:all-1.2-2 fonts-noto: fonts-noto:all-20181227-1 liboauth-signpost-java: liboauth-signpost-java:all-1.2.1.2-2 VM arguments: [-Djosm.restart=true, -Djava.net.useSystemProxies=true] Dataset consistency test: No problems found Plugins: + DirectUpload (35041) + PicLayer (35104) + editgpx (34908) + ejml (35049) + geojson (124) + geotools (34908) + jogl (1.2.3) + jts (35064) + log4j (34908) + pt_assistant (705) + tofix (487) + utilsplugin2 (35098) Tagging presets: + /usr/share/josm/data/defaultpresets.xml + https://josm.openstreetmap.de/josmfile?page=Presets/LaneAttributes&zip=1 Map paint styles: + /usr/share/josm/styles/standard/elemstyles.xml - /usr/share/josm/styles/standard/potlatch2.mapcss + https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1 + https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransport&zip=1 + https://josm.openstreetmap.de/josmfile?page=Styles/NumberedCycleNodeNetworks&zip=1 + https://josm.openstreetmap.de/josmfile?page=Styles/NumberedWalkingNodeNetworks&zip=1 Last errors/warnings: - E: java.nio.file.NoSuchFileException: /usr/share/josm/data/defaultpresets.xml - E: /usr/share/josm/data/defaultpresets.xml - W: Failed to load Mappaint styles from '/usr/share/josm/styles/standard/elemstyles.xml'. Exception was: java.nio.file.NoSuchFileException: /usr/share/josm/styles/standard/elemstyles.xml - E: java.nio.file.NoSuchFileException: /usr/share/josm/styles/standard/elemstyles.xml - E: java.nio.file.NoSuchFileException: /usr/share/josm/styles/standard - W: Initializing map style /usr/share/josm/styles/standard/elemstyles.xml completed in 2 ms (1 errors, 0 warnings) - W: Failed to load Mappaint styles from '/usr/share/josm/styles/standard/potlatch2.mapcss'. Exception was: java.nio.file.NoSuchFileException: /usr/share/josm/styles/standard/potlatch2.mapcss - E: java.nio.file.NoSuchFileException: /usr/share/josm/styles/standard/potlatch2.mapcss - W: No configuration settings found. Using hardcoded default values for all pools.
comment:8 by , 6 years ago
There is a problem with your preset file: java.nio.file.NoSuchFileException: /usr/share/josm/data/defaultpresets.xml
Please go to the settings: wiki:Help/Preferences/Map#TaggingPresets remove /usr/share/josm/data/defaultpresets.xml
in the right list and add Internal Preset from the left list.
comment:9 by , 6 years ago
In case that does not work (Debian does file installation different to default josm release) I suggest to reinstall josm and/or reset preferences.
comment:10 by , 6 years ago
Resolution: | → invalid |
---|---|
Status: | needinfo → closed |
Please attach a sample .osm file or link an osm objekt.