Hi
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 www.rti.com for more information.
RTIDDSConnector_newI:!new unable to add license
RTIDDSConnector_EntitiesLookupList_delete:RTIDDSConnector
Exception in thread Thread-1:
Traceback (most recent call last):
File "RCInput.py", line 45, in Velocitywriter
filepath + "/../dds.xml")
File "/home/diego/.local/lib/python3.6/site-packages/rticonnextdds_connector/rticonnextdds_connector.py", 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
thans
Attachment | Size |
---|---|
dds.zip | 2.04 KB |
Hi,
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: