ilgizar / ilgizar-candlestick-panel

Grafana candlestick panel plugin
MIT License
226 stars 54 forks source link

Load failure #15

Open w-p opened 6 years ago

w-p commented 6 years ago

Cloned today Grafana 5.0.4 Fails with the error below when adding to a dashboard.

Plugin Error
Unexpected token , Instantiating http://0.0.0.0:3000/public/plugins/ilgizar-candlestick-panel/candlestick_ctrl.js Loading http://0.0.0.0:3000/public/plugins/ilgizar-candlestick-panel/module.js Loading plugins/ilgizar-candlestick-panel/module
JamesGalt commented 6 years ago

how did you installed it?

w-p commented 6 years ago

git clone, npm install, grunt, unzip, and docker-compose up with ...

version: '3'

services:
  grafana:
    image: grafana/grafana:latest
    ports:
      - '3000:3000'
    volumes:
      - './dest/grafana/plugins:/var/lib/grafana/plugins'
      - './dest/grafana/grafana.ini:/etc/grafana/grafana.ini'
      - './dest/grafana/datasources:/etc/grafana/provisioning/datasources'

... where ./dest/grafana/plugins contains ...

dest/grafana/plugins/
└── ilgizar-candlestick-panel
    ├── dist
    │   ├── candlestick_ctrl.js
    │   ├── candlestick_ctrl.js.map
    │   ├── colors.js
    │   ├── colors.js.map
    │   ├── img
    │   │   └── icn-candlestick-panel.svg
    │   ├── indicators_ctrl.js
    │   ├── indicators_ctrl.js.map
    │   ├── module.js
    │   ├── module.js.map
    │   ├── partials
    │   │   ├── editor.html
    │   │   ├── indicators.html
    │   │   └── module.html
    │   ├── plugin.json
    │   ├── README.md
    │   ├── rendering.js
    │   ├── rendering.js.map
    │   └── vendor
    │       ├── jquery_flot_axislabels.js
    │       └── jquery_flot_candlestick.js
    ├── Gruntfile.js
    ├── LICENSE
    ├── package.json
    ├── README.md
    └── src
        ├── candlestick_ctrl.js
        ├── colors.js
        ├── img
        │   └── icn-candlestick-panel.svg
        ├── indicators_ctrl.js
        ├── module.js
        ├── partials
        │   ├── editor.html
        │   ├── indicators.html
        │   └── module.html
        ├── plugin.json
        ├── rendering.js
        └── vendor
            ├── jquery_flot_axislabels.js
            └── jquery_flot_candlestick.js
w-p commented 6 years ago

I've also tried older version going back to 4.5.2. Same error in each.

AntiTenzor commented 3 years ago

Could you please upgrade you plugin to make it compatible with current Grafana? How much would you like to get for this feature? (Currently I use Grafana v7.5.5 )