Roughly Enough Items Fabric/Forge/NeoForge (REI)

Roughly Enough Items Fabric/Forge/NeoForge (REI)

40M Downloads

[Bug] Export Recipe InvalidPathException

Trnrr opened this issue ยท 0 comments

commented

What happened?

Pressing F8 to export a recipe doesn't work. It says it was exported but nothing is saved in the rei_export folder. It looks like it's trying to use colons in the folder/file names.

java.nio.file.InvalidPathException: Illegal char <:> at index 86: C:\Users\USERNAME\Downloads\ATLauncherTemp\instances\Test1182\rei_exports\minecraft:plugins_crafting\minecraft:polished_diorite.png

Windows 10
Minecraft 1.18.2
REI 8.2.471

What mod loaders are you seeing the problem on?

Fabric

What do you think this bug is of?

  • Visual
  • Recipe Lookup
  • Cheat Mode
  • Plugin Integration / JEI Plugin Compatibility
  • Others

Relevant log output

[22:07:37] [REI-ReloadPlugins/INFO]: [REI] Reloaded Plugin Manager [REIServerPlugin] with 4 menu infos in 5ms.
[22:07:37] [Render thread/INFO]: Animated skins loaded and ready to use!
[22:07:49] [IO-Worker-40/ERROR]: Caught exception in thread Thread[IO-Worker-40,10,main]
java.nio.file.InvalidPathException: Illegal char <:> at index 86: C:\Users\USERNAME\Downloads\ATLauncherTemp\instances\Test1182\rei_exports\minecraft:plugins_crafting\minecraft:polished_diorite.png
	at sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182) ~[?:?]
	at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153) ~[?:?]
	at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77) ~[?:?]
	at sun.nio.fs.WindowsPath.parse(WindowsPath.java:92) ~[?:?]
	at sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:232) ~[?:?]
	at java.io.File.toPath(File.java:2387) ~[?:?]
	at net.minecraft.class_1011.method_4325(class_1011.java:425) ~[client-intermediary.jar:?]
	at me.shedaniel.rei.impl.client.gui.RecipeDisplayExporter.lambda$exportRecipe$0(RecipeDisplayExporter.java:119) ~[RoughlyEnoughItems-8.2.471.jar:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
	at java.lang.Thread.run(Thread.java:833) [?:?]

Anything else?

No response