Skip to content

tomoStream python server crashes if tomoScan IOC is not running #43

Description

@decarlof

with error:

Traceback (most recent call last):
  File "start_tomostream.py", line 6, in <module>
    ts = TomoStream(["../../db/tomoStream_settings.req","../../db/tomoStream_settings.req"], {"$(P)":"2bmb:", "$(R)":"TomoStream:"})
  File "/local/tomo/conda/anaconda/envs/streaming/lib/python3.7/site-packages/tomostream-0.1-py3.7.egg/tomostream/tomostream.py", line 52, in __init__
    self.epics_pvs['ThetaArray']         = PV(self.epics_pvs['PSOPVPrefix'].get(as_string=True) + 'motorPos.AVAL')
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions