Download/unpack blocking bug on the CR launcher on a Mac

Status
Not open for further replies.

bahramu

New Member
Knight
Minecraft Username
bahramu
(I've been using the Twitch launcher, but today's server updates made me want to try and get this working in case it's fixable)

I've been having this problem with the new CR launcher, which smells like it's probably a minor logic bug that presumably only triggers on Macs:

"""
$ /Library/Java/JavaVirtualMachines/jdk-8-latest/Contents/Home/bin/java -jar Launcher.jar
[info] Found /Users/alice/Library/Application Support/CRLauncher/launcher/1571294185802.jar...
[info] Trying /Users/alice/Library/Application Support/CRLauncher/launcher/1571294185802.jar...
[info] Launcher loaded successfully.
[info] Launching with arguments [--dir, /Users/alice/Library/Application Support/CRLauncher, --bootstrap-version, 1]
[info] Bootstrap version 1 detected
[info] Using given base directory /Users/alice/Library/Application Support/CRLauncher
[info] Cleaning up temporary extracted files directory...
[info] Checking for update...
[info] Latest version is 1.0.6, while current is 1.0.6
[info] No update required.
[info] Enumerating instance list...
[info] omnifactory_-_1_2_1_-_endgame_update local instance found at /Users/alice/Library/Application Support/CRLauncher/instances/omnifactory_-_1_2_1_-_endgame_update
[info] glacial_awakening local instance found at /Users/alice/Library/Application Support/CRLauncher/instances/glacial_awakening
[info] Available remote instance: 'skyfactory4' at version 4.1.0
[info] Available remote instance: '1_14_4_vanilla' at version 0.0.0
[info] Available remote instance: 'rlcraft' at version v2.7.1
[info] Available remote instance: 'rr5' at version 5.0.0-pre.2
[info] Available remote instance: 'dd&ss' at version 6.2
[info] (omnifactory_-_1_2_1_-_endgame_update).setManifestURL(https://launcher.creationreborn.net/packages/omnifactory_-_1_2_1_-_endgame_update.json)
[info] Available remote instance: 'ftb_academy' at version 1.1.0
[info] Available remote instance: 'ftb_builders_paradise' at version 1.6.0
[info] (glacial_awakening).setManifestURL(https://launcher.creationreborn.net/packages/glacial_awakening.json)
[info] Available remote instance: 'ftb_presents_direwolf20_1_12' at version 2.5.0
[info] Available remote instance: 'vanilla_1_12_2' at version 1.12.2.0
[info] Available remote instance: '1_13_2_vanilla' at version 0.0.0
[info] Available remote instance: 'ftb_presents_stoneblock_2' at version 1.16.0
[info] 13 instance(s) enumerated.alice
"""

and then:
"""
[info] Created temporary directory /Users/alice/Library/Application Support/CRLauncher/temp/extract/1571813945209
[info] Building asset virtual tree at '/Users/alice/Library/Application Support/CRLauncher/assets/virtual/1.12'...
[info] Process ended; cleaning up /Users/alice/Library/Application Support/CRLauncher/temp/extract/1571813945209
[warning] Task failed
java.lang.RuntimeException: java.nio.file.FileAlreadyExistsException: /Users/alice/Library/Application Support/CRLauncher/temp/extract/1571813945209/com
at com.skcraft.launcher.install.ZipExtract.run(ZipExtract.java:52)
at com.skcraft.launcher.launch.Runner.addLibraries(Runner.java:208)
at com.skcraft.launcher.launch.Runner.call(Runner.java:136)
at com.skcraft.launcher.launch.Runner.call(Runner.java:45)
at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:125)
at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:69)
at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:78)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.nio.file.FileAlreadyExistsException: /Users/alice/Library/Application Support/CRLauncher/temp/extract/1571813945209/com
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:88)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
at sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:384)
at java.nio.file.Files.createDirectory(Files.java:674)
at java.nio.file.Files.createAndCheckIsDirectory(Files.java:781)
at java.nio.file.Files.createDirectories(Files.java:727)
at com.skcraft.launcher.install.ZipExtract.writeEntry(ZipExtract.java:80)
at com.skcraft.launcher.install.ZipExtract.run(ZipExtract.java:48)
... 9 more
"""

(edit: added the log lines preceeding the crash)
(edit#2: added *all* of the log lines preceeding the crash)
 
Last edited:

bahramu

New Member
Knight
Minecraft Username
bahramu
@LX_Gaming has fixed this and pushed the fix into the latest launcher release.

Can an a forum admin close this thread please?
 
Status
Not open for further replies.
Top