PlotJuggler icon indicating copy to clipboard operation
PlotJuggler copied to clipboard

Extraneous Suffixes added to ZMQ IPC endpoints

Open orbiter2 opened this issue 1 year ago • 1 comments

Problem description

Attempting to connect a ZeroMQ Subscriber socket over IPC transport will append :<portnum> to the ZMQ endpoint. image

ZMQ Subscribed topic ""
ZMQ listening on address "ipc://@a:0"

Versioning

OS: Ubuntu 22.04 Package Version: 3.9.1 (installed from Snap store)

Steps to reproduce:

Run the following python script:

import zmq
import json
from time import sleep

ctx = zmq.Context()
sock = ctx.socket(zmq.PUB)
sock.bind("ipc://@a")

i = 0
while True:
   sleep(0.05)
   time += 0.05
   print(time)
   data = {
       "timestamp": time,
       "data": i
   }
   i+=1
   sock.send_string(json.dumps(data))

orbiter2 avatar Feb 26 '24 04:02 orbiter2

ok, I see the problem. I ill fix it soon

facontidavide avatar Feb 26 '24 09:02 facontidavide