Replay Mod Forums

ReplayMod won't save record files on linux
    • User
    • 2 forum posts
    MEGAGames549Offi
    #1

    Aug 13 19, 11:44 AM

    Hey,

    I was recording a long sequence using replay mod 1.14.4 and every time I quit the world I get an error:
    ---- Minecraft Crash Report ----
    // Shall we play a game?

    Time: 13/08/19 10:40
    Description: Saving replay file

    java.nio.file.FileSystemException: /mnt/LAMBDA/COMMON/MinecraftDir/Instances/1.14.3/.minecraft/./replay_recordings/2019_08_13_10_40_18.mcpr: Operation not permitted
    at sun.nio.fs.UnixException.translateToIOException(UnixException.java:91)
    at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
    at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
    at sun.nio.fs.UnixCopyFile.copyFile(UnixCopyFile.java:283)
    at sun.nio.fs.UnixCopyFile.move(UnixCopyFile.java:471)
    at sun.nio.fs.UnixFileSystemProvider.move(UnixFileSystemProvider.java:262)
    at java.nio.file.Files.move(Files.java:1395)
    at com.replaymod.replaystudio.replay.ZipReplayFile.save(ZipReplayFile.java:329)
    at com.replaymod.recording.packet.PacketListener.lambda$channelInactive$8(PacketListener.java:221)
    at java.lang.Thread.run(Thread.java:748)

    A detailed walkthrough of the error, its code path and all known details is as follows:
    ---------------------------------------------------------------------------------------

    -- System Details --
    Details:
    Minecraft Version: 1.14.4
    Minecraft Version ID: 1.14.4
    Operating System: Linux (amd64) version 5.0.0-21-generic
    Java Version: 1.8.0_222, Private Build
    Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Private Build
    Memory: 1086001832 bytes (1035 MB) / 1777336320 bytes (1695 MB) up to 2863661056 bytes (2731 MB)
    CPUs: 8
    JVM Flags: 2 total; -Xms1024m -Xmx3072m
    Fabric Mods:
    fabric: Fabric API 0.3.1+build.208
    fabric-api-base: fabric-api-base 0.1.0+b494ebeb42
    fabric-biomes-v1: fabric-biomes-v1 0.1.0+896c7fbb42
    fabric-commands-v0: fabric-commands-v0 0.1.1+b494ebeb42
    fabric-containers-v0: fabric-containers-v0 0.1.2+b494ebeb42
    fabric-content-registries-v0: fabric-content-registries-v0 0.1.1+b494ebeb42
    fabric-crash-report-info-v1: fabric-crash-report-info-v1 0.1.1+9f55aa7042
    fabric-events-interaction-v0: fabric-events-interaction-v0 0.1.1+9f55aa7042
    fabric-events-lifecycle-v0: fabric-events-lifecycle-v0 0.1.1+eff46b3d42
    fabric-item-groups-v0: fabric-item-groups-v0 0.1.0+1e69a0a542
    fabric-keybindings-v0: fabric-keybindings-v0 0.1.1+7dfef87c42
    fabric-loot-tables-v1: fabric-loot-tables-v1 0.1.0+b494ebeb42
    fabric-mining-levels-v0: fabric-mining-levels-v0 0.1.0+ab421b9c42
    fabric-models-v0: fabric-models-v0 0.1.0+5914746342
    fabric-networking-blockentity-v0: fabric-networking-blockentity-v0 0.1.1+b494ebeb42
    fabric-networking-v0: fabric-networking-v0 0.1.3+9f55aa7042
    fabric-object-builders-v0: fabric-object-builders-v0 0.1.1+9b03381f42
    fabric-registry-sync-v0: fabric-registry-sync-v0 0.2.2+9b03381f42
    fabric-renderer-api-v1: fabric-renderer-api-v1 0.1.1+9b03381f42
    fabric-renderer-indigo: fabric-renderer-indigo 0.1.10+f0fe03ff42
    fabric-rendering-data-attachment-v1: fabric-rendering-data-attachment-v1 0.1.0+b494ebeb42
    fabric-rendering-fluids-v1: fabric-rendering-fluids-v1 0.1.1+39442fc242
    fabric-rendering-v0: fabric-rendering-v0 0.1.1+6dad974e42
    fabric-resource-loader-v0: fabric-resource-loader-v0 0.1.2+232e294c42
    fabric-tag-extensions-v0: fabric-tag-extensions-v0 0.1.1+b494ebeb42
    fabric-textures-v0: fabric-textures-v0 0.1.4+b494ebeb42
    fabricloader: Fabric Loader 0.4.8+build.159
    litematica: Litematica 0.0.0-dev.20190720.191654
    malilib: MaLiLib 0.10.0-dev.20
    replaymod: Replay Mod 1.14.4-2.2.0-b7
    voxelmap: VoxelMap 1.9.13
    worldedit: WorldEdit 7.0.1-rc2;d822ccc

    and I don't find my replay at the Replay viewer menu.

    I am using linux (Pop_OS) the latest version and have Java 8 installed and used by my launcher (MultiMC)


    • Developer
    • 1828 forum posts
    johni0702
    #2

    Aug 13 19, 12:28 PM

    Make sure Minecraft can write to "/mnt/LAMBDA/COMMON/MinecraftDir/Instances/1.14.3/.minecraft/./replay_recordings/".
    Looks like it failed to move the temporary replay file to its destination.
    Did you do anything special to your "/tmp" directory or is there anything special to that "/mnt/LAMBDA" mount? It's working fine for me on QubesOS/Fedora29 (where /tmp is tmpfs and replay_recordings sits on ext4).


    • User
    • 2 forum posts
    MEGAGames549Offi
    #3

    Aug 14 19, 04:50 PM

    I did not really understood what you wanted to say by making sure that minecraft can write to replay_recordings, but I gave my user the permission t read-write and execute to the folder.

    I did not (at least I don't remember) do anything special to /tmp.

    but my /mnt/LAMBDA is not an ext4 it is an exfat
    The error that I got is FileSystemException, so I think that the problem is from the LAMBDA partition file format.
    I changed my MultiMC instance folder to ~/multimc/instances and IT WORKED.

    so the problem was from exfat format.

    Thank you for your answer and i hope you will add support of exfat file format.