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

TypeError: hasattr(): attribute name must be string #106

Open
Muddasir-Shakil opened this issue Jan 22, 2021 · 3 comments
Open

TypeError: hasattr(): attribute name must be string #106

Muddasir-Shakil opened this issue Jan 22, 2021 · 3 comments

Comments

@Muddasir-Shakil
Copy link

Muddasir-Shakil commented Jan 22, 2021

I was creating an information model nodeset for my application and I needed some structured datatypes, so I followed the steps for creating custom structure type. But when I saved and closed my modeler then I could not reopen the .uamodel file or either import .xml file in the modeler. I get the following error:
TypeError: hasattr(): attribute name must be string
Important info: I am using Opc.Ua.Di.Nodeset2.xml also as one of the based Nodeset for my custom nodeset
I do not have a clue how to solve that?

@oroulet
Copy link
Member

oroulet commented Jan 22, 2021

Can you share your datamodel? did you use master or pip installation?

@Muddasir-Shakil
Copy link
Author

the datamodel is here: https://github.com/Muddasir-Shakil/Opc.Ua.Ieee21451.NodeSet
I used master for installation

@rekikfadwa
Copy link

I have the same problem. Did you get the solution for that?

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

3 participants