Open sphaero opened 9 years ago
Adding to this it seems I can't subscribe a remote receiver to my emitter:
self.signal_subscribe(self.uuid(), "Painter1", peer, "imgId")
self.signal_subscribe(peer, "rmId", self.uuid(), "id1")
First one works second one doesn't
Makes sense as whispering to yourself doesn't work so the subscription request is never send: https://github.com/z25/pyZOCP/blob/master/src/zocp.py#L400 Then fixing that the forwarding of third party request is the wrong way around
see the definition of: https://github.com/z25/pyZOCP/blob/master/src/zocp.py#L332 and then it's usage at: https://github.com/z25/pyZOCP/blob/master/src/zocp.py#L660
difficult to catch!
Was just debugging this... apparently ZOCP just exits silently when you try to subscribe a signal
ie: I was trying:
However the "painter1" receiver was spelled wrong resulting in a:
Which is a very weird exit.
It is gone when using the right spelling "Painter1" Still need to hunt this down but I guess we need to check for existence before sending the subscribe message.