Code Monkey home page Code Monkey logo

loupedeck-pihole's People

Contributors

shells-dw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

loupedeck-pihole's Issues

Calendar week translation

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?

Plugin installs, but fails to laod

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.