Modify

#23003 closed defect (duplicate)

Opening directory in file picker (non ASCII character file names?)

Reported by: anonymous Owned by: team
Priority: normal Milestone:
Component: Core Version: latest
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

What is the expected result?

What happens instead?

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

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2023-06-02 17:23:29 +0200 (Fri, 02 Jun 2023)
Revision:18746
Build-Date:2023-06-03 01:31:02
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (18746 en) Linux Freedesktop.org SDK 22.08 (Flatpak runtime)
Memory Usage: 676 MB / 7960 MB (385 MB allocated, but free)
Java version: 17.0.7+7, Flathub, OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Screen: :0.0 2560×1440 (scaling 1.00×1.00) :0.1 1440×900 (scaling 1.00×1.00)
Maximum Screen Size: 2560×1440
Best cursor sizes: 16×16→16×16, 32×32→32×32
Environment variable LANG: en_US.UTF-8
System property file.encoding: ANSI_X3.4-1968
System property sun.jnu.encoding: ANSI_X3.4-1968
Locale info: en_US
Numbers with default locale: 1234567890 -> 1234567890
Desktop environment: KDE
VM arguments: [--module-path=/app/share/openjfx/lib, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, -Djosm.restart=true, -Djava.net.useSystemProxies=true, --add-exports=java.base/sun.security.action=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED]
Dataset consistency test: No problems found

Plugins:
+ DirectDownload (36031)
+ FastDraw (36066)
+ ImageWayPoint (35893)
+ ImproveOsm (238)
+ Mapillary (2.1.4)
+ PicLayer (1.0.2)
+ apache-commons (36034)
+ apache-http (35924)
+ auto_tools (81)
+ buildings_tools (36011)
+ continuosDownload (1.3.4)
+ editgpx (36079)
+ fastdriveway (v1.0.1)
+ geochat (36079)
+ imagery_offset_db (36079)
+ jaxb (35952)
+ jna (36005)
+ jogl (1.2.3)
+ kendzi3d-resources (0.0.2)
+ log4j (36045)
+ openqa (v0.3.3)
+ pbf (36034)
+ utilsplugin2 (36079)
+ wikipedia (605)
+ wms-turbo-challenge2 (35939)

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/iD&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/Direction&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/Bench&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/Incline&zip=1
+ https://www.openrailwaymap.org/styles/standard.zip
- ${HOME}/.local/share/JOSM/styles/sit.mapcss
- https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Streets&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/MapWithAI&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/FixmeAndNote&zip=1
+ https://www.openrailwaymap.org/styles/josm-additional.zip
- https://josm.openstreetmap.de/josmfile?page=Styles/SidewalksAndFootways&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Cycleways&zip=1

Last errors/warnings:
- 00004.515 W: Failed to load Mappaint styles from '${HOME}/.local/share/JOSM/styles/sit.mapcss'. Exception was: java.nio.file.NoSuchFileException: ${HOME}/.local/share/JOSM/styles/sit.mapcss
- 00004.516 E: java.nio.file.NoSuchFileException: ${HOME}/.local/share/JOSM/styles/sit.mapcss
- 00044.027 E: Handled by bug report queue: java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: ${HOME}/Downloads/MD Lok��mie divdabji.pdf
- 00103.759 E: Handled by bug report queue: java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: ${HOME}/Downloads/MD Lok��mie divdabji.pdf



=== STACK TRACE ===
Thread: Basic L&F File Loading Thread (213)
java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: /home/ice/Downloads/MD Lok��mie divdabji.pdf
	at java.base/sun.nio.fs.UnixPath.encode(UnixPath.java:121)
	at java.base/sun.nio.fs.UnixPath.<init>(UnixPath.java:68)
	at java.base/sun.nio.fs.UnixFileSystem.getPath(UnixFileSystem.java:279)
	at java.base/java.nio.file.Path.of(Path.java:147)
	at java.base/java.nio.file.Paths.get(Paths.java:69)
	at java.desktop/sun.awt.shell.ShellFolder.getShellFolder(ShellFolder.java:265)
	at java.desktop/javax.swing.filechooser.FileSystemView.getFiles(FileSystemView.java:585)
	at java.desktop/javax.swing.plaf.basic.BasicDirectoryModel$FilesLoader.run0(BasicDirectoryModel.java:306)
	at java.desktop/javax.swing.plaf.basic.BasicDirectoryModel$FilesLoader.run(BasicDirectoryModel.java:295)
	at java.base/java.lang.Thread.run(Thread.java:833)

Attachments (0)

Change History (1)

comment:1 by taylor.smock, 12 months ago

Resolution: duplicate
Status: newclosed

Closed as duplicate of #14596.

Modify Ticket

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