How to find source of Failed to process script '%.1f'

  • Platform information:
    • Hardware: Raspberry pi3 + Sd
    • OS: Raspbian 11.11
    • Java Runtime Environment: openjdk17
    • openHAB version: 4.2.3
  • Issue of the topic: I messed the config, but can’t find where
  • Please post configurations (if applicable):
    • Items configuration related to the issue
    • Sitemap configuration related to the issue
    • Rules code related to the issue
    • Services configuration related to the issue
  • If logs where generated please post these here using code fences:
  • I am starting with OpenHab, and have started adding a few things. Last week. This week adding a few more things, I see that my openhab log fills with regular :
2024-12-14 11:42:46.520 [ERROR] [.module.script.profile.ScriptProfile] - Failed to process script '%.1f': Could not get script for UID '%.1f'.
2024-12-14 11:43:46.672 [ERROR] [.module.script.profile.ScriptProfile] - Failed to process script '%.1f': Could not get script for UID '%.1f'.
2024-12-14 11:44:46.524 [ERROR] [.module.script.profile.ScriptProfile] - Failed to process script '%.1f': Could not get script for UID '%.1f'.
2024-12-14 11:45:46.524 [ERROR] [.module.script.profile.ScriptProfile] - Failed to process script '%.1f': Could not get script for UID '%.1f'.
2024-12-14 11:46:46.529 [ERROR] [.module.script.profile.ScriptProfile] - Failed to process script '%.1f': Could not get script for UID '%.1f'.

I obviously of of the channels state or display state. The question is how can I find which without going through each item?
Can I grep through the setup yamls (did not find where they are located)? Of I can set the log level somewhere to give me additional information on this issue?

Thank you

Partial answer to self.

I grepped some more and I think I found the culprit in :
jsondb/org.openhab.core.thing.link.ItemChannelLink.json

 "configuration": {
        "properties": {
          "profile": "transform:JS",
          "stateFromItemScript": "%.1f",
          "toItemScript": "config:js:e692ec78de"
        }
      },

Could not find where this would be visible in the GUI though.

The UI follows very closely along the basic OH stucture ThingChannelLinkItem. If you want to see how you have configured a link, start with the relevant Thing, open the Channel tab, and expand the correct Channel list item to see the Items that are linked to it. Click on any of those Item names to see the link configuration page.

You can also go the other way if you know the Item instead. The Item details page includes a list of Channel Links towards the bottom.

Thank you,

I eventually found the item with the wrong setting using it’s name. I still have trouble figuring where the props are between things, channels and items, as the GUI are very similar for each item but somehow different.