Giter Club home page Giter Club logo

Comments (8)

sospartan avatar sospartan commented on June 6, 2024

ping @simPod

from grafanajsondatasource.

simPod avatar simPod commented on June 6, 2024

I cannot reproduce the issue (I'm on grafana 5.3 though).

Try upgrading and if the problem persists, try to debug what's causing the issue. Thanks!

from grafanajsondatasource.

sospartan avatar sospartan commented on June 6, 2024

😢 I know nothing about TS or angular. Hope upgrading will fix this. 🙏

from grafanajsondatasource.

simPod avatar simPod commented on June 6, 2024

Placing several console.logs around the place where the error is thrown might bring some light into this eventually. No need for TS or angular (yet 😉 ). I suppose the debugging will first have to be made in grafana's code, not this plugin's.

from grafanajsondatasource.

zak-b2c2 avatar zak-b2c2 commented on June 6, 2024

He is not wrong, it happened to me when I updated the git repo.
But if I roll-back using git reset --hard f965b58, it works fine. And on a clean install using grafana-cli, it also does not work...

from grafanajsondatasource.

OloloevReal avatar OloloevReal commented on June 6, 2024

The same problem

Data source query result invalid, missing data field: [] query_ctrl.ts:25 timeseries angular.js:14700 TypeError: Cannot read property 'match' of null at u.$detectNewLine (index.js:6626) at u.insert (index.js:6698) at u.setValue (index.js:6606) at b.setValue (index.js:11971) at m (code_editor.ts:126) at Object.tt [as link] (code_editor.ts:122) at angular.js:1385 at angular.js:10539 at Re (angular.js:10545) at ie (angular.js:9934) "<code-editor content="ctrl.target.data" data-mode="json" on-change="ctrl.onChangeInternal()" data-max-lines="30" class=" ace_editor gf-code-dark ace_dark">" 

from grafanajsondatasource.

simPod avatar simPod commented on June 6, 2024

You're right, I was able to reproduce.

from grafanajsondatasource.

simPod avatar simPod commented on June 6, 2024

You can subscribe here to see when upgrade is released

grafana/grafana-plugin-repository#345

from grafanajsondatasource.

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.