Skip to content

Pack install fails due to unsupported characters in mod name #1266

@lupusagax

Description

@lupusagax

What Operating System

Linux (Debian)

Debug Code

ftb-app-logs-2025-04-29_16-36.zip

Describe the bug

Trying to install a pack fails with the following exception:

[16:25:09.436] [Long Running Executor 0/ERROR] [dev.ftb.app.task.InstallationOperation]: Fatal exception whilst preparing modpack installation.
dev.ftb.app.task.InstallationOperation$PrepareException: java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: §1Drodi's Illagers FA [V4.9.1].zip
	at dev.ftb.app.task.InstallationOperation.doOperation(InstallationOperation.java:43) ~[app-1.27.5-all.jar:?]
	at dev.ftb.app.task.LongRunningOperation.lambda$wrapOperation$0(LongRunningOperation.java:71) ~[app-1.27.5-all.jar:?]
	at net.covers1624.quack.util.SneakyUtils.lambda$concat$9(SneakyUtils.java:111) ~[app-1.27.5-all.jar:?]
	at java.util.concurrent.CompletableFuture$AsyncRun.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) ~[?:?]
Caused by: java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: §1Drodi's Illagers FA [V4.9.1].zip
	at sun.nio.fs.UnixPath.encode(Unknown Source) ~[?:?]
	at sun.nio.fs.UnixPath.<init>(Unknown Source) ~[?:?]
	at sun.nio.fs.UnixFileSystem.getPath(Unknown Source) ~[?:?]
	at java.nio.file.Path.resolve(Unknown Source) ~[?:?]
	at dev.ftb.app.data.modpack.ModpackVersionManifest$ModpackFile.toPath(ModpackVersionManifest.java:382) ~[app-1.27.5-all.jar:?]
	at dev.ftb.app.data.modpack.ModpackVersionManifest$ModpackFile.toPath(ModpackVersionManifest.java:378) ~[app-1.27.5-all.jar:?]
	at dev.ftb.app.install.InstanceInstaller.prepareFileDownloads(InstanceInstaller.java:446) ~[app-1.27.5-all.jar:?]
	at dev.ftb.app.install.InstanceInstaller.prepare(InstanceInstaller.java:207) ~[app-1.27.5-all.jar:?]
	at dev.ftb.app.task.InstallationOperation.doOperation(InstallationOperation.java:41) ~[app-1.27.5-all.jar:?]
	... 6 more

Steps to reproduce

  1. Using app image of FTB-app
  2. Try to install Craftoria 1.20.2 (curseforge pack)

Expected behaviour

Install should complete

Screenshots

No response

Additional information

Logs show install of FTB Evolution worked just fine.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions