Closed MattKing06 closed 1 year ago
Current output from model_service (after lattice and dependency installation):
File "model_service/model_service.py", line 403, in <module>
plot=model_service_args.plot)
File "model_service/model_service.py", line 61, in __init__
loop=self.loop)
File "/usr/local/lib/python3.6/dist-packages/p4p/server/asyncio.py", line 54, in __init__
self.loop = get_running_loop()
File "/usr/local/lib/python3.6/dist-packages/p4p/client/asyncio.py", line 33, in get_running_loop
raise RuntimeError('Thread has no running event loop')
RuntimeError: Thread has no running event loop
RuntimeError: Empty SharedPV
Exception ignored in: 'p4p._p4p.SharedPV.__dealloc__'
RuntimeError: Empty SharedPV
I can't see any other example of SharedPV use in this repo for comparison.
Changes Summary
Closes #99
The following services did not run due to model_service.py not working properly (mentioned in comment below):
The following services do not require the model for the PVs to go live, and so can be tested below:
To Test
Docker build
docker build -t simulacrum .
(takes quite a long time..)bash ./start_container.bash
root@<container-id>:/#
which means the container built successfully.Service Test (sans-model)
./simulacrum/sc_rf_service
and runpython3 ./sc_rf_service.py &