When I first run artiq_dashboard, I have the situation that with some likelihood (2 out of 3 times or so) the dashboard quits within a few seconds of opening. The error reported is an asyncio.futures.InvalidStateError. It is thrown during the handling of another error, which relates to the placement of applets or other geometry during the dashboard opening procedure, traceback below.
There are many more (50) "QWindowsWindow::setGeometry: Unable to set geometry... " warnings that I've left off, but they also appear in cases when the dashboard successfully runs.
Any suggestions? Is there something I'm doing wrong with how I define or use applets for example that could create this multiplicity of unable to set errors, and maybe the multiplicity has grown so much as to occasionally cause asyncio's error handle to malfunction?
Thanks,
dreens
QWindowsWindow::setGeometry: Unable to set geometry 200x108+-700+-608 on QWindow/''. Resulting geometry: 640x480+640+340 (frame: 0, 0, 0, 0, custom margin: 0, 0, 0, 0, minimum size: 0x0, maximum size: 16777215x16777215).
WARNING:dashboard:quamash.QEventLoop:Event callback failed: [WinError 995] The I/O operation has been aborted because of either a thread exit or an application request
Traceback (most recent call last):
File "C:\Users\Ions\Anaconda3\envs\artiq-cotiac4\lib\site-packages\Quamash-0.5.5-py3.6.egg\quamash\_windows.py", line 41, in _process_events
File "C:\Users\Ions\Anaconda3\envs\artiq-cotiac4\lib\asyncio\windows_events.py", line 437, in finish_recv
return ov.getresult()
OSError: [WinError 995] The I/O operation has been aborted because of either a thread exit or an application request
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Ions\Anaconda3\envs\artiq-cotiac4\lib\site-packages\Quamash-0.5.5-py3.6.egg\quamash\_windows.py", line 44, in _process_events
File "C:\Users\Ions\Anaconda3\envs\artiq-cotiac4\lib\asyncio\windows_events.py", line 79, in set_exception
super().set_exception(exception)
File "C:\Users\Ions\Anaconda3\envs\artiq-cotiac4\lib\asyncio\futures.py", line 361, in set_exception
raise InvalidStateError('{}: {!r}'.format(self._state, self))
asyncio.futures.InvalidStateError: CANCELLED: <_OverlappedFuture cancelled>