Modify

Opened 4 years ago

Closed 4 years ago

#20777 closed defect (fixed)

Mapillary really slow when using josm (dev) through openwebstart

Reported by: hamish.henderson@… Owned by: taylor.smock
Priority: normal Milestone:
Component: Plugin mapillary Version: latest
Keywords: template_report Cc: github-actions-mapwithai-bot

Description

What steps will reproduce the problem?

  1. using mapillary plugin with dev version and openwebstart is really slow and seems to get hung up on pictures.

What is the expected result?

images to load

What happens instead?

images load slowly or not at all, im guessing the image loading is timing out?

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

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2021-04-17 17:57:53 +0200 (Sat, 17 Apr 2021)
Revision:17791
Build-Date:2021-04-18 01:31:00
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (17791 en) Mac OS X 10.16
OS Build number: macOS 11.2.3 (20D91)
Memory Usage: 515 MB / 2048 MB (71 MB allocated, but free)
Java version: 11.0.7+10-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.formdev.flatlaf.FlatDarculaLaf
Screen: Display 188945227 1920×1080 (scaling 1.00×1.00) Display 188945226 1920×1080 (scaling 1.00×1.00) Display 69984180 2048×1152 (scaling 2.00×2.00)
Maximum Screen Size: 2048×1152
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
VM arguments: [--add-modules=java.scripting,java.sql, --add-exports=java.desktop/com.apple.eawt=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=javafx.graphics/com.sun.javafx.application=ALL-UNNAMED, --add-exports=jdk.deploy/com.sun.deploy.config=ALL-UNNAMED, --add-opens=java.base/java.lang=ALL-UNNAMED, --add-opens=java.base/java.nio=ALL-UNNAMED, --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED, --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED, --add-opens=java.desktop/javax.imageio.spi=ALL-UNNAMED, --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED, --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED, -Djava.util.Arrays.useLegacyMergeSort=true, --add-exports=java.base/sun.net.www.protocol.jar=ALL-UNNAMED,java.desktop, --add-exports=java.base/jdk.internal.util.jar=ALL-UNNAMED,java.desktop, --add-exports=java.base/com.sun.net.ssl.internal.ssl=ALL-UNNAMED,java.desktop, --add-reads=java.naming=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/sun.awt.X11=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/sun.applet=ALL-UNNAMED,java.desktop,jdk.jsobject, --add-exports=java.base/sun.security.action=ALL-UNNAMED,java.desktop, --add-reads=java.base=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.net.www.protocol.http=ALL-UNNAMED,java.desktop, --add-exports=java.naming/com.sun.jndi.toolkit.url=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.util=ALL-UNNAMED,java.desktop,ALL-UNNAMED, --add-reads=java.desktop=ALL-UNNAMED,java.naming, --add-exports=java.desktop/sun.awt=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.x509=ALL-UNNAMED,java.desktop,ALL-UNNAMED, --add-exports=java.desktop/javax.jnlp=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.provider=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.validator=ALL-UNNAMED,java.desktop]
Dataset consistency test: No problems found

Plugins:
+ EasyPresets (1616852928)
+ Mapillary (1.5.37.6)
+ apache-commons (35524)
+ apache-http (35589)
+ auto_tools (73)
+ changeset-viewer (25)
+ flatlaf (35734)
+ geochat (35640)
+ graphview (35640)
+ jna (35662)
+ osm-obj-info (56)
+ rex (53)
+ turnrestrictions (35640)
+ utilsplugin2 (35691)

Map paint styles:
+ https://raw.githubusercontent.com/KaartGroup/Kaart-Styles/master/Kaart-Styles.mapcss
+ https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1
+ https://raw.githubusercontent.com/KaartGroup/Kaart-Styles/master/Overlapping%20Ways.mapcss
- https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Streets&zip=1

Validator rules:
+ https://raw.githubusercontent.com/KaartGroup/KaartValidator/master/kaart.clingstone.validator.mapcss

Last errors/warnings:
- 02147.357 E: Unable to get system env: java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "getenv.JOSM_RESOURCES")
- 02147.357 E: Unable to get system property: java.security.AccessControlException: access denied ("java.util.PropertyPermission" "josm.resources" "read")
- 02147.357 E: Unable to access image: java.security.AccessControlException: access denied ("java.io.FilePermission" "<josm.pref>/images/dialogs/select.png" "read")
- 02147.358 E: Unable to access image: java.security.AccessControlException: access denied ("java.io.FilePermission" "<josm.pref>/dialogs/select.png" "read")
- 02147.358 E: Unable to access image: java.security.AccessControlException: access denied ("java.io.FilePermission" "<josm.userdata>/images/dialogs/select.png" "read")
- 02147.358 E: Unable to access image: java.security.AccessControlException: access denied ("java.io.FilePermission" "<josm.userdata>/dialogs/select.png" "read")
- 02147.358 E: Unable to get system property: java.security.AccessControlException: access denied ("java.util.PropertyPermission" "java.runtime.version" "read")
- 02147.359 E: Unable to get system property: java.security.AccessControlException: access denied ("java.util.PropertyPermission" "os.name" "read")
- 02147.359 E: Unable to get system property: java.security.AccessControlException: access denied ("java.util.PropertyPermission" "os.version" "read")
- 02147.359 E: Exception raised in EDT: java.util.concurrent.ExecutionException: java.security.AccessControlException: access denied ("java.io.FilePermission" "<<ALL FILES>>" "execute"). Cause: java.security.AccessControlException: access denied ("java.io.FilePermission" "<<ALL FILES>>" "execute")

Attachments (0)

Change History (2)

comment:1 by taylor.smock, 4 years ago

Component: CorePlugin mapillary
Owner: changed from team to taylor.smock

Thanks for reporting the bug. I'll see if I can profile the slowdown as soon as I have the essentials ported over to the v4 Mapillary API (I suspect most people would rather have a slow, but working, Mapillary plugin, instead of a fast broken plugin).

See #17177 for the bits needed in JOSM for Mapillary v4 support.

comment:2 by taylor.smock, 4 years ago

Resolution: fixed
Status: newclosed

I'm closing this, as it appears that the download rewrite (used in the current JOSM nightlies) fixed this problem -- I didn't see any significant slowdown.

Modify Ticket

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