AstroHuntsman / huntsman-pocs

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

Permission error when using take_exposure from the CC #509

Closed Physarah closed 2 years ago

Physarah commented 2 years ago

When trying to do a standard cam.take_exposure(seconds = 1, filename ='/var/huntsman/images/tests/test_fits.fits') for example from the CC a permission error is thrown.

E 07-26 11:41:30.515 Error during readout on 192.168.80.200 (1919420013090900) with Birger Focuser & ZWO Filter Wheel with ZWO Filter Wheel: PermissionError(13, 'Permission denied')
E 07-26 11:41:30.518 _thread.ExceptHookArgs(exc_type=<class 'PermissionError'>, exc_value=PermissionError(13, 'Permission denied'), exc_traceback=<traceback object at 0x7f84215380>, thread=<Thread(Thread-50, started daemon 546870129120)>)
Physarah commented 2 years ago

You now have to use cam.take_exposure(seconds = 1, filename ='/huntsman/images/tests/test_fits.fits') in the docker container