Open gwontaeyong opened 6 years ago
I am having the same issue. Using the all-in-one container image.
Web 2.5.1
Machinery 2.6.2
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)
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