TerraFirmaCraft-The-Final-Frontier / FileDirector

Automated mod/file downloading.
https://www.curseforge.com/minecraft/mc-mods/filedirector
MIT License
8 stars 5 forks source link

Crash on modify file: `FileSystemException: �������` #13

Open Krutoy242 opened 10 months ago

Krutoy242 commented 10 months ago

I have file twilighttweaks-1.12.2-v1.0.2.jar.jar and want to disable / rename / remove it. Everything is crashing game loading with this error:

[main/ERROR] [ModDirector/ConfigurationController[CORE]]: Failed to open a configuration for reading!
java.nio.file.FileSystemException: E:\mc_client\GDLuncher\instances\E2E-E\minecraft\mods\twilighttweaks-1.12.2-v1.0.2.jar.jar: ������� �� ����� �������� ������ � �����, ��� ��� ���� ���� ����� ������ ���������.

    at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86) ~[?:1.8.0_352]
    at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97) ~[?:1.8.0_352]
    at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102) ~[?:1.8.0_352]
    at sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269) ~[?:1.8.0_352]
    at sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:103) ~[?:1.8.0_352]
    at java.nio.file.Files.delete(Files.java:1126) ~[?:1.8.0_352]
    at net.jan.moddirector.core.configuration.ConfigurationController.handleModifyConfig(ConfigurationController.java:197) ~[ConfigurationController.class:1.8.0-SNAPSHOT]

I dont understand why i see symbols but this may be related to the fact that i have Ru localized Windows.

Example of config:

{
    "folder": "mods",
    "fileName": "twilighttweaks-1.12.2-v1.0.2.jar.jar",
    "delete": true
}

Also, it may be related that im using symlinks for minecraft folder.

debug.log

Krutoy242 commented 7 months ago

Issue still actual 👀

ACGaming commented 1 month ago

Is this reproducible when not using symlinks? Please provide your File Director config files as well!

Krutoy242 commented 1 month ago

I will try to reproduce it later.

Krutoy242 commented 2 days ago

I think I will not test it. This would require me to install the twilighttweaks mod again and rearrange my dev environment to not using symlinks for a test, what require a lot of time. Since I managed to avoid necessary of modifying file already, I think i will return to the issue when be required to rename or move something else.