Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatible with ae3e-plotly-panel #235

Closed
RedShift1 opened this issue Oct 29, 2020 · 4 comments
Closed

Incompatible with ae3e-plotly-panel #235

RedShift1 opened this issue Oct 29, 2020 · 4 comments
Labels
bug Something isn't working

Comments

@RedShift1
Copy link

RedShift1 commented Oct 29, 2020

Grafana version 7.2.2 and also 7.1.5
plotly-panel version 0.3.1
agenty-flowcharting-panel version: 0.9.0

This plugin seems to be conflicting with ae3e-plotly-panel. When one is loaded prior to the other, the other will fail.

  1. Press CTRL+F5 for clean browser
  2. Go to dashboard with plotly panel: plotly-panel OK
  3. Go to dashboard with flowcharting panel: flowcharting fails to load
    Console:
loader.js:1237 Uncaught Error: Can only have one anonymous define call per script file
    at s.enqueueDefineAnonymousModule (loader.js:1237)
    at n (loader.js:1716)
    at <anonymous>:96:135
    at <anonymous>:96:268
    at w (jquery.js:129)
    at Function.globalEval (jquery.js:372)
    at text script (jquery.js:10139)
    at jquery.js:9260
    at S (jquery.js:9736)
    at XMLHttpRequest.<anonymous> (jquery.js:10047)
module.js:2 Error eval.call :  Error: Can only have one anonymous define call per script file
    at s.enqueueDefineAnonymousModule (loader.js:1237)
    at n (loader.js:1716)
    at eval (eval at evalRaw (module.js:NaN), <anonymous>:3:98)
    at eval (eval at evalRaw (module.js:NaN), <anonymous>:3:122)
    at eval (<anonymous>)
    at Object.evalRaw (module.js:2)
    at Function.value (module.js:2)
    at new t (module.js:2)
    at t.value (module.js:2)
    at t.value (module.js:2)
module.js:2 GF ERROR : Unable to initialize graph TypeError: Cannot set property 'mxBasePath' of undefined
    at Function.value (module.js:2)
    at Function.value (module.js:2)
    at new t (module.js:2)
    at t.value (module.js:2)
    at t.value (module.js:2)
    at eval (module.js:2)
    at Array.forEach (<anonymous>)
    at t.value (module.js:2)
    at e.value (module.js:2)
    at Object.link (plugin_component.ts:60)

image

  1. Press CTRL+F5 for clean browser
  2. Go to dashboard with flowcharting panel: flowcharting OK
  3. Go to dashboard with plotly panel: plotly-panel fails to load
@RedShift1 RedShift1 changed the title Panels sometimes fail to load with Grafana 7.2.2 Incompatible with ae3e-plotly-panel Oct 29, 2020
@RedShift1
Copy link
Author

ae3e/ae3e-plotly-panel#7

@algenty
Copy link
Owner

algenty commented Oct 30, 2020

Thx for your feedback, i will try

@algenty algenty added the bug Something isn't working label Oct 30, 2020
@RedShift1
Copy link
Author

Possible related to plotly/plotly.js#4563

ae3e added a commit to ae3e/ae3e-plotly-panel that referenced this issue Nov 4, 2020
@RedShift1
Copy link
Author

Issue was fixed by ae3e-plotly-panel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants