CZDanol / loupedeck-weatherwidget

Weather widget plugin for Loupedeck
9 stars 2 forks source link

Loupedeck Version UI:6.0.0.20753;LPS:6.0.0.20749 Error #3

Open klausijoe opened 1 month ago

klausijoe commented 1 month ago

After updating Loupedeck I get only message "Index was outside the bounds of the array". Is there any workaround to fix it? Thanks!

yanus commented 1 month ago

I have the same issue since updating to Loupedeck 6. As far as I can tell, it is caused by Loupedeck replacing the custom property (location:API key) with a seemingly random string looking like this: 0B94ACD6D8CA4D21BAA15258CB72F600-7187C668A41042AD92FFBDA1E402D49E (the first part seems to be constant, the second changes for each instance of the widget)

I have tried compiling the plugin against the new Loupedeck version, but still the same. No idea what could be causing this strange behaviour. If I get around to it, I might try creating a plugin from scratch to check if it's a bug in the Loupedeck software. Maybe somebody has another idea in the meantime?

Edit: I am experiencing the same issue when creating a new plugin (even with the recent 6.0.1 update), so it seems to be a Loupedeck bug. I've submitted a support request, but haven't heard back from them. However, it is possible to build the plugin as an ActionEditorCommand instead of a PluginDynamicCommand.

yanus commented 3 weeks ago

While working on Loupedeck 6 compatibility, I made some pretty major changes and added features that would go far beyond a PR (or even a fork), so I created a new project here: https://github.com/yanus/LoupedeckWeatherPlugin Check it out, if you'd like.