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

RuntimeWarning: coroutine 'MonitoredItemService.datachange_callback' was never awaited #76

Open
francescobianca opened this issue Jan 17, 2022 · 2 comments

Comments

@francescobianca
Copy link

Hi,

I am trying to use the following library function:

await node.delete(True, True)

where the selected node is the root node.
This is the data model:

{
  "Id": "Site1",
  .....
}

image

and the selected node to delete is Site1
the output of

node_name = await node.read_display_name()
logger.debug(f"{node_name.Text}")

is Site1. (as proof)

The deletion of the object works but I don't understand from what is originated the warning.

Version

Python-Version: 3.8

opcua-asyncio Version 0.9.92

@AndreasHeine AndreasHeine transferred this issue from FreeOpcUa/opcua-asyncio Feb 20, 2022
@oroulet
Copy link
Member

oroulet commented Feb 20, 2022

where do you see that warning? are you using the UI or writting code?

@francescobianca
Copy link
Author

Oh yes, sorry is a problem found in the opcua-asyncio library. I have a server on which I try to call the deletion of a node but I get that warning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants