Opened 4 years ago
Closed 4 years ago
#20845 closed defect (duplicate)
Bogus "editing failed" message when loading a map area from OSM
Reported by: | anonymous | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core remotecontrol | Version: | |
Keywords: | template_report | Cc: |
Description (last modified by )
What steps will reproduce the problem?
- Load JOSM
- Open a map, eg https://www.openstreetmap.org/?mlat=51.568171977996826&mlon=0.03954648971557617#map=18/51.56797/0.03992
- Click on EDIT button
What is the expected result?
The map area is loaded in OSM
What happens instead?
The map area is loaded in OSM, but is preceded by a bogus Editing Failed message
Please provide any additional information below. Attach a screenshot if possible.
Firefox console logs this:
10:04:48.609 GEThttp://127.0.0.1:8111/load_and_zoom?left=0.03467215766906739&top=51.56956121773012&right=0.04517184028625489&bottom=51.566380223035274 [HTTP/1.1 200 OK 648ms] GET http://127.0.0.1:8111/load_and_zoom?left=0.03467215766906739&top=51.56956121773012&right=0.04517184028625489&bottom=51.566380223035274 Status200 OK VersionHTTP/1.1 Transferred179 B (4 B size) Access-Control-Allow-Origin * Content-length 4 Content-type text/plain; charset=utf-8 Date Wed May 05 10:04:49 BST 2021 Server JOSM RemoteControl Accept text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 Accept-Encoding gzip, deflate Accept-Language en-GB Connection keep-alive Host 127.0.0.1:8111 Upgrade-Insecure-Requests 1 User-Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:88.0) Gecko/20100101 Firefox/88.0
URL:https://josm.openstreetmap.de/svn/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2021-04-27 20:35:33 +0200 (Tue, 27 Apr 2021) Build-Date:2021-04-27 21:58:39 Revision:17833 Relative:URL: ^/trunk Identification: JOSM/1.5 (17833 en_GB) Windows 10 64-Bit OS Build number: Windows 10 Pro 2009 (19042) Memory Usage: 349 MB / 3628 MB (201 MB allocated, but free) Java version: 1.8.0_281-b09, Oracle Corporation, Java HotSpot(TM) 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: Cp1252 System property sun.jnu.encoding: Cp1252 Locale info: en_GB Numbers with default locale: 1234567890 -> 1234567890 Dataset consistency test: No problems found Plugins: + AddrInterpolation (35640) + DirectDownload (35640) + PicLayer (2a9aa7a) + ShapeTools (1240) + apache-commons (35524) + apache-http (35589) + buildings_tools (35740) + fieldpapers (v0.5.0) + imagery_offset_db (35640) + javafx-windows (35655) + jna (35662) + merge-overlap (35640) + photoadjust (35640) + terracer (35640) + turnrestrictions (35640) + utilsplugin2 (35691) Tagging presets: + https://josm.openstreetmap.de/josmfile?page=Presets/Addr2&zip=1 Map paint styles: - https://josm.openstreetmap.de/josmfile?page=Styles/Fixme&zip=1 + C:\Users\pcs3\AppData\Roaming\JOSM\custom\bigFixmeNodes.mapcss + C:\Users\pcs3\AppData\Roaming\JOSM\custom\redHouseNumbers.mapcss - https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Streets&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_buildings&zip=1 Last errors/warnings: - 00030.745 W: Failed to load Mappaint styles from 'C:\Users\pcs3\AppData\Roaming\JOSM\custom\bigFixmeNodes.mapcss'. Exception was: java.nio.file.NoSuchFileException: C:\Users\pcs3\AppData\Roaming\JOSM\custom\bigFixmeNodes.mapcss - 00030.746 E: java.nio.file.NoSuchFileException: C:\Users\pcs3\AppData\Roaming\JOSM\custom\bigFixmeNodes.mapcss - 00030.808 E: java.nio.file.NoSuchFileException: C:\Users\pcs3\AppData\Roaming\JOSM\custom - 00030.830 W: Initializing map style C:\Users\pcs3\AppData\Roaming\JOSM\custom\bigFixmeNodes.mapcss completed in 66 ms (1 errors, 0 warnings) - 00030.831 W: Failed to load Mappaint styles from 'C:\Users\pcs3\AppData\Roaming\JOSM\custom\redHouseNumbers.mapcss'. Exception was: java.nio.file.NoSuchFileException: C:\Users\pcs3\AppData\Roaming\JOSM\custom\redHouseNumbers.mapcss - 00030.835 E: java.nio.file.NoSuchFileException: C:\Users\pcs3\AppData\Roaming\JOSM\custom\redHouseNumbers.mapcss - 00030.856 E: java.nio.file.NoSuchFileException: C:\Users\pcs3\AppData\Roaming\JOSM\custom - 00030.857 W: Initializing map style C:\Users\pcs3\AppData\Roaming\JOSM\custom\redHouseNumbers.mapcss completed in 26 ms (1 errors, 0 warnings)
Attachments (1)
Change History (13)
by , 4 years ago
Attachment: | 2021-05-05 09_47_37-OpenStreetMap — Mozilla Firefox.png added |
---|
comment:1 by , 4 years ago
Owner: | changed from | to
---|
follow-up: 4 comment:2 by , 4 years ago
comment:3 by , 4 years ago
Owner: | changed from | to
---|---|
Status: | new → needinfo |
follow-up: 6 comment:4 by , 4 years ago
Replying to skyper:
Strange, in your description is nothing about remote control, but the warning and the log refers to it.
Do you allow remote control to download data in your setting?
Yes, remote control is allowed and the map loads in OSM. The problem is that the OSM page which invoked the remote control wrongly thinks the remote control was unable to load the map.
Anyway, we need more and exact information like the status report:
I assumed the status report was this bit:
URL:https://josm.openstreetmap.de/svn/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2021-04-27 20:35:33 +0200 (Tue, 27 Apr 2021) Build-Date:2021-04-27 21:58:39 Revision:17833 Relative:URL: ^/trunk Identification: JOSM/1.5 (17833 en_GB) Windows 10 64-Bit OS Build number: Windows 10 Pro 2009 (19042) Memory Usage: 349 MB / 3628 MB (201 MB allocated, but free) Java version: 1.8.0_281-b09, Oracle Corporation, Java HotSpot(TM) 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: Cp1252 System property sun.jnu.encoding: Cp1252 Locale info: en_GB Numbers with default locale: 1234567890 -> 1234567890 Dataset consistency test: No problems found Plugins: + AddrInterpolation (35640) + DirectDownload (35640) + PicLayer (2a9aa7a) + ShapeTools (1240) + apache-commons (35524) + apache-http (35589) + buildings_tools (35740) + fieldpapers (v0.5.0) + imagery_offset_db (35640) + javafx-windows (35655) + jna (35662) + merge-overlap (35640) + photoadjust (35640) + terracer (35640) + turnrestrictions (35640) + utilsplugin2 (35691) Tagging presets: + https://josm.openstreetmap.de/josmfile?page=Presets/Addr2&zip=1 Map paint styles: - https://josm.openstreetmap.de/josmfile?page=Styles/Fixme&zip=1 + C:\Users\pcs3\AppData\Roaming\JOSM\custom\bigFixmeNodes.mapcss + C:\Users\pcs3\AppData\Roaming\JOSM\custom\redHouseNumbers.mapcss - https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Streets&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_buildings&zip=1 Last errors/warnings: - 00030.745 W: Failed to load Mappaint styles from 'C:\Users\pcs3\AppData\Roaming\JOSM\custom\bigFixmeNodes.mapcss'. Exception was: java.nio.file.NoSuchFileException: C:\Users\pcs3\AppData\Roaming\JOSM\custom\bigFixmeNodes.mapcss - 00030.746 E: java.nio.file.NoSuchFileException: C:\Users\pcs3\AppData\Roaming\JOSM\custom\bigFixmeNodes.mapcss - 00030.808 E: java.nio.file.NoSuchFileException: C:\Users\pcs3\AppData\Roaming\JOSM\custom - 00030.830 W: Initializing map style C:\Users\pcs3\AppData\Roaming\JOSM\custom\bigFixmeNodes.mapcss completed in 66 ms (1 errors, 0 warnings) - 00030.831 W: Failed to load Mappaint styles from 'C:\Users\pcs3\AppData\Roaming\JOSM\custom\redHouseNumbers.mapcss'. Exception was: java.nio.file.NoSuchFileException: C:\Users\pcs3\AppData\Roaming\JOSM\custom\redHouseNumbers.mapcss - 00030.835 E: java.nio.file.NoSuchFileException: C:\Users\pcs3\AppData\Roaming\JOSM\custom\redHouseNumbers.mapcss - 00030.856 E: java.nio.file.NoSuchFileException: C:\Users\pcs3\AppData\Roaming\JOSM\custom - 00030.857 W: Initializing map style C:\Users\pcs3\AppData\Roaming\JOSM\custom\redHouseNumbers.mapcss completed in 26 ms (1 errors, 0 warnings)
I already submitted the report using JOSM's Help button, so where do I find the Status report?
comment:5 by , 4 years ago
Owner: | changed from | to
---|
comment:6 by , 4 years ago
Replying to anonymous:
I already submitted the report using JOSM's Help button, so where do I find the Status report?
Arg, sorry, my bad. Yes, this is all we need.
comment:7 by , 4 years ago
Owner: | changed from | to
---|---|
Status: | needinfo → new |
comment:8 by , 4 years ago
Description: | modified (diff) |
---|
comment:9 by , 4 years ago
I realise I have said, several times, "The map area is loaded in OSM" when I should have said each time "The map area is loaded in JOSM"
comment:10 by , 4 years ago
I have the same problem. Detailed reproduction steps are:
- Start new JOSM
- Open https://www.openstreetmap.org/#map=18/-23.12326/47.16011&layers=N (but should work with any area)
- Use "Bearbeiten" -> "Bearbeiten mit externe Editoren"
The browser shows the warning. Little later(!) JOSM shows the loaded area as a new layer. (you see it good, if you have both applications on different screens)
Additional information:
If you close the warning in the browser and the layer(s) in JOSM and press "Bearbeiten" again, JOSM shows the new layer (again), but without any warning in the browser.
If you restart JOSM and repeat the steps, the warning appears again. But always only the first time after starting JOSM.
I could reproduce this with Firefox and Chrome on windows, but I couldn't reproduce this on Linux.
As far as I understood, the warning is from www.openstreetmap.org. Taginfo shows no warning at all on remote control links, even if JOSM is not started. Maybe it's a timing problem between the website and JOSM.
URL:https://josm.openstreetmap.de/svn/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2021-05-04 21:01:14 +0200 (Tue, 04 May 2021) Build-Date:2021-05-05 01:30:58 Revision:17860 Relative:URL: ^/trunk Identification: JOSM/1.5 (17860 en_GB) Windows 10 64-Bit OS Build number: Windows 10 Pro 2004 (19041) Memory Usage: 766 MB / 3616 MB (535 MB allocated, but free) Java version: 1.8.0_201-b09, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel Screen: \Display0 1920×1200 (scaling 1.00×1.00) \Display1 1920×1200 (scaling 1.00×1.00) Maximum Screen Size: 1920×1200 Best cursor sizes: 16×16→32×32, 32×32→32×32 System property file.encoding: Cp1252 System property sun.jnu.encoding: Cp1252 Locale info: en_GB Numbers with default locale: 1234567890 -> 1234567890 Plugins: + ColumbusCSV (35640) + ImproveOsm (208) + OpeningHoursEditor (35640) + RoadSigns (35640) + apache-commons (35524) + apache-http (35589) + buildings_tools (35740) + contourmerge (v0.1.6) + imagery-xml-bounds (35723) + imagery_offset_db (35640) + jna (35662) + pt_assistant (2.1.10-80-g7d9bba3) + reverter (35732) + terracer (35640) + utilsplugin2 (35691) + wikipedia (1.1.4) Tagging presets: + https://raw.githubusercontent.com/yopaseopor/traffic_signs_preset_JOSM/master/CH.zip Map paint styles: + https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1 + https://josm.openstreetmap.de/josmfile?page=Styles/Maxspeed&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Cycleways&zip=1
comment:11 by , 4 years ago
Now I was also able to reproduce it on Linux with firefox (same procedure as above),
But this time, I could repeat it all the time. I actual use tested version, because I have problems with some plugins.
Relative:URL: ^/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2021-04-27 20:35:33 +0200 (Tue, 27 Apr 2021) Revision:17833 Build-Date:2021-04-27 21:58:39 URL:https://josm.openstreetmap.de/svn/trunk Identification: JOSM/1.5 (17833 en) Linux Ubuntu 20.10 Memory Usage: 530 MB / 1980 MB (228 MB allocated, but free) Java version: 15+36-Ubuntu-1, Private Build, OpenJDK 64-Bit Server VM Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel Screen: :0.0 3840×2160 (scaling 2.00×2.00) Maximum Screen Size: 3840×2160 Best cursor sizes: 16×16→16×16, 32×32→32×32 Environment variable LANG: de_CH.UTF-8 System property file.encoding: UTF-8 System property sun.jnu.encoding: UTF-8 Locale info: en_CH Numbers with default locale: 1234567890 -> 1234567890 Desktop environment: ubuntu:GNOME Java ATK Wrapper package: libatk-wrapper-java:all-0.38.0-1 libcommons-compress-java: libcommons-compress-java:all-1.20-1 libcommons-logging-java: libcommons-logging-java:all-1.2-2 fonts-noto: fonts-noto:all-20200323-1build1 VM arguments: [--add-modules=java.scripting,java.sql, -Djosm.restart=true, -Djava.net.useSystemProxies=true] Dataset consistency test: No problems found Plugins: + OpeningHoursEditor (35640) + apache-commons (35524) + apache-http (35589) + buildings_tools (35740) + contourmerge (v0.1.6) + imagery-xml-bounds (35723) + imagery_offset_db (35640) + javafx-unixoid (35655) + jna (35662) + pbf (35720) + poly (35640) + reltoolbox (35640) + reverter (35732) + terracer (35640) + utilsplugin2 (35691) Tagging presets: + https://josm.openstreetmap.de/josmfile?page=Presets/OneClick&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/LaneAttributes&preset&zip=1 Map paint styles: + https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1 + https://josm.openstreetmap.de/josmfile?page=Styles/Maxspeed&style&zip=
comment:12 by , 4 years ago
Component: | Core → Core remotecontrol |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
Closed as duplicate of #21231.
Strange, in your description is nothing about remote control, but the warning and the log refers to it.
Do you allow remote control to download data in your setting?
Anyway, we need more and exact information like the status report:
Thanks for your report, however your ticket is incomplete and therefore not helpful in its current form.
Please add all needed information according to this list:
To ensure that all technical relevant information is contained, create new tickets by clicking in JOSMs Main Menu on Help →
Report Bug.
Remember: This is a generic notice so we don't need to write the same stuff again and again. It may only apply in parts to the specific case!