Trajectory Plugin errors
-
Good morning, it seems, that the Trajectory Plugin does not work since yesterday. In the morning it worked well, in the evening I got an error message. Error still occurs today in the morning, on Chrome and Firefox.
Error no: 1
{
"errorID": "failed-to-call-timestamp-with-data-1702964875190null-can",
"timestamp": 1702964910642,
"runningMs": 39088,
"type": "user",
"module": "Evented",
"msg": "Failed to call timestamp with data [1702964875190,null]: Cannot read properties of undefined (reading 'findIndex')",
"line": null,
"col": null,
"url": "https://www.windy.com/plugins/windy-plugin-traj?47.868,11.646,10,m:eYZaguv",
"script": null,
"ver": "41.0.2",
"target": "index",
"stack": "TypeError: Cannot read properties of undefined (reading 'findIndex')
at ee (https://unpkg.com/windy-plugin-traj:1:47305)
at n.de (https://unpkg.com/windy-plugin-traj:1:49403)
at n.value (https://www.windy.com/v/41.0.2.ind.909b/index.js:1:26273)
at n.value (https://www.windy.com/v/41.0.2.ind.909b/index.js:1:36450)
at n.value (https://www.windy.com/v/41.0.2.ind.909b/index.js:1:36895)
at https://www.windy.com/v/41.0.2.ind.909b/index.js:1:287563",
"platform": "desktop",
"error": " {
"stack": "TypeError: Cannot read properties of undefined (reading 'findIndex')
at ee (https://unpkg.com/windy-plugin-traj:1:47305)
at n.de (https://unpkg.com/windy-plugin-traj:1:49403)
at n.value (https://www.windy.com/v/41.0.2.ind.909b/index.js:1:26273)
at n.value (https://www.windy.com/v/41.0.2.ind.909b/index.js:1:36450)
at n.value (https://www.windy.com/v/41.0.2.ind.909b/index.js:1:36895)
at https://www.windy.com/v/41.0.2.ind.909b/index.js:1:287563",
"message": "Cannot read properties of undefined (reading 'findIndex')"
}",
"isOnline": true,
"size": "1920x1080",
"latestBcast": "bcast: pluginOpened picker (4685ms ago at 1702964905957)
store: pickerLocation (4582ms ago at 1702964906060)
store: calendar (2ms ago at 1702964910640)
store: lastModified (1ms ago at 1702964910641)
store: timestamp (0ms ago at 1702964910642)"
}Error no: 2
{
"errorID": "script-error",
"timestamp": 1702964910738,
"runningMs": 39184,
"type": "error",
"msg": "Script error.",
"line": 0,
"col": 0,
"url": "https://www.windy.com/plugins/windy-plugin-traj?47.868,11.646,10,m:eYZaguv",
"script": "",
"ver": "41.0.2",
"target": "index",
"platform": "desktop",
"error": " null (unable to serialize object: Cannot convert undefined or null to object)",
"isOnline": true,
"size": "1920x1080",
"latestBcast": "store: lastModified (97ms ago at 1702964910641)
store: timestamp (96ms ago at 1702964910642)
store: availAcTimes (94ms ago at 1702964910644)
store: prefferedProduct icon (94ms ago at 1702964910644)
store: product iconD2 (94ms ago at 1702964910644)"
}*Is it a common error or only on my PC?
-
@TG1783 Hi, this is caused by the latest update to v.41, released yesterday. @rittels, could you please take a look at this issue? We've made a lot of changes this year and our product team was not able to communicate this earlier with you, since we wanted to release this version before the end of the year, so I would like to apologize for not communicating this in advance.
-
@Ondřej-Šutera
Thx. Will try to fix this evening. I see InterTimestamps in products calendar has been removed. This is needed to determine path from ts.
This will affect most of my plugins.
-
@Ondřej-Šutera
This has been a source of frustration repeatedly
Can I suggest to introduce automated regression testing of - at least showcased - plugins before the next update?
at least basic health check for minimal functionality could go a long way
Michael