Modify

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#18308 closed defect (invalid)

User is using complicated configuration, then is unable to read logfiles, then complains

Reported by: mkoniecz Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. tag shop=fashion
  2. run validator

What is the expected result?

I get validator warning - see https://josm.openstreetmap.de/ticket/17527

What happens instead?

Nothing

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

I tried for example barrier=wire_fence from https://josm.openstreetmap.de/browser/josm/trunk/data/validator/deprecated.mapcss

Or bicycle_parking=sheffield

I cleared my list of ignored things. I am getting other validator warnings, like

Warnings (43)
amenity inside amenity - amenity=library inside amenity=library (2)
Building inside building (2)
Crossing building/highway (1)
Duplicate house numbers (4)
Overlapping railways (1)
Property values start or end with white space - Tag 'description' invalid. (1)
Relation type is unknown (3)
Role verification problem - Role 'part' missing (1)
Route scheme is unspecified. Add public_transport:version (2=public_transport; 1=legacy) (23)
Same value of addr:housenumber and addr:housename (1)
shop inside shop - shop=copyshop inside shop=copyshop (1)
Unknown property value - Value 'asia' for key 'cuisine' is unknown, maybe 'asian' is meant? (1)
Way end node near other highway (1)
Way end node near other way (1)
URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2019-11-06 07:17:52 +0100 (Wed, 06 Nov 2019)
Build-Date:2019-11-07 02:30:54
Revision:15520
Relative:URL: ^/trunk

Identification: JOSM/1.5 (15520 en) Linux Ubuntu 16.04.6 LTS
Memory Usage: 451 MB / 869 MB (179 MB allocated, but free)
Java version: 1.8.0_201-b09, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: :0.0 1920x1080
Maximum Screen Size: 1920x1080
libcommons-logging-java: libcommons-logging-java:all-1.2-1+build1
fonts-noto: fonts-noto:-
Dataset consistency test: No problems found

Plugins:
+ OpeningHoursEditor (34977)
+ PicLayer (35104)
+ apache-commons (35092)
+ buildings_tools (35171)
+ continuosDownload (82)
+ ejml (35122)
+ geotools (35169)
+ imagery_offset_db (34908)
+ jts (35122)
+ log4j (34908)
+ measurement (35221)
+ reverter (35226)
+ todo (30306)

Validator rules:
+ ${HOME}/Documents/install_moje/OSM software/josm/data/validator/deprecated.mapcss
+ ${HOME}/Documents/install_moje/OSM software/josm/data/validator/unnecessary.mapcss
+ ${HOME}/Documents/install_moje/OSM software/josm/data/validator/combinations.mapcss

Last errors/warnings:
- W: Failed to add ${HOME}/Documents/install_moje/OSM software/josm/data/validator/unnecessary.mapcss to tag checker
- W: java.nio.file.NoSuchFileException: ${HOME}/Documents/install_moje/OSM software/josm/data/validator/unnecessary.mapcss
- W: Failed to add ${HOME}/Documents/install_moje/OSM software/josm/data/validator/combinations.mapcss to tag checker
- W: java.nio.file.NoSuchFileException: ${HOME}/Documents/install_moje/OSM software/josm/data/validator/combinations.mapcss
- E: org.openstreetmap.josm.io.IllegalDataException: Missing attribute 'version' on OSM primitive with ID 4017203772. (at line 6, column 59). 328 bytes have been read. Cause: org.openstreetmap.josm.io.XmlStreamParsingException: Missing attribute 'version' on OSM primitive with ID 4017203772. (at line 6, column 59). 328 bytes have been read. Cause: org.openstreetmap.josm.io.IllegalDataException: Missing attribute 'version' on OSM primitive with ID 4017203772.
- E: Error - <html>Could not read file 'example.osm'.<br>Error is:<br>Missing attribute 'version' on OSM primitive with ID 4017203772. (at line 6, column 59). 328 bytes have been read</html>
- E: org.openstreetmap.josm.io.IllegalDataException: Missing required attribute 'id'. (at line 2, column 27). 89 bytes have been read. Cause: org.openstreetmap.josm.io.XmlStreamParsingException: Missing required attribute 'id'. (at line 2, column 27). 89 bytes have been read. Cause: org.openstreetmap.josm.io.IllegalDataException: Missing required attribute 'id'.
- E: Error - <html>Could not read file 'test.osm'.<br>Error is:<br>Missing required attribute 'id'. (at line 2, column 27). 89 bytes have been read</html>
- E: org.openstreetmap.josm.io.IllegalDataException: Line 2 column 73: The end-tag for element type "node" must end with a '>' delimiter.. Cause: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[2,73]
- E: Error - <html>Could not read file 'test.osm'.<br>Error is:<br>Line 2 column 73: The end-tag for element type "node" must end with a '&gt;' delimiter.</html>

Attachments (0)

Change History (2)

comment:1 by mkoniecz, 5 years ago

Resolution: invalid
Status: newclosed

comment:2 by mkoniecz, 5 years ago

Summary: /validator/deprecated.mapcss is not working - no warnings producedUser is using complicated configuration, then is unable to read logfiles, then complains

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.