slaclab / simulacrum

Simulacrum is a system for simulating the LCLS accelerator and its control system.
Other
4 stars 20 forks source link

Update Dockerfile for successful build #100

Closed MattKing06 closed 1 year ago

MattKing06 commented 1 year ago

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

Service Test (sans-model)

MattKing06 commented 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.