packwiz / packwiz-installer

An installer for packwiz modpacks, with automatic auto-updating and optional mods! Works well with MultiMC and on servers.
https://packwiz.infra.link/
MIT License
54 stars 23 forks source link

Error when installing my pack #45

Closed AliceDTRH closed 2 years ago

AliceDTRH commented 2 years ago
java.lang.IllegalArgumentException: Expected URL scheme 'http' or 'https' but no scheme was found for 
    at okhttp3.HttpUrl$Builder.parse$okhttp(SourceFile:1261)
    at okhttp3.HttpUrl$Companion.get(SourceFile:1634)
    at link.infra.packwiz.installer.metadata.ModFile$Download$Companion$mapper$lambda-1$$inlined$decoder$1.invoke(SourceFile:223)
    at link.infra.packwiz.installer.metadata.ModFile$Download$Companion$mapper$lambda-1$$inlined$decoder$1.invoke(SourceFile:178)
    at link.infra.packwiz.installer.metadata.ModFile$Download$Companion$mapper$lambda-1$$inlined$decoder$2.invoke(SourceFile:153)
    at link.infra.packwiz.installer.metadata.ModFile$Download$Companion$mapper$lambda-1$$inlined$decoder$2.invoke(SourceFile:149)
    at cc.ekblad.toml.transcoding.TomlDecoder$decoderFor$1$1.invoke(SourceFile:48)
    at cc.ekblad.toml.transcoding.TomlDecoder$decoderFor$1$1.invoke(SourceFile:45)
    at cc.ekblad.toml.transcoding.TomlDecoderKt.decode(SourceFile:72)
    at cc.ekblad.toml.transcoding.TomlDecoderKt.toDataClass(SourceFile:172)
    at cc.ekblad.toml.transcoding.TomlDecoderKt.toObject(SourceFile:131)
    at cc.ekblad.toml.transcoding.TomlDecoderKt.decode(SourceFile:79)
    at cc.ekblad.toml.TomlMapper.decode(SourceFile:69)
    at link.infra.packwiz.installer.metadata.ModFile$Companion$mapper$lambda-1$$inlined$delegateTransitive$7.invoke(SourceFile:224)
    at link.infra.packwiz.installer.metadata.ModFile$Companion$mapper$lambda-1$$inlined$delegateTransitive$7.invoke(SourceFile:178)
    at link.infra.packwiz.installer.util._4KDelegationKt$delegateTransitive$$inlined$decoder$2.invoke(SourceFile:153)
    at link.infra.packwiz.installer.util._4KDelegationKt$delegateTransitive$$inlined$decoder$2.invoke(SourceFile:149)
    at cc.ekblad.toml.transcoding.TomlDecoder$decoderFor$1$1.invoke(SourceFile:48)
    at cc.ekblad.toml.transcoding.TomlDecoder$decoderFor$1$1.invoke(SourceFile:45)
    at cc.ekblad.toml.transcoding.TomlDecoderKt.decode(SourceFile:72)
    at cc.ekblad.toml.transcoding.TomlDecoderKt.toDataClass(SourceFile:172)
    at cc.ekblad.toml.transcoding.TomlDecoderKt.toObject(SourceFile:131)
    at cc.ekblad.toml.transcoding.TomlDecoderKt.decode(SourceFile:79)
    at cc.ekblad.toml.TomlMapper.decode(SourceFile:69)
    at link.infra.packwiz.installer.metadata.IndexFile$File.downloadMeta(SourceFile:99)
    at link.infra.packwiz.installer.DownloadTask.downloadMetadata(SourceFile:94)
    at link.infra.packwiz.installer.UpdateManager.processIndex$lambda-9(SourceFile:310)
    at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
    at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
    at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
    at java.base/java.util.stream.ForEachOps$ForEachTask.compute(ForEachOps.java:290)
    at java.base/java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:754)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)

It seems to work fine otherwise. All mods are from curseforge.

AliceDTRH commented 2 years ago

You can find the pack config files at https://github.com/AliceDTRH/ShelterFromTheStormPackwiz

comp500 commented 2 years ago

Does the error dialog say which file(s) caused this exception?

AliceDTRH commented 2 years ago

image I think all of them? But there's so many it's hard to say.

comp500 commented 2 years ago

What's the .index folder you have? This folder has .pw.toml files with url = "" (which I don't think should be valid, though the packwiz CLI might accept it).

AliceDTRH commented 2 years ago

Thank you for your response, I am sadly no longer using this software.