PC-Logix / LanteaCraft

A Stargate-themed mod for Minecraft
http://lanteacraft.com
Other
43 stars 21 forks source link

LC2-21: [FATAL] Unable to generate Computer mount.: class java.io.FileNotFoundException: #425

Closed HydrantHunter closed 8 years ago

HydrantHunter commented 8 years ago

Submission checklist

No expected behavior beyond not generating the error.

Actual behavior

When loading my test map, I get the above error in the logs. Upon shutdown, the following is generated in the logs... [FATAL] Unable to garbage collect Computer mount.: class java.lang.RuntimeException: You didn't mount this location

From a user perspective, this doesn't seem to interfere with the operation of CC & LanteaCraft within the game.

Steps to reproduce

No special steps required that I'm aware of - simply load a map with LC2-21 stargates and ComputerCraft 1.75. Have at least one of the computers wrap a stargate.

System information

AfterLifeLochie commented 8 years ago

The underlying problem is that ComputerCraftScuffMount is not correctly generating the system mount path:

[DEBUG] Working path: file:/D:/Games/Sim/Minecraft/MultiMC/instances/LC2/minecraft/mods/LanteaCraft-1.7.10-21.jar
[FATAL] Unable to generate Computer mount.: class java.io.FileNotFoundException: file:\D:\Games\Sim\Minecraft\MultiMC\instances\LC2\minecraft\mods\LanteaCraft-1.7.10-21.jar (The filename, directory name, or volume label syntax is incorrect)
java.io.FileNotFoundException: file:\D:\Games\Sim\Minecraft\MultiMC\instances\LC2\minecraft\mods\LanteaCraft-1.7.10-21.jar (The filename, directory name, or volume label syntax is incorrect)

The path is correct, except the system is still appending the file:// prefix.

AfterLifeLochie commented 8 years ago

Should be fixed in commit bb3eeb6ab04b0ebda1dd60b0ed85259e20b54072.