Opened 6 years ago
Closed 6 years ago
#17348 closed defect (worksforme)
Sample file on https://learnosm.org/files/sample.osm is not open
Reported by: | Owned by: | team | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | |
Keywords: | template_report | Cc: |
Description (last modified by )
URL:https://josm.openstreetmap.de/svn/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2019-02-02 21:01:18 +0100 (Sat, 02 Feb 2019) Build-Date:2019-02-04 21:50:11 Revision:14760 Relative:URL: ^/trunk Identification: JOSM/1.5 (14760 de) Windows 10 64-Bit OS Build number: Windows 10 Home 1809 (17763) Memory Usage: 247 MB / 989 MB (87 MB allocated, but free) Java version: 1.8.0_202-b08, Oracle Corporation, Java HotSpot(TM) Client VM Screen: \Display0 1920x1080 Maximum Screen Size: 1920x1080 Plugins: + editgpx (34867) + imagery_offset_db (34867) + turnrestrictions (34867) Last errors/warnings: - W: No configuration settings found. Using hardcoded default values for all pools. - E: Handled by bug report queue: java.nio.file.InvalidPathException: Illegal char <:> at index 11: ShellFolder: 0x12\https:\learnosm.org\files\sample.osm - W: java.io.IOException: Die Syntax für den Dateinamen, Verzeichnisnamen oder die Datenträgerbezeichnung ist falsch === REPORTED CRASH DATA === BugReportExceptionHandler#handleException: No data collected. Warning issued by: BugReportExceptionHandler#handleException === STACK TRACE === Thread: main-worker-0 (49) of main java.nio.file.InvalidPathException: Illegal char <:> at index 11: ShellFolder: 0x12\https:\learnosm.org\files\sample.osm at sun.nio.fs.WindowsPathParser.normalize(Unknown Source) at sun.nio.fs.WindowsPathParser.parse(Unknown Source) at sun.nio.fs.WindowsPathParser.parse(Unknown Source) at sun.nio.fs.WindowsPath.parse(Unknown Source) at sun.nio.fs.WindowsFileSystem.getPath(Unknown Source) at java.io.File.toPath(Unknown Source) at org.openstreetmap.josm.io.Compression.getUncompressedFileInputStream(Compression.java:178) at org.openstreetmap.josm.gui.io.importexport.OsmImporter.importData(OsmImporter.java:81) at org.openstreetmap.josm.gui.io.importexport.FileImporter.importDataHandleExceptions(FileImporter.java:95) at org.openstreetmap.josm.actions.OpenFileAction$OpenFileTask.importData(OpenFileAction.java:367) at org.openstreetmap.josm.actions.OpenFileAction$OpenFileTask.realRun(OpenFileAction.java:319) at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:95) at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:143) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
Attachments (0)
Change History (6)
comment:1 by , 6 years ago
comment:2 by , 6 years ago
Owner: | changed from | to
---|
Ah, no, now I get it. You tried to open the url and that really fails. I'll have a look at it.
comment:3 by , 6 years ago
Not sure if the url is correct. This works with Ctrl+L "Download Location": https://learnosm.org/files/sample.osm
But with your url Firefox also downloads the file.
comment:4 by , 6 years ago
Owner: | changed from | to
---|
comment:5 by , 6 years ago
OK, sorry, you tried to open the correct URL with File->Open and that tries to process the given name as a local file which fails. As said before "Open Location" is the right way to open a url. Do you agree?
comment:6 by , 6 years ago
Description: | modified (diff) |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
There seems to be a special character in the path. Probably a paste+copy problem. The file https:\learnosm.org\files\sample.osm
is opened without problems.