Skip to content

Import XML with ByteString in ExtensionObject Error #1846

@kavyabc13

Description

@kavyabc13

Hello,

I am importing an OPCUA XML file with asyncua version 1.1.0. The XML contains many elements as shown below.

<Value>
  <uax:ExtensionObject>
    <uax:TypeId>
      <uax:Identifier>ns=2;i=1005</uax:Identifier>
    </uax:TypeId>
    <uax:Body>
      <uax:ByteString>ADKJAKKAGSKGKDUWGKW==</uax:ByteString>
    </uax:Body>
  </uax:ExtensionObject>
</Value>

The import gives an error "('Error val should be a list, this is a python-asyncua bug', 'ByteString', <class 'str'>, 'ADKJAKKAGSKGKDUWGKW==')
".

How can this be solved ?

Note: Only asyncua 1.1.0 is available to be installed in my system.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions