You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
t doesnt work. getEntityFromSitelink throws an exception
Dim api As WikibaseApi = New WikibaseApi("https://www.wikidata.org", "Wikibase.NET Example/0.1")
api.login("XXX", "YYYYY")
Dim entityProvider As New EntityProvider(api)
Dim languages = { "en", "cs"}
Dim entityBySitelink As Entity = entityProvider.getEntityFromSitelink("enwiki", "Prague", languages)
...
A first chance exception of type 'System.NotSupportedException' occurred in Wikibase.NET.dll
System.NotSupportedException: Unsupported type quantity
v Wikibase.DataValues.DataValueFactory.newDataValue(String type, JsonValue value)
v Wikibase.DataValues.DataValueFactory.newFromArray(JsonObject data)
v Wikibase.Snak.newFromArray(JsonObject data)
v Wikibase.Claim.fillData(JsonObject data)
v Wikibase.Statement.fillData(JsonObject data)
v Wikibase.Claim..ctor(Entity entity, JsonObject data)
v Wikibase.Statement..ctor(Entity entity, JsonObject data)
v Wikibase.Claim.newFromArray(Entity entity, JsonObject data)
v Wikibase.Entity.fillData(JsonObject data)
v Wikibase.Item.fillData(JsonObject data)
v Wikibase.Entity..ctor(WikibaseApi api, JsonObject data)
v Wikibase.Item..ctor(WikibaseApi api, JsonObject data)
The text was updated successfully, but these errors were encountered:
The quantity datatype is not supported, the newly introduced monolingual text neither.
My rework branch has the quantity already, and will have the monolingual text soon - see https://github.com/Ahoerstemeier/wikibase.net/tree/rework
t doesnt work. getEntityFromSitelink throws an exception
A first chance exception of type 'System.NotSupportedException' occurred in Wikibase.NET.dll
System.NotSupportedException: Unsupported type quantity
v Wikibase.DataValues.DataValueFactory.newDataValue(String type, JsonValue value)
v Wikibase.DataValues.DataValueFactory.newFromArray(JsonObject data)
v Wikibase.Snak.newFromArray(JsonObject data)
v Wikibase.Claim.fillData(JsonObject data)
v Wikibase.Statement.fillData(JsonObject data)
v Wikibase.Claim..ctor(Entity entity, JsonObject data)
v Wikibase.Statement..ctor(Entity entity, JsonObject data)
v Wikibase.Claim.newFromArray(Entity entity, JsonObject data)
v Wikibase.Entity.fillData(JsonObject data)
v Wikibase.Item.fillData(JsonObject data)
v Wikibase.Entity..ctor(WikibaseApi api, JsonObject data)
v Wikibase.Item..ctor(WikibaseApi api, JsonObject data)
The text was updated successfully, but these errors were encountered: