Giter Club home page Giter Club logo

Comments (7)

Apollon77 avatar Apollon77 commented on September 17, 2024 1

Idee Erinnerung: -inf vor dem parsen des json einfach ersetzen durch null.

from iobroker.hm-rega.

GermanBluefox avatar GermanBluefox commented on September 17, 2024

Warum sind ALLE "Timestamp" mit Zeilenumbruch????

 "2018-06-26
03:03:46"

from iobroker.hm-rega.

Apollon77 avatar Apollon77 commented on September 17, 2024

Weil log bestimmt irgendwo her kopiert wurde ;-). Alle Zeilenumbrüche entfernen und es bleiben zwei werte mit

-inf

Als value übrig die nicht json konform sind.

from iobroker.hm-rega.

derrapf avatar derrapf commented on September 17, 2024

Wenn man aus Iobroker den Button "Log herunterladen" drückt wird eine html Seite downgeloaded die aber kein echtes HTML ist sondern Text. Der Browser zeigt sie ohne Umbruch an. Wenn man sie in *.txt umbenennt und hochlädt entstehen die Zeilenumbrüche (Html kann man ja nicht hochladen). PS: Ich hatte auch Systemvariablen (String) mit dem Wert "???". Wäre das auch etwas das man abfangen müsste?

from iobroker.hm-rega.

Apollon77 avatar Apollon77 commented on September 17, 2024

Wenn es ein ??? In Anführungszeichen ist dann kein Problem.

from iobroker.hm-rega.

GermanBluefox avatar GermanBluefox commented on September 17, 2024

Ich bin der Meinung, dass Zeilenumbruch do da ist, sonst verstehe ich nicht, wieso JSON Parse Fehler kommt

from iobroker.hm-rega.

Apollon77 avatar Apollon77 commented on September 17, 2024

Im Forum Thread war das ganze json und ich habe die Zeilenumbrüche entfernt. Dann gab es zwei stellen mit

„value“: -inf,

Und -inf ist einfach kein valider Wert. Das ist das ungültige daran.

from iobroker.hm-rega.

Related Issues (20)

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.