Modify

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#21231 closed defect (fixed)

Edit with Remote Control from osm.org always causes browser Error Message

Reported by: Glassman Owned by: Don-vip
Priority: normal Milestone: 21.08
Component: Core remotecontrol Version: latest
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Open browser to osm.org
  2. Open JOSM
  3. zoom to an area to edit
  4. Select Edit with remote control (JOSM, Potlatch, Merkaartor)

What is the expected result?

Selected area opens in JOSM

What happens instead?

Selected area opens correctly in JOSM but the browser issues a warning message:
www.openstreetmap.org says
Editing failed - make sure JOSM or Merkaator is loaded
and the remote control option is enabled

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

I tested this out on both Chrome and Firefox. Both report the same error message. Changing the size/complexity of the download area makes no difference.

Both load small simple areas and large more complex areas with no problem except for the browser error message.

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2021-08-15 13:24:41 +0200 (Sun, 15 Aug 2021)
Revision:18133
Build-Date:2021-08-16 01:31:02
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (18133 en) Linux Fedora 34 (Workstation Edition)
Memory Usage: 4100 MB / 8192 MB (3359 MB allocated, but free)
Java version: 11.0.12+7, Red Hat, Inc., OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Screen: :0.0 1920×1080 (scaling 1.00×1.00) :0.1 1920×1080 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→16×16, 32×32→32×32
Environment variable LANG: en_US.UTF-8
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: en_US
Numbers with default locale: 1234567890 -> 1234567890
Desktop environment: GNOME
Java package: java-11-openjdk:x86_64-11.0.12.0.7
apache-commons-logging: apache-commons-logging:noarch-1.2
VM arguments: [-Djosm.home=<josm.pref>]

Plugins:
+ EasyPresets (1623509627)
+ ImportImagePlugin (35567)
+ KartaView (374)
+ Mapillary (2.0.0-alpha.31-dirty)
+ OpeningHoursEditor (35640)
+ apache-commons (35524)
+ apache-http (35589)
+ auto_tools (81)
+ buildings_tools (35756)
+ ejml (35458)
+ geochat (35640)
+ geotools (35458)
+ javafx-unixoid (35655)
+ jaxb (35543)
+ jna (35662)
+ jts (35458)
+ log4j (35458)
+ mapwithai (1.8.2)
+ measurement (35640)
+ microdata_scraping (1608227152)
+ opendata (35803)
+ osm-obj-info (66)
+ pdfimport (35640)
+ pt_assistant (1ff2e15)
+ reltoolbox (35640)
+ reverter (35732)
+ routing (35640)
+ tageditor (35640)
+ todo (30306)
+ turnlanes (35640)
+ turnlanes-tagging (288)
+ turnrestrictions (35640)
+ utilsplugin2 (35792)
+ wikipedia (1.1.4)

Tagging presets:
+ ${HOME}/Downloads/MikeN_Presets.zip
+ ${HOME}/Development/josm_sidewalk_presets/sidewalk_preset.xml
+ https://raw.githubusercontent.com/osmlab/name-suggestion-index/main/dist/presets/nsi-josm-presets.min.xml
+ <josm.pref>/EasyPresets.xml

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/Sidewalks&zip=1
+ ${HOME}/foo.mapcss
- https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Kerbs&zip=1
- https://raw.githubusercontent.com/OpenSidewalks/OpenSidewalks-Schema/master/open_sidewalks.mapcss
+ ${HOME}/OSM/open_sidewalks2.mapcss
- https://josm.openstreetmap.de/josmfile?page=Styles/AddressValidator&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Streets&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransport&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/MapWithAI&zip=1

Last errors/warnings:
- 00003.552 E: java.lang.UnsatisfiedLinkError: <josm.pref>/plugins/javafx/libavplugin-56.so: libgstreamer-lite.so: cannot open shared object file: No such file or directory
- 00003.557 E: java.lang.UnsatisfiedLinkError: <josm.pref>/plugins/javafx/libavplugin-57.so: libgstreamer-lite.so: cannot open shared object file: No such file or directory
- 00003.559 E: java.lang.UnsatisfiedLinkError: <josm.pref>/plugins/javafx/libfxplugins.so: libgstreamer-lite.so: cannot open shared object file: No such file or directory
- 00003.560 E: java.lang.UnsatisfiedLinkError: <josm.pref>/plugins/javafx/libavplugin-ffmpeg-56.so: libgstreamer-lite.so: cannot open shared object file: No such file or directory
- 00003.572 E: java.lang.UnsatisfiedLinkError: <josm.pref>/plugins/javafx/libavplugin-ffmpeg-58.so: libgstreamer-lite.so: cannot open shared object file: No such file or directory
- 00003.574 E: java.lang.UnsatisfiedLinkError: <josm.pref>/plugins/javafx/libavplugin-54.so: libgstreamer-lite.so: cannot open shared object file: No such file or directory
- 00010.776 E: java.nio.file.NoSuchFileException: <josm.pref>/EasyPresets.xml
- 00010.776 E: <josm.pref>/EasyPresets.xml
- 00015.028 E: Failed to locate image 'bus.png'
- 00015.116 E: Failed to locate image 'MapWithAI'

Attachments (1)

Screenshot from 2021-08-19 13-35-28.png (36.8 KB ) - added by Glassman 4 years ago.
Browser error message

Download all attachments as: .zip

Change History (7)

by Glassman, 4 years ago

Browser error message

comment:1 by Don-vip, 4 years ago

Reproduced. JOSM responds not fast enough for website and/or browser. We should make sure to return HTTP 200 asap before doing anything time consuming (API calls, layer creation, etc.)

comment:2 by Don-vip, 4 years ago

Milestone: 21.08
Owner: changed from team to Don-vip
Status: newassigned

comment:3 by Don-vip, 4 years ago

Resolution: fixed
Status: assignedclosed

In 18134/josm:

fix #21231 - make sure remote control request handlers do not block thread with time-consuming operations

comment:4 by mdk, 4 years ago

duplicate of #20845?

comment:5 by Don-vip, 4 years ago

Ticket #20845 has been marked as a duplicate of this ticket.

comment:6 by Glassman, 4 years ago

I'm not see the problem in version 18178.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Don-vip.
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.