Python DDS connector issue

2 posts / 0 new
Last post
Last seen: 4 years 5 months ago
Joined: 11/09/2019
Posts: 1
Python DDS connector issue


I want to use 2 connectors in my python program but I don't know why this error occurs

DDS_PropertySeq_add_element:!new element. ELEMENT ALREADY EXISTS. EITHER REMOVE THIS CALL OR CALL assert_element INSTEAD.
DDS_PropertyQosPolicyHelper_add_property:!add element
RTI Connector Unable to access RTI Data Distribution Service Core Libraries
See for more information.
RTIDDSConnector_newI:!new unable to add license
Exception in thread Thread-1:
Traceback (most recent call last):
  File "", line 45, in Velocitywriter
    filepath + "/../dds.xml")
  File "/home/diego/.local/lib/python3.6/site-packages/rticonnextdds_connector/", line 326, in __init__
    raise ValueError("Invalid participant profile, xml path or xml profile")
ValueError: Invalid participant profile, xml path or xml profile

I am using threads and so that each connector is in a thread but only the first one to run is created. I attach the xml and the python below



Package icon dds.zip2.04 KB
Last seen: 1 day 14 hours ago
Joined: 04/02/2013
Posts: 195


I can reproduce the problem you reported. I've found a workaround while we investigate it.

You can simply add a <participant_qos> tag to your profile, even an empty one:


    <!-- Qos Library -->
    <qos_library name="qosLibrary">
        <qos_profile name="defaultProfile" is_default_qos="true">