ATTPC / Spyral

A Python analysis library for AT-TPC data
GNU General Public License v3.0
2 stars 3 forks source link

SharedMemory connection issue on Windows #153

Closed gwm17 closed 5 days ago

gwm17 commented 2 weeks ago

Seems like the loopback is busted? somehow on windows....

gwm17 commented 1 week ago

This is fixed, waiting for v0.10.0. For anyone who needs this urgently, the fix can be hacked in by changing the following code in src/spyral/pipeline.py:

Change line 253 from

manager = SharedMemoryManager(("", 50000))

to

manager = SharedMemoryManager()

Apparently empty string address on the server listener is unsupported on Windows? By not passing arguments we allow the OS to figure it out

gwm17 commented 1 week ago

Eventually, there are configurations where we may need to support specifying the listener conditions. I.e. if people want to distribute the mesh across multiple machines over a network.