Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting "Resolving scripting modules failed" on every request with a script #258

Open
tweidema opened this issue Nov 13, 2024 · 1 comment
Labels
bug Something isn't working status:doing We are working on this

Comments

@tweidema
Copy link

Describe the bug
Currently on pro-version trial. Every gRPC call that has anything in the script tab, shows "Resolving scripting modules failed" with a grey triangle with an exclamation mark in the bottom bar of the window when it runs. The script seems to run as expected, but that error-message is shown.

To Reproduce
I call a gRPC service that returns an attribute, shown like this in Response tab:

{
  "attribute": {
    "id": "965",
    ...
}

For that I have this script:

kreyaGrpc.onResponse ( msg => {
   kreya.variables.set("attributeId", msg.content.attribute.id)
   kreya.trace("attributeId: "
    + kreya.variables.get("attributeId"))
})

I get this in the trace tab:

07:12:13.025] ScriptMessage
               message: attributeId: 965 

So obviously the script executed as expected, the variable is set from the response and logged.

Expected behavior
No error shown.

Screenshots
Look at the bottom left of the window where the error is shown. It disappears by itself after a few seconds.
screenshot

Environment (if possible, copy the information from the error dialog or the About menu):

  • OS: Description: Ubuntu 20.04.6 LTS
  • Kreya Version 1.15.0
@tweidema tweidema added the bug Something isn't working label Nov 13, 2024
@CommonGuy
Copy link
Contributor

Can reproduce this. We will fix this in the upcoming release

@CommonGuy CommonGuy added the status:doing We are working on this label Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working status:doing We are working on this
Projects
None yet
Development

No branches or pull requests

2 participants