AstroHuntsman / huntsman-pocs

POCS on the Huntsman Telescope
MIT License
7 stars 8 forks source link

Dome shutter issue #481

Closed danjampro closed 3 years ago

danjampro commented 3 years ago

Dome shutter playing up:

Exception in thread Thread-1:
Traceback (most recent call last):
  File "/opt/conda/lib/python3.9/threading.py", line 954, in _bootstrap_inner
    self.run()
  File "/opt/conda/lib/python3.9/threading.py", line 892, in run
    self._target(*self._args, **self._kwargs)
  File "/opt/conda/lib/python3.9/site-packages/huntsman/pocs/dome/musca.py", line 230, in _async_status_loop
    self._write_musca(Protocol.GET_STATUS)
  File "/opt/conda/lib/python3.9/site-packages/huntsman/pocs/dome/musca.py", line 262, in _write_musca
    self.serial.reset_input_buffer()
  File "/opt/conda/lib/python3.9/site-packages/panoptes/utils/rs232.py", line 316, in reset_input_buffer
    self.ser.reset_input_buffer()
  File "/opt/conda/lib/python3.9/site-packages/serial/serialposix.py", line 682, in reset_input_buffer
    raise PortNotOpenError()
serial.serialutil.PortNotOpenError: Attempting to use a port that is not open

This is despite the musca wish app working