Opened 12 years ago
Last modified 12 years ago
#9503 closed defect
Different syntax for .cfg and .mapcss validator files — at Version 1
| Reported by: | naoliv | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | 14.01 |
| Component: | Core | Version: | |
| Keywords: | template_report | Cc: |
Description (last modified by )
Unless I can't see a problem here, it seems that JOSM differently loads a .cfg from a .mapcss validator file:
INFO: Adding /home/naoliv/file:/home/naoliv/.josm/validador-local.mapcss to tag checker WARNING: java.lang.RuntimeException: Failed to add /home/naoliv/file:/home/naoliv/.josm/validador-local.mapcss to tag checker. Cause: java.io.FileNotFoundException: file:/home/naoliv/.josm/validador-local.mapcss (No such file or directory) java.lang.RuntimeException: Failed to add /home/naoliv/file:/home/naoliv/.josm/validador-local.mapcss to tag checker at org.openstreetmap.josm.data.validation.tests.MapCSSTagChecker.initialize(MapCSSTagChecker.java:401) at org.openstreetmap.josm.data.validation.OsmValidator.initializeTests(OsmValidator.java:297) at org.openstreetmap.josm.data.validation.OsmValidator.<init>(OsmValidator.java:140) at org.openstreetmap.josm.Main$2.call(Main.java:477) at org.openstreetmap.josm.Main$2.call(Main.java:464) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Caused by: java.io.FileNotFoundException: file:/home/naoliv/.josm/validador-local.mapcss (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:146) at java.io.FileInputStream.<init>(FileInputStream.java:101) at org.openstreetmap.josm.data.validation.tests.MapCSSTagChecker.initialize(MapCSSTagChecker.java:399) ... 8 more
Note how both the .cfg and .mapcss are being included:

It works for the .cfg one.
Change History (2)
by , 12 years ago
| Attachment: | source.png added |
|---|
comment:1 by , 12 years ago
| Description: | modified (diff) |
|---|
Note:
See TracTickets
for help on using tickets.


