shells-dw / loupedeck-pihole Goto Github PK
View Code? Open in Web Editor NEWControl the Pi-Hole with your Loupedeck
License: MIT License
Control the Pi-Hole with your Loupedeck
License: MIT License
I Have tested your new release, works like a charm.
As everything else is translated and "calendard week" isn`t. Is it a bug or just a missing translation?
As the title says, I tried to install the plugin, which worked, but then it immediatly stops when loupedeck tries to load it.
I ran the troubleshooter and found the following in the logs. I tried 1.3.0 and 1.2.0, both failed to load. This log is for 1.3.0.
2023-01-22T02-36-49-1632 | 15 | ERROR | Error deserializing Loupedeck.PiholePlugin.Models.Summary. Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'Loupedeck.PiholePlugin.Models.Summary' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
2023-01-22T02-36-49-1642 | 15 | ERROR | (JsonSerializationException) Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'Loupedeck.PiholePlugin.Models.Summary' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
2023-01-22T02-36-49-1652 | 15 | WARN | JSON.NET: 'Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'Loupedeck.PiholePlugin.Models.Summary' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.' at ''
2023-01-22T02-36-49-1667 | 22 | ERROR | Exception caught: Func raised exception
2023-01-22T02-36-49-1672 | 22 | ERROR | (AggregateException) Mindestens ein Fehler ist aufgetreten.
2023-01-22T02-36-49-1677 | 22 | ERROR | (JsonSerializationException) Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'Loupedeck.PiholePlugin.Models.Summary' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
2023-01-22T02-36-49-1682 | 22 | ERROR | Exception details:
2023-01-22T02-36-49-1687 | 22 | ERROR | (AggregateException) Mindestens ein Fehler ist aufgetreten.
2023-01-22T02-36-49-1696 | 22 | ERROR | (JsonSerializationException) Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'Loupedeck.PiholePlugin.Models.Summary' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
2023-01-22T02-36-49-1702 | 22 | ERROR | Call stack:
2023-01-22T02-36-49-1801 | 22 | ERROR | System.Threading.Tasks.Task 1.GetResultCore(Boolean waitCompletionNotification)
2023-01-22T02-36-49-1806 | 22 | ERROR | Loupedeck.PiholePlugin.PiholePlugin.VerifyToken() - src\PiholePlugin\PiholePlugin.cs(116)
2023-01-22T02-36-49-1806 | 22 | ERROR | Loupedeck.PiholePlugin.PiholePlugin.Load() - src\PiholePlugin\PiholePlugin.cs(75)
2023-01-22T02-36-49-1811 | 22 | ERROR | Loupedeck.Plugin.TryLoad()
2023-01-22T02-36-49-1816 | 22 | ERROR | Loupedeck.Helpers+<>c__DisplayClass74_0 1.b__0()
2023-01-22T02-36-49-1816 | 22 | ERROR | ----------
2023-01-22T02-36-49-1826 | 22 | ERROR | Loupedeck.Tracer.Error(System.String message, System.Exception ex)
2023-01-22T02-36-49-1826 | 22 | ERROR | Loupedeck.Helpers+<>c__DisplayClass74_0 1.b__0()
2023-01-22T02-36-49-1831 | 22 | ERROR | System.Threading.Tasks.Task.Execute()
2023-01-22T02-36-49-1836 | 22 | ERROR | System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, Boolean preserveSyncCtx)
2023-01-22T02-36-49-1841 | 22 | ERROR | System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, Boolean preserveSyncCtx)
2023-01-22T02-36-49-1841 | 22 | ERROR | System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task& currentTaskSlot)
2023-01-22T02-36-49-1846 | 22 | ERROR | System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
2023-01-22T02-36-49-1851 | 22 | ERROR | System.Threading.ThreadPoolWorkQueue.Dispatch()
2023-01-22T02-36-49-1856 | 22 | ERROR | (JsonSerializationException) Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'Loupedeck.PiholePlugin.Models.Summary' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
2023-01-22T02-36-49-1861 | 22 | ERROR | Call stack:
2023-01-22T02-36-49-1881 | 22 | ERROR | Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureArrayContract(Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract)
2023-01-22T02-36-49-1881 | 22 | ERROR | Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList(Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, System.Object existingValue, System.String id)
2023-01-22T02-36-49-1886 | 22 | ERROR | Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue)
2023-01-22T02-36-49-1891 | 22 | ERROR | Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(Newtonsoft.Json.JsonReader reader, System.Type objectType, Boolean checkAdditionalContent)
2023-01-22T02-36-49-1896 | 22 | ERROR | Newtonsoft.Json.JsonSerializer.DeserializeInternal(Newtonsoft.Json.JsonReader reader, System.Type objectType)
2023-01-22T02-36-49-1896 | 22 | ERROR | Newtonsoft.Json.JsonConvert.DeserializeObject(System.String value, System.Type type, Newtonsoft.Json.JsonSerializerSettings settings)
2023-01-22T02-36-49-1901 | 22 | ERROR | Newtonsoft.Json.JsonConvert.DeserializeObject(System.String value, Newtonsoft.Json.JsonSerializerSettings settings)
2023-01-22T02-36-49-1906 | 22 | ERROR | Loupedeck.JsonHelpers.DeserializeObject(System.String value)
2023-01-22T02-36-49-1906 | 22 | ERROR | Loupedeck.PiholePlugin.PiHoleApiClient+d__8.MoveNext() - src\PiholePlugin\PiApiClient.cs(67)
2023-01-22T02-36-49-1911 | 22 | ERROR | ----------
2023-01-22T02-36-49-1916 | 22 | ERROR | Loupedeck.Tracer.Error(System.String message, System.Exception ex)
2023-01-22T02-36-49-1921 | 22 | ERROR | Loupedeck.Helpers+<>c__DisplayClass74_0 1.b__0()
2023-01-22T02-36-49-1921 | 22 | ERROR | System.Threading.Tasks.Task.Execute()
2023-01-22T02-36-49-1926 | 22 | ERROR | System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, Boolean preserveSyncCtx)
2023-01-22T02-36-49-1931 | 22 | ERROR | System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, Boolean preserveSyncCtx)
2023-01-22T02-36-49-1936 | 22 | ERROR | System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task& currentTaskSlot)
2023-01-22T02-36-49-1936 | 22 | ERROR | System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
2023-01-22T02-36-49-1941 | 22 | ERROR | System.Threading.ThreadPoolWorkQueue.Dispatch()
2023-01-22T02-36-49-1946 | 1 | ERROR | 'Load' method failed
2023-01-22T02-36-49-1956 | 1 | ERROR | Plugin not loaded
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.