Archived

This topic is now archived and is closed to further replies.

  • 0
TiltedZephi

Custom modpack unzipping error

Question

Hello everyone,

so i got a problem with my own modpack.

Everytime i try to install it, it downloads the .zip with the data. After that it fails unzipping everything.

This is the console log:

[B#349] net.technicpack.rest.RestfulAPIException: Error parsing response JSON at URL [http://solder.umslondon.net/api/modpack/]
[B#349]     at net.technicpack.rest.RestObject.getRestObject(RestObject.java:155)
[B#349]     at net.technicpack.solder.http.HttpSolderApi.getMirrorUrl(HttpSolderApi.java:59)
[B#349]     at net.technicpack.solder.cache.CachedSolderApi.getMirrorUrl(CachedSolderApi.java:134)
[B#349]     at net.technicpack.platform.PlatformPackInfoRepository.getInfoFromPlatformInfo(PlatformPackInfoRepository.java:72)
[B#349]     at net.technicpack.platform.PlatformPackInfoRepository.getPlatformPackInfo(PlatformPackInfoRepository.java:60)
[B#349]     at net.technicpack.platform.PlatformPackInfoRepository.getPackInfo(PlatformPackInfoRepository.java:46)
[B#349]     at net.technicpack.launchercore.modpacks.PackLoadJob$5.run(PackLoadJob.java:180)
[B#349]     at java.lang.Thread.run(Unknown Source)
[B#349] Caused by: com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $
[B#349]     at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:200)
[B#349]     at com.google.gson.Gson.fromJson(Gson.java:810)
[B#349]     at com.google.gson.Gson.fromJson(Gson.java:775)
[B#349]     at com.google.gson.Gson.fromJson(Gson.java:724)
[B#349]     at com.google.gson.Gson.fromJson(Gson.java:696)
[B#349]     at net.technicpack.rest.RestObject.getRestObject(RestObject.java:139)
[B#349]     ... 7 more
[B#349] Caused by: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $
[B#349]     at com.google.gson.stream.JsonReader.beginObject(JsonReader.java:387)
[B#349]     at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:189)
[B#349]     ... 12 more
[B#349] net.technicpack.rest.RestfulAPIException: Error parsing response JSON at URL [http://solder.umslondon.net/api/modpack/]
[B#349]     at net.technicpack.rest.RestObject.getRestObject(RestObject.java:155)
[B#349]     at net.technicpack.solder.http.HttpSolderApi.getMirrorUrl(HttpSolderApi.java:59)
[B#349]     at net.technicpack.solder.cache.CachedSolderApi.getMirrorUrl(CachedSolderApi.java:134)
[B#349]     at net.technicpack.platform.PlatformPackInfoRepository.getInfoFromPlatformInfo(PlatformPackInfoRepository.java:72)
[B#349]     at net.technicpack.platform.PlatformPackInfoRepository.getPlatformPackInfo(PlatformPackInfoRepository.java:60)
[B#349]     at net.technicpack.platform.PlatformPackInfoRepository.getPackInfo(PlatformPackInfoRepository.java:46)
[B#349]     at net.technicpack.launchercore.modpacks.PackLoadJob$5.run(PackLoadJob.java:180)
[B#349]     at java.lang.Thread.run(Unknown Source)
[B#349] Caused by: com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $
[B#349]     at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:200)
[B#349]     at com.google.gson.Gson.fromJson(Gson.java:810)
[B#349]     at com.google.gson.Gson.fromJson(Gson.java:775)
[B#349]     at com.google.gson.Gson.fromJson(Gson.java:724)
[B#349]     at com.google.gson.Gson.fromJson(Gson.java:696)
[B#349]     at net.technicpack.rest.RestObject.getRestObject(RestObject.java:139)
[B#349]     ... 7 more
[B#349] Caused by: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $
[B#349]     at com.google.gson.stream.JsonReader.beginObject(JsonReader.java:387)
[B#349]     at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:189)
[B#349]     ... 12 more
 

And here is the install link:http://api.technicpack.net/modpack/mc-ioi

Thank you in advance.

Edit: Posted the full red console log now for some reason i thought that was all.

Share this post


Link to post
Share on other sites

8 answers to this question

3 hours ago, AetherPirate said:

Mediafire does not work with the launcher. 

Same error :/

Any other fix suggetions?

Share this post


Link to post
Share on other sites
1 hour ago, AetherPirate said:

Did you increment your pack version in Modpack Settings?

Nope but i tried it now and it didnt work.

Share this post


Link to post
Share on other sites

Something is wrong with way it is being hosted. That link gives a 302, when you need a 200. A 302 means a redirect, the zip file needs to be a direct link. 

Share this post


Link to post
Share on other sites

Well it is downloaded already and laying in the cache (at least for me),but it cant be unzipped and the solder link takes me to a blank site.

Anybody got a clue what is causing this?

 

Share this post


Link to post
Share on other sites