Opened 4 years ago

Last modified 3 years ago

#21485 closed defect

Continuos Download clogs the request queue and opens too many error windows — at Version 2

Reported by: TrickyFoxy Owned by: team
Priority: normal Milestone:
Component: Plugin continuosDownload Version:
Keywords: template_report Cc:

Description (last modified by TrickyFoxy)

What steps will reproduce the problem?

I often edit large empty areas in northern areas. I was not satisfied with the fact that Continuos Download downloads areas in several parts, which are almost always empty, as well as the fact that for some reason it left small pieces of the map not downloaded. So I decided to change the loading strategy to SimpleStrategy.

After a while, I started to face the fact that after editing the map for a long time, I can neither download new parts of the map, nor send changes to the server. The validator also stopped working.

In an attempt to fix the download, I took JOSM Offline and received a huge bunch of data download error messages. So huge that closing one error message JOSM hung for a second No image "Снимок экрана 2021-10-27 в 21.51.49.png" attached to ticket

In total, I see several problems here:

  1. Because of Continuos Download(SimpleStrategy), a huge queue for downloading is accumulating. It seems these requests should be terminated by timeout, but this does not happen. Moreover, these requests cannot be stopped by turning off the Internet.Only by taking JOSM Offline.
  1. Upload error messages to Continuos Download open in a separate window. There are no options in these windows, so it was logical to show these messages as notifications in the lower left corner. There they will close themselves no matter how many of them there are.
  1. In JOSM there is no (?) way to close all windows except the main one. This may seem like a solution to this particular problem, but I can cite a few more cases where multiple identical windows appear.
  • Continuos Download (even with BoxStrategy) sometimes shows several messages that the download area is too large No image "Снимок экрана 2021-10-30 в 16.18.41.png" attached to ticket
  • If you try to open https://osm.cupivan.ru/entrance / then JOSM will start opening windows to confirm remote editing. There may also be a lot of them No image "Снимок экрана 2021-10-30 в 16.51.32.png" attached to ticket

What is the expected result?

What happens instead?

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

Revision:18294
Is-Local-Build:true
Build-Date:2021-10-28 12:08:18

Identification: JOSM/1.5 (18294 SVN en) Mac OS X 11.6
OS Build number: macOS 11.6 (20G165)
Memory Usage: 768 MB / 2048 MB (470 MB allocated, but free)
Java version: 18-ea+18, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Screen: Display 69732352 1680×1050 (scaling 2.00×2.00)
Maximum Screen Size: 1680×1050
Best cursor sizes: 16×16→16×16, 32×32→32×32
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: en_RU
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djpackage.app-version=18294, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, --add-exports=java.base/sun.security.action=ALL-UNNAMED, --add-exports=java.desktop/com.apple.eawt=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=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, -Djpackage.app-path=/Applications/JOSM.app/Contents/MacOS/JOSM]

Plugins:
+ BuildingGeneralization (36)
+ Create_grid_of_ways (35640)
+ DirectDownload (35640)
+ EasyPresets (1623509627)
+ FastDraw (35640)
+ FixAddresses (35640)
+ HouseNumberTaggingTool (35814)
+ ImproveOsm (215)
+ ImproveWay (32)
+ MakeParallel (v1.1.0)
+ Mapillary (2.0.0-alpha.38)
+ OpeningHoursEditor (35640)
+ PicLayer (1.0.1)
+ PolygonCutOut (v0.7)
+ RelationDissolve (0.2.0)
+ alignways (35753)
+ apache-commons (35524)
+ apache-http (35589)
+ auto_tools (81)
+ buildings_tools (35823)
+ changeset-viewer (25)
+ comfort0 (35640)
+ conflation (0.6.8)
+ continuosDownload (99)
+ contourmerge (v0.1.8)
+ editgpx (35562)
+ ext_tools (35640)
+ graphview (35640)
+ gridify (1606242219)
+ jna (35662)
+ jts (35458)
+ junctionchecking (35640)
+ merge-overlap (35640)
+ photoadjust (35770)
+ rasterfilters (35774)
+ reltoolbox (35829)
+ reverter (35732)
+ russia-address-helper (0.5.1)
+ terracer (35827)
+ turnrestrictions (35640)
+ undelete (35640)
+ utilsplugin2 (35833)
+ waydownloader (35640)

Tagging presets:
+ https://raw.githubusercontent.com/ruosm-presets/literan-moscow/master/russian_shops.xml
+ https://josm.openstreetmap.de/josmfile?page=Presets/StreetCabinet&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/NewTags&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Playground_Equipment&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Quick-highways&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Quick-stops&zip=1
+ https://raw.githubusercontent.com/yopaseopor/traffic_signs_preset_JOSM/master/RU.zip
+ https://josm.openstreetmap.de/josmfile?page=Presets/OneClick&zip=1
+ <josm.userdata>/EasyPresets.xml
+ https://josm.openstreetmap.de/josmfile?page=Presets/BuildingPreset&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/WifiHotspots&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Manholes&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/MappingAccessibility&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Maxspeed-zones&zip=1

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/FixmeAndNote&zip=1
+ ${HOME}/JOSM/presets/style-power-voltage-color.mapcss
- ${HOME}/JOSM/presets/style-power-tower-solid/power-tower-solid.mapcss
+ https://raw.githubusercontent.com/species/josm-preset-traffic_sign_direction/master/direction.mapcss
- https://josm.openstreetmap.de/josmfile?page=Styles/Lit&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Maxspeed&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Power&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/PowerMapping&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Noname&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/NewHighwayColors&zip=1
- 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/Coloured_buildings&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/iD&zip=1
- https://github.com/bastik/mapcss-tools/raw/osm/mapnik2mapcss/osm-results/mapnik.zip
- https://raw.githubusercontent.com/yopaseopor/indoormap/master/indoormap-style.mapcss
- https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/NewParkingFeatures&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Maxspeed&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Surface&zip=1

Validator rules:
+ https://josm.openstreetmap.de/josmfile?page=Rules/KeepRight&zip=1
+ https://raw.githubusercontent.com/zetx16/Josm-HnumbValidator/master/ru-housenumber.validator.mapcss

Last errors/warnings:
- 00023.722 E: Failed to locate image 'pics/icons/Russian_Post.svg'
- 00023.722 W: [NODE, CLOSEDWAY, MULTIPOLYGON] Russian Post: Could not get presets icon pics/icons/Russian_Post.svg

Change History (5)

comment:1 by TrickyFoxy, 4 years ago

Description: modified (diff)

comment:2 by TrickyFoxy, 4 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.