BSData / wh40k-10e

Warhammer 40,000: 10th Edition
116 stars 93 forks source link

Cannot add wh40k-10e repo to battlescribe app #2319

Closed jinnonn closed 4 weeks ago

jinnonn commented 4 weeks ago

When trying to add 10e repo i get this error message:

Details:

com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 8 column 10
    at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:180)
    at com.google.gson.Gson.fromJson(Gson.java:755)
    at com.google.gson.Gson.fromJson(Gson.java:721)
    at com.google.gson.Gson.fromJson(Gson.java:670)
    at com.google.gson.Gson.fromJson(Gson.java:642)
    at net.battlescribe.a.c.e.d(BattleScribe:463)
    at net.battlescribe.desktop.common.RepositorySourceWindowController.a(BattleScribe:221)
    at net.battlescribe.desktop.common.RepositorySourceWindowController.access$downloadRepositorySource(BattleScribe:22)
    at net.battlescribe.desktop.common.RepositorySourceWindowController$a.a(BattleScribe:247)
    at net.battlescribe.desktop.common.RepositorySourceWindowController$a.call(BattleScribe:245)
    at javafx.graphics/javafx.concurrent.Task$TaskCallable.call(Unknown Source)
    at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.base/java.lang.Thread.run(Unknown Source)

-------------------- Caused By --------------------

java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 8 column 10
    at com.google.gson.stream.JsonReader.expect(JsonReader.java:339)
    at com.google.gson.stream.JsonReader.beginObject(JsonReader.java:322)
    at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:168)
    at com.google.gson.Gson.fromJson(Gson.java:755)
    at com.google.gson.Gson.fromJson(Gson.java:721)
    at com.google.gson.Gson.fromJson(Gson.java:670)
    at com.google.gson.Gson.fromJson(Gson.java:642)
    at net.battlescribe.a.c.e.d(BattleScribe:463)
    at net.battlescribe.desktop.common.RepositorySourceWindowController.a(BattleScribe:221)
    at net.battlescribe.desktop.common.RepositorySourceWindowController.access$downloadRepositorySource(BattleScribe:22)
    at net.battlescribe.desktop.common.RepositorySourceWindowController$a.a(BattleScribe:247)
    at net.battlescribe.desktop.common.RepositorySourceWindowController$a.call(BattleScribe:245)
    at javafx.graphics/javafx.concurrent.Task$TaskCallable.call(Unknown Source)
    at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.base/java.lang.Thread.run(Unknown Source)
Mad-Spy commented 4 weeks ago

We recommend switching to use New Recruit, https://newrecruit.eu/, instead of Battlescribe. The Battlescribe app was abandoned by its developer 4 years ago. New Recruit is being actively developed and is now the app of choice for the data author community. As a progressive web app, it can be "installed" on your devices and store data locally for offline use. You can import any existing lists.

If you choose to continue with Battlescribe, you will need to switch to using Gallery as the distribution site, as per https://github.com/BSData/gallery.

If you are on iOS, you will need to use the "Import Data from URL" option on the Manage Data screen, and enter the following URL - https://github.com/BSData/wh40k-10e/releases/latest/download/wh40k-10e.latest.bsi