facontidavide / PlotJuggler

The Time Series Visualization Tool that you deserve.
https://www.plotjuggler.io
Mozilla Public License 2.0
4.34k stars 608 forks source link

Extraneous Suffixes added to ZMQ IPC endpoints #941

Open orbiter2 opened 6 months ago

orbiter2 commented 6 months ago

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))
facontidavide commented 6 months ago

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