starrybird replied to the topic 'Re:Problem with PyIndi client' in the forum. 6 years ago

I overwritten the newMessage method and the problem solved

def newMessage(self, d, m):                                                                                            
    message = d.messageQueue(m)                                                                                        
    message.acquire()                                                                                                  
    message_string = ctypes.cast(message.__int__(), ctypes.POINTER(ctypes.c_char_p)).contents.value.decode('utf-8')    
    message.disown()                                                                                                   
    wx.PostEvent(self.__parent, CommonEvent(common.ID_EV_UPDATE_STATUS_BAR, message_string))


Read More...