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

The requested operation has no match to return.(BadNoMatch) #56

Open
Bagunda opened this issue Dec 5, 2020 · 0 comments
Open

The requested operation has no match to return.(BadNoMatch) #56

Bagunda opened this issue Dec 5, 2020 · 0 comments

Comments

@Bagunda
Copy link

Bagunda commented Dec 5, 2020

I install it.
In GUI it work.
image

I download client-minimal.py.
Change host to client = Client("opc.tcp://192.168.3.100:4840/freeopcua/server/") or client = Client("opc.tcp://192.168.3.100:4840")

And it generate error when run:

root@GP120OH:~/opcua1# python3 client-minimal.py
Objects node is:  Node(TwoByteNodeId(i=84))
Children of root are:  [Node(TwoByteNodeId(i=87)), Node(TwoByteNodeId(i=85)), Node(TwoByteNodeId(i=86))]
Traceback (most recent call last):
  File "client-minimal.py", line 32, in <module>
    myvar = root.get_child(["0:Objects", "2:MyObject", "2:MyVariable"])
  File "/usr/lib/python3/dist-packages/opcua/common/node.py", line 470, in get_child
    result.StatusCode.check()
  File "/usr/lib/python3/dist-packages/opcua/ua/uatypes.py", line 233, in check
    raise UaStatusCodeError(self.value)
opcua.ua.uaerrors._auto.BadNoMatch: The requested operation has no match to return.(BadNoMatch)
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

1 participant