8000 Heatmap javascript have some error · Issue #131 · kerberos-io/web · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Jun 18, 2022. It is now read-only.

Heatmap javascript have some error #131

Open
gwontaeyong opened this issue Jul 23, 2018 · 2 comments
Open

Heatmap javascript have some error #131

gwontaeyong opened this issue Jul 23, 2018 · 2 comments

Comments

@gwontaeyong
Copy link

I run kerberosio in docker and i have my config_files.
to start kerberos io_docker_image in my config i'm mount that config_files into /etc/opt/kerberos/config in container
kerberos working well saving image, and show up many graphs except onething heatmap
when i click the heatmap button. the console show up the erro message like that

"Heat.js?bust=20170127:329 Uncaught DOMException: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The image argument is a canvas element with a width or height of 0."

If i run kerberos_docker_image without mount. all the funtion working well..
What i was know is there is no value related with heatmap in config_files.

Is there anything configuration ?? with heatmap?

Thank you

@thoraxe
Copy link
thoraxe commented May 16, 2019

I am having the same issue. Using the all-in-one container image.
Web 2.5.1
Machinery 2.6.2

@thoraxe
Copy link
thoraxe commented May 16, 2019

In FireFox I get the following error:

InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable Heat.js:9
    _drawAlpha http://192.168.1.41:8080/js/app/models/Heat.js?bust=20170127:9
    renderAll http://192.168.1.41:8080/js/app/models/Heat.js?bust=20170127:9
    on http://192.168.1.41:8080/js/app/models/Heat.js?bust=20170127:9
    emit http://192.168.1.41:8080/js/app/models/Heat.js?bust=20170127:9
    setData http://192.168.1.41:8080/js/app/models/Heat.js?bust=20170127:9
    setData http://192.168.1.41:8080/js/app/models/Heat.js?bust=20170127:9
    draw http://192.168.1.41:8080/js/app/controllers/dashboard_heatmap.js?bust=20170127:71
    drawBackground http://192.168.1.41:8080/js/app/controllers/dashboard_heatmap.js?bust=20170127:117

In Chrome, it's slightly different:

VM697 Heat.js:9 Uncaught DOMException: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The image argument is a canvas element with a width or height of 0.
    at d._drawAlpha (http://192.168.1.41:8080/js/app/models/Heat.js?bust=20170127:9:5579)
    at d.renderAll (http://192.168.1.41:8080/js/app/models/Heat.js?bust=20170127:9:4272)
    at http://192.168.1.41:8080/js/app/models/Heat.js?bust=20170127:9:7163
    at a.emit (http://192.168.1.41:8080/js/app/models/Heat.js?bust=20170127:9:7275)
    at d.setData (http://192.168.1.41:8080/js/app/models/Heat.js?bust=20170127:9:1961)
    at g.setData (http://192.168.1.41:8080/js/app/models/Heat.js?bust=20170127:9:8230)
    at http://192.168.1.41:8080/js/app/controllers/dashboard_heatmap.js?bust=20170127:71:42
    at HTMLVideoElement.<anonymous> (http://192.168.1.41:8080/js/app/controllers/dashboard_heatmap.js?bust=20170127:117:21)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels 3B77
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0