ioBroker / ioBroker.vis-2

Next generation visualisation for ioBroker platform.
Other
29 stars 4 forks source link

[bug]: Seit Update auf 2.7 gehen die rgraph Widgets nicht mehr #195

Open smilie108 opened 11 months ago

smilie108 commented 11 months ago

No existing issues.

Describe the bug

Seit dem Update auf 2.7 funktionieren die rgraph Widegets nicht mehr. Feld wird angezeit aber keine Graphik mehr. Bedeutet wideget ist noch da aber mit folgenen meldungen im debug

<html><body>
<!--StartFragment-->
  | 2023-11-23 19:02:10.469 | error | 19 -
-- | -- | -- | --
web.0 | 2023-11-23 19:02:10.469 | error | 18 - T@http://192.168.1.91:8082/vis-2/static/js/main.f81a9437.js:2:8050259
web.0 | 2023-11-23 19:02:10.469 | error | 17 - V@http://192.168.1.91:8082/vis-2/static/js/main.f81a9437.js:2:8049726
web.0 | 2023-11-23 19:02:10.469 | error | 16 - oi@http://192.168.1.91:8082/vis-2/static/js/main.f81a9437.js:2:6642592
web.0 | 2023-11-23 19:02:10.469 | error | 15 - Vi@http://192.168.1.91:8082/vis-2/static/js/main.f81a9437.js:2:6650132
web.0 | 2023-11-23 19:02:10.469 | error | 14 - 34463/Vi/<@http://192.168.1.91:8082/vis-2/static/js/main.f81a9437.js:2:6649617
web.0 | 2023-11-23 19:02:10.469 | error | 13 - Ml@http://192.168.1.91:8082/vis-2/static/js/main.f81a9437.js:2:6637780
web.0 | 2023-11-23 19:02:10.469 | error | 12 - Hl@http://192.168.1.91:8082/vis-2/static/js/main.f81a9437.js:2:6638244
web.0 | 2023-11-23 19:02:10.469 | error | 11 - xl@http://192.168.1.91:8082/vis-2/static/js/main.f81a9437.js:2:6638471
web.0 | 2023-11-23 19:02:10.469 | error | 10 - componentDidMount@http://192.168.1.91:8082/vis-2/static/js/107.fd561332.chunk.js:1:275309
web.0 | 2023-11-23 19:02:10.469 | error | 9 - renderWidget@http://192.168.1.91:8082/vis-2/static/js/107.fd561332.chunk.js:1:295494
web.0 | 2023-11-23 19:02:10.469 | error | 8 - e.template@http://192.168.1.91:8082/vis-2/lib/js/can.custom.js:1401:47
web.0 | 2023-11-23 19:02:10.468 | error | 7 - renderAs@http://192.168.1.91:8082/vis-2/lib/js/can.custom.js:1465:39
web.0 | 2023-11-23 19:02:10.468 | error | 6 - renderTo@http://192.168.1.91:8082/vis-2/lib/js/can.custom.js:1449:63
web.0 | 2023-11-23 19:02:10.468 | error | 5 - r@http://192.168.1.91:8082/vis-2/lib/js/can.custom.js:1370:29
web.0 | 2023-11-23 19:02:10.468 | error | 4 - n/<@http://192.168.1.91:8082/vis-2/lib/js/can.custom.js:2223:26
web.0 | 2023-11-23 19:02:10.468 | error | 3 - n.prototype.render@http://192.168.1.91:8082/vis-2/lib/js/can.custom.js:2229:46
web.0 | 2023-11-23 19:02:10.468 | error | 2 - this.fn@tplRGgauge.js:3:26
web.0 | 2023-11-23 19:02:10.468 | error | 1 - tplRGgauge@http://192.168.1.91:8082/vis-2/edit.html#Home_F line 1 > injectedScript:682:30
web.0 | 2023-11-23 19:02:10.463 | error | 0  - TypeError: "width" is  read-onlycreateCanvas@http://192.168.1.91:8082/vis-2/edit.html#Home_F  line 1 > injectedScript:173:54
web.0 | 2023-11-23 19:02:10.460 | error | can't render tplRGgauge w000375 on "Home_F":

<!--EndFragment-->
</body>
</html>

To Reproduce

n

Expected behavior

n

Screenshots & Logfiles

n

Adapter version

2.7

js-controller version

5.0.16

Node version

v18.18.2

Operating system

Ubuntu

Additional context

No response

foxriver76 commented 10 months ago

web.0 | 2023-11-23 19:02:10.463 | error | 0 - TypeError: "width" is read-onlycreateCanvas@http://192.168.1.91:8082/vis-2/edit.html#Home_F line 1 > injectedScript:173:54

Error occurs in here: https://github.com/ioBroker/ioBroker.vis-2/blob/42b05f918eb1c6d08814fdea2367dc01a2901b5a/src/src/Vis/visCanWidget.jsx#L1185