Open GeoDerp opened 1 year ago
Cloned the repo, checked the hash manually. The hashes are correct based on the .toml. So i'm a little confused
My guess this has to do with line endings.My guess is those files have the "CRLF" line endings?
For the mean time Ill change those hex values manually on a fork. But from the sounds of things, there seems like there are some methods around this issue:
https://docs.github.com/en/get-started/getting-started-with-git/configuring-git-to-handle-line-endings https://dev.to/deadlybyte/please-add-gitattributes-to-your-git-repository-1jld https://github.com/packwiz/packwiz-example-pack/blob/v1/.gitattributes
I also tried running git add --renormalize .
, however that alone resulted in an new issue: (this includes trying the .gitattributes from * text=auto
to * -text
, havent tried "endOfLine": "CRLF")
minecraft-origins | Side changed, invalidating all mods
minecraft-origins | Failed to download modpack, the following errors were encountered:
minecraft-origins | temmies-origins: java.lang.Exception: Invalid mod file hash
minecraft-origins | at link.infra.packwiz.installer.metadata.IndexFile$File.downloadMeta(SourceFile:45)
minecraft-origins | at link.infra.packwiz.installer.DownloadTask.downloadMetadata(SourceFile:94)
minecraft-origins | at link.infra.packwiz.installer.UpdateManager.processIndex$lambda-9(SourceFile:310)
minecraft-origins | at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(Unknown Source)
minecraft-origins | at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source)
minecraft-origins | at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source)
minecraft-origins | at java.base/java.util.stream.ForEachOps$ForEachTask.compute(Unknown Source)
minecraft-origins | at java.base/java.util.concurrent.CountedCompleter.exec(Unknown Source)
minecraft-origins | at java.base/java.util.concurrent.ForkJoinTask.doExec(Unknown Source)
minecraft-origins | at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(Unknown Source)
minecraft-origins | at java.base/java.util.concurrent.ForkJoinPool.scan(Unknown Source)
minecraft-origins | at java.base/java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
minecraft-origins | at java.base/java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
minecraft-origins | Update cancelled by user!
minecraft-origins | [init] ERROR failed to run packwiz installer
Commands that resulted in error
Error