FreeOpcUa / opcua-asyncio

OPC UA library for python >= 3.7
GNU Lesser General Public License v3.0
1.04k stars 346 forks source link

The following references could not be imported and are probably broken. #1584

Closed varunJainV closed 4 months ago

varunJainV commented 4 months ago

Could not be imported!


self.server = Server() await self.server.init() self.server.set_endpoint(self.endpoint) await self.server.import_xml(self.xmlfile)

In import_xml method I am getting following error: The following references could not be imported and are probably broken. ImportFailure

schroeder- commented 4 months ago

Can you post a complete log, not an incomplete screenshot?

Also can you post the xml file if possible? Otherwise can you post a log with log level Debug?

varunJainV commented 4 months ago

Thank You for your response. Here I am sharing the complete screen shot and xml file.

Importfailure1 importFailure2

Link of the XML file https://reference.opcfoundation.org/api/nodesets/61

Note: Try copying the link, then pasting it straight into your browser.

schroeder- commented 4 months ago

Do you load the required nodesets before? http://opcfoundation.org/UA/DI/ and http://opcfoundation.org/UA/PlasticsRubber/GeneralTypes/ ?

varunJainV commented 4 months ago

Iam using the following to load nodesets: image

schroeder- commented 4 months ago

Do you even read my responeses....

varunJainV commented 4 months ago

Can you please confirm, How to load them?