I started using the operato-windrose plugin this summer and it worked really well.
I’ve just set my kit up again today and the plugin is crashing, the only thing that has changed is that I have run the standard updates on my ubuntu servers.
[edit] this happens on both grafana 11.1.0 and 11.3.0
[edit 2] just rolled back to grafana 10.4.11 and get the same error
I have no idea how to fix this, any and all help is appreciated.
[edit 3] here is my query which was working properly
from(bucket: “Wind_Data”)
|> range(start: v.timeRangeStart, stop: v.timeRangeStop)
|> filter(fn: (r) => r[“_measurement”] == “YNwind_data”)
|> filter(fn: (r) => r[“Node”] == “23f0”)
|> filter(fn: (r) => r[“_field”] == “peak_Speed” or r[“_field”] == “windDirection”)
|> group(columns:[“_field”])
|> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false )
|> keep(columns:[“_field”, “_value”, “_time”])
|> pivot(rowKey: [“_time”], columnKey: [“_field”], valueColumn: “_value”)
|> rename(columns:{windDirection: “wind_direction”, peak_Speed: “wind_speed”})
In the chrome developer tab I get this error:
react-dom.production.min.js:189 TypeError: Cannot read properties of undefined (reading ‘values’)
at dataUtils.ts:13:47
at WindrosePanel.tsx:78:25
at el (react-dom.production.min.js:167:137)
at Rf (react-dom.production.min.js:290:337)
at Cf (react-dom.production.min.js:280:389)
at Qf (react-dom.production.min.js:280:320)
at Cl (react-dom.production.min.js:280:180)
at bc (react-dom.production.min.js:271:88)
at Ef (react-dom.production.min.js:273:300)
at Ls (react-dom.production.min.js:127:105)
In both Chrome and Firefox the grafana error is:
An unexpected error happened
Details
TypeError: Cannot read properties of undefined (reading ‘values’)
at https://grafana.mywebsite.co.uk/public/plugins/operato-windrose-panel/module.js?_cache=1.2.0:1:10028
at r (https://grafana.mywebsite.co.uk/public/build/322.9e448e90c86f8dd2907e.js:1:518)
at g (https://grafana.mywebsite.co.uk/public/build/322.9e448e90c86f8dd2907e.js:12:133441)
at i (https://grafana.mywebsite.co.uk/public/build/322.9e448e90c86f8dd2907e.js:12:133950)
at div
at section
at M (https://grafana.mywebsite.co.uk/public/build/322.9e448e90c86f8dd2907e.js:32:26269)
at div
at div
at d_ (https://grafana.mywebsite.co.uk/public/build/3379.020d2edcd8eb1d9f6d9a.js:39:328501)
at Jt (https://grafana.mywebsite.co.uk/public/build/3379.020d2edcd8eb1d9f6d9a.js:39:138778)
at Component (https://grafana.mywebsite.co.uk/public/build/322.9e448e90c86f8dd2907e.js:307:55787)
at Jt (https://grafana.mywebsite.co.uk/public/build/3379.020d2edcd8eb1d9f6d9a.js:39:138778)
at div
at div
at div
at n (https://grafana.mywebsite.co.uk/public/build/322.9e448e90c86f8dd2907e.js:159:37362)
at div
at X (https://grafana.mywebsite.co.uk/public/build/322.9e448e90c86f8dd2907e.js:194:22907)
at Yn (https://grafana.mywebsite.co.uk/public/build/322.9e448e90c86f8dd2907e.js:278:51310)
at Jt (https://grafana.mywebsite.co.uk/public/build/3379.020d2edcd8eb1d9f6d9a.js:39:138778)
at z0 (https://grafana.mywebsite.co.uk/public/build/3379.020d2edcd8eb1d9f6d9a.js:39:381316)
at In (https://grafana.mywebsite.co.uk/public/build/8779.5dae8c32eee2bd40de3c.js:1:2522)
at Xo (https://grafana.mywebsite.co.uk/public/build/8779.5dae8c32eee2bd40de3c.js:51:32923)
at Suspense
at g (https://grafana.mywebsite.co.uk/public/build/322.9e448e90c86f8dd2907e.js:12:133441)
at th (https://grafana.mywebsite.co.uk/public/build/322.9e448e90c86f8dd2907e.js:2378:39173)
at tt (https://grafana.mywebsite.co.uk/public/build/3379.020d2edcd8eb1d9f6d9a.js:295:25340)
at Re (https://grafana.mywebsite.co.uk/public/build/3379.020d2edcd8eb1d9f6d9a.js:295:4574)
at ot (https://grafana.mywebsite.co.uk/public/build/3379.020d2edcd8eb1d9f6d9a.js:295:12212)
at zt (https://grafana.mywebsite.co.uk/public/build/3379.020d2edcd8eb1d9f6d9a.js:286:18055)
at tt (https://grafana.mywebsite.co.uk/public/build/3379.020d2edcd8eb1d9f6d9a.js:295:27534)
at div
at https://grafana.mywebsite.co.uk/public/build/3719.c065b2e146c4c8347d51.js:1:135436
at main
at div
at div
at div
at Pf (https://grafana.mywebsite.co.uk/public/build/322.9e448e90c86f8dd2907e.js:2380:4677)
at Af (https://grafana.mywebsite.co.uk/public/build/322.9e448e90c86f8dd2907e.js:2380:9995)
at Re (https://grafana.mywebsite.co.uk/public/build/3379.020d2edcd8eb1d9f6d9a.js:295:4574)
at ot (https://grafana.mywebsite.co.uk/public/build/3379.020d2edcd8eb1d9f6d9a.js:295:12212)
at Ke (https://grafana.mywebsite.co.uk/public/build/3379.020d2edcd8eb1d9f6d9a.js:295:11545)
at un (https://grafana.mywebsite.co.uk/public/build/3379.020d2edcd8eb1d9f6d9a.js:286:18357)
at y (https://grafana.mywebsite.co.uk/public/build/322.9e448e90c86f8dd2907e.js:5:188596)
at tt (https://grafana.mywebsite.co.uk/public/build/3379.020d2edcd8eb1d9f6d9a.js:295:21503)
at Kc (https://grafana.mywebsite.co.uk/public/build/322.9e448e90c86f8dd2907e.js:2380:11398)
at div
at Xl (https://grafana.mywebsite.co.uk/public/build/322.9e448e90c86f8dd2907e.js:2378:18744)
at y (https://grafana.mywebsite.co.uk/public/build/3379.020d2edcd8eb1d9f6d9a.js:151:9173)
at C (https://grafana.mywebsite.co.uk/public/build/4239.c2eca2b0222ddf40980b.js:183:17550)
at d (https://grafana.mywebsite.co.uk/public/build/3719.c065b2e146c4c8347d51.js:24:12171)
at g (https://grafana.mywebsite.co.uk/public/build/322.9e448e90c86f8dd2907e.js:12:133441)
at i (https://grafana.mywebsite.co.uk/public/build/322.9e448e90c86f8dd2907e.js:12:133950)
at pn (https://grafana.mywebsite.co.uk/public/build/4239.c2eca2b0222ddf40980b.js:187:507)
at jf (https://grafana.mywebsite.co.uk/public/build/322.9e448e90c86f8dd2907e.js:2380:13056)