Modify ↓
Opened 7 years ago
Closed 7 years ago
#16349 closed defect (duplicate)
Error when entering a directory containing a file with a non-ASCII character in its name
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | tested |
Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
- Make a directory with a gpx file having a non-ASCII character in its name; in my case there is a file named `20180523 182800 Horské kolo.gpx'.
- Invoke Open File dialog.
- Try to enter the directory.
Happens in both current tested and latest (13880).
What is the expected result?
Open File dialog displays content of the directory.
What happens instead?
Bug dialog appears.
Please provide any additional information below. Attach a screenshot if possible.
URL:https://josm.openstreetmap.de/svn/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2018-05-31 00:51:20 +0200 (Thu, 31 May 2018) Build-Date:2018-05-30 22:58:01 Revision:13878 Relative:URL: ^/trunk Identification: JOSM/1.5 (13878 en) Linux Debian GNU/Linux 9.4 (stretch) Memory Usage: 482 MB / 910 MB (379 MB allocated, but free) Java version: 1.8.0_171-8u171-b11-1~deb9u1-b11, Oracle Corporation, OpenJDK 64-Bit Server VM Screen: :0.0 1920x1200 Maximum Screen Size: 1920x1200 Java package: openjdk-8-jre:amd64-8u171-b11-1~deb9u1 Java ATK Wrapper package: libatk-wrapper-java:all-0.33.3-13+deb9u1 Plugins: + Tracer (34109) + osmarender (34096) + routes (34110) + tagging-preset-tester (34109) 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: Malformed input or input contains unmappable characters: ${HOME}/osm/neslovice/20180523 182800 Horsk�� kolo.gpx === REPORTED CRASH DATA === BugReportExceptionHandler#handleException: No data collected. Warning issued by: BugReportExceptionHandler#handleException === STACK TRACE === Thread: Basic L&F File Loading Thread (49) java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: /home/pdm/osm/neslovice/20180523 182800 Horsk�� kolo.gpx at sun.nio.fs.UnixPath.encode(UnixPath.java:147) at sun.nio.fs.UnixPath.<init>(UnixPath.java:71) at sun.nio.fs.UnixFileSystem.getPath(UnixFileSystem.java:281) at java.nio.file.Paths.get(Paths.java:84) at sun.awt.shell.ShellFolder.getShellFolder(ShellFolder.java:247) at javax.swing.filechooser.FileSystemView.getFiles(FileSystemView.java:490) at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread.run0(BasicDirectoryModel.java:239) at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread.run(BasicDirectoryModel.java:228)
Attachments (0)
Change History (4)
comment:1 by , 7 years ago
Owner: | changed from | to
---|---|
Status: | new → needinfo |
comment:2 by , 7 years ago
Resolution: | → invalid |
---|---|
Status: | needinfo → closed |
I had an old setting of LANG=czech for JOSM, which is no longer recognized by locale. Switching LANG to C.UTF-8 or cs_CZ.UTF-8 helps. Thank you for the hint, closing.
comment:3 by , 7 years ago
Resolution: | invalid |
---|---|
Status: | closed → reopened |
comment:4 by , 7 years ago
Resolution: | → duplicate |
---|---|
Status: | reopened → closed |
Closed as duplicate of #14596.
Note:
See TracTickets
for help on using tickets.
How do you start JOSM?
See e.g. #14596.