Python Connector

2 posts / 0 new
Last post
Last seen: 2 years 10 months ago
Joined: 03/31/2016
Posts: 23
Python Connector

I'm getting the following error when tryring to run one of the connector's python files.  

C:\Users\Gal S\Desktop\rticonnextdds-connector-master\rticonnextdds-connector-ma
Traceback (most recent call last):
File "C:\Users\Gal S\Desktop\rticonnextdds-connector-master\rticonnextdds-conn
ector-master\examples\python\simple\", line 12, in <module>
import rticonnextdds_connector as rti
File "C:\Users\Gal S\Desktop\rticonnextdds-connector-master\rticonnextdds-conn
ector-master\examples\python\simple/../../../", line 1
08, in <module>
rtin_RTIDDSConnector_setJSONInstance = rti.RTIDDSConnector_setJSONInstance
File "D:\Program Files\Python\lib\ctypes\", line 378, in __getattr_
func = self.__getitem__(name)
File "D:\Program Files\Python\lib\ctypes\", line 383, in __getitem_
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: function 'RTIDDSConnector_setJSONInstance' not found


Did you came across with this attrbiuteError? How can I fix it?


Thanks in advance,


gianpiero's picture
Last seen: 2 months 1 week ago
Joined: 06/02/2010
Posts: 177

Hello GS,

I saw this error in a previous version of the connector. In that version I had forgotten to export a couple of function to set/get JSON from the C library (lib/i86Win32VS2010/rti_dds_connector.dll). But it was fixed shortly after. I just tried on my windows VM with the latest version and it looks fine. 

Can you try again by cloning the latest repository? 
Sorry for the inconvinience and let me know how it goes!