Closed stewsters closed 7 years ago
I'll check tonight, I'm out of the house right now. I'll see if I can find the issue
On Sat, Sep 16, 2017, 03:20 Adrian Moore notifications@github.com wrote:
I am having some trouble with running this in ` $ ./gradlew build Starting a Gradle Daemon (subsequent builds will be faster) :compileJava UP-TO-DATE :processResources UP-TO-DATE :classes UP-TO-DATE :jar FAILED
FAILURE: Build failed with an exception.
- What went wrong: Execution failed for task ':jar'.
Could not expand ZIP '/home/bloodred/.gradle/caches/modules-2/files-2.1/thirdparty.frc.ctre/Toolsuite-Java/ 4.4.1.14/94160dbe0ab528f71d83ae75c900f1190984377f/Toolsuite-Java-4.4.1.14.jar '.
- Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 5.309 secs `
I tried cleaning and removing the file so it would download again, and it happened again. I tried unzipping the file from the CLI and I got this error:
~/code/robotics/rioTest$ unzip /home/bloodred/.gradle/caches/modules-2/files-2.1/thirdparty.frc.ctre/Toolsuite-Java/ 4.4.1.14/94160dbe0ab528f71d83ae75c900f1190984377f/Toolsuite-Java-4.4.1.14.jar Archive: /home/bloodred/.gradle/caches/modules-2/files-2.1/thirdparty.frc.ctre/Toolsuite-Java/ 4.4.1.14/94160dbe0ab528f71d83ae75c900f1190984377f/Toolsuite-Java-4.4.1.14.jar End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zipfile comment will be found on the last disk(s) of this archive. unzip: cannot find zipfile directory in one of /home/bloodred/.gradle/caches/modules-2/files-2.1/thirdparty.frc.ctre/Toolsuite-Java/ 4.4.1.14/94160dbe0ab528f71d83ae75c900f1190984377f/Toolsuite-Java-4.4.1.14.jar or /home/bloodred/.gradle/caches/modules-2/files-2.1/thirdparty.frc.ctre/Toolsuite-Java/ 4.4.1.14/94160dbe0ab528f71d83ae75c900f1190984377f/Toolsuite-Java-4.4.1.14.jar.zip, and cannot find /home/bloodred/.gradle/caches/modules-2/files-2.1/thirdparty.frc.ctre/Toolsuite-Java/ 4.4.1.14/94160dbe0ab528f71d83ae75c900f1190984377f/Toolsuite-Java-4.4.1.14.jar.ZIP, period.
Can you check to see if you can rm that file and re-download it? It might have gotten corrupted or something.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Open-RIO/GradleRIO/issues/41, or mute the thread https://github.com/notifications/unsubscribe-auth/AJyG6KGFED0ua97Q7wKGPnFYaUx7xfs3ks5sis3vgaJpZM4PZZ4T .
Oddly enough the Zip doesn't appear to be corrupted on my servers' end. I've successfully unzipped it on both linux and windows. Run ./gradlew build --refresh-dependencies
. If that still fails, run again with wpi { talonSrxVersion = "4.4.1.11" }
in your build.gradle and report back
Refreshing the dependencies worked. Closing issue.
I am having some trouble with running this in
I tried cleaning and removing the files so it would download again, and it happened again. I tried unzipping the file from the CLI and I got this error:
Not sure what to try now. They may have gotten corrupted or something. I am also running this on Linux, which may be part of it.