Opened 9 years ago

Last modified 9 years ago

#11457 closed defect

Cannot import zip files using JosmRemote for OpenData plugin — at Initial Version

Reported by: StefanB Owned by: Don-vip
Priority: normal Milestone: 15.05
Component: Core Version:
Keywords: template_report shapefile shp zip Cc:

Description

What steps will reproduce the problem?

  1. Call JOSM remote plugin http://127.0.0.1:8111/import?url=http%3A%2F%2Fraba.openstreetmap.si%2FRabaSplits_20150331_EPSG4326%2Fraba49dissJosm.zip
  1. Observe the JOSM console logging
    INFO: RemoteControl received: GET /import?url=http%3A%2F%2Fraba.openstreetmap.si%2FRabaSplits_20150331_EPSG4326%2Fraba49dissJosm.zip HTTP/1.1
    
  1. See the "The following download tasks accept the URL patterns shown:" dialog http://i.imgur.com/kFsc6ta.png

What is the expected result?

File should be imported using OpenData plugin.

What happens instead?

Error dialog gets shown, because URL (*.zip) doesn't match any predefined pattern.

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

File is ok, as it opens nicely if downloaded using browser from http://raba.openstreetmap.si/RabaSplits_20150331_EPSG4326/raba49dissJosm.zip to disk and dragged into JOSM.

Revision: 8339
Repository Root: http://josm.openstreetmap.de/svn
Relative URL: ^/trunk
Last Changed Author: stoecker
Last Changed Date: 2015-05-07 17:30:43 +0200 (Thu, 07 May 2015)
Build-Date: 2015-05-08 01:31:23
URL: http://josm.openstreetmap.de/svn/trunk
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last Changed Rev: 8339

Identification: JOSM/1.5 (8339 en) Windows 7 64-Bit
Memory Usage: 839 MB / 3598 MB (312 MB allocated, but free)
Java version: 1.8.0_25, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
VM arguments: [-Djava.security.manager, -Djava.security.policy=file:C:\Program Files\Java\jre1.8.0_25\lib\security\javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>\bin, -Djnlpx.origFilenameArg=C:\Users\stefan\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\56\1ee8cfb8-5fdcb48b, -Djnlpx.remove=false, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.splashport=50914, -Djnlp.application.href=https://josm.openstreetmap.de/download/josm.jnlp, -Djnlpx.jvm=<java.home>\bin\javaw.exe, -Djnlpx.vmargs=LURqYXZhLnV0aWwuQXJyYXlzLnVzZUxlZ2FjeU1lcmdlU29ydD10cnVlAC1Eam5scC5hcHBsaWNhdGlvbi5ocmVmPWh0dHBzOi8vam9zbS5vcGVuc3RyZWV0bWFwLmRlL2Rvd25sb2FkL2pvc20uam5scAA=]
Dataset consistency test: No problems found

Plugins:
- SimplifyArea (30962)
- geotools (31068)
- jts (31002)
- kendzi3d (1.0.184)
- kendzi3d-jogl (37)
- log4j (30892)
- opendata (31116)
- reverter (31120)
- todo (29154)
- utilsplugin2 (31120)

Change History (0)

Note: See TracTickets for help on using tickets.