Open AlexKurek opened 6 months ago
FYI: I also get these warnings in a loop. This starts to show up when I launch the browser and SRT's Dash.
WARNING:waitress.queue:Task queue depth is 2
WARNING:waitress.queue:Task queue depth is 1
WARNING:waitress.queue:Task queue depth is 1
WARNING:waitress.queue:Task queue depth is 1
WARNING:waitress.queue:Task queue depth is 2
WARNING:waitress.queue:Task queue depth is 1
WARNING:waitress.queue:Task queue depth is 1
WARNING:waitress.queue:Task queue depth is 1
To fix this, maybe one more parameter should be added to the config file: DASHBOARD_THREADS
by default set to at least 6 (I set 8 and the warning is gone in Firefox 123):
https://stackoverflow.com/questions/55857058/how-to-find-the-cause-of-task-queue-depth-warnings-from-waitress/55861495#55861495
https://stackoverflow.com/questions/985431/max-parallel-http-connections-in-a-browser/30064610#30064610
and passed to here:
https://github.com/MITHaystack/srt-py/blob/master/bin/srt_runner.py#L27
I also got during env activation:
$ conda activate srtpy
WARNING: No ICDs were found. Either,
- Install a conda package providing a OpenCL implementation (pocl, oclgrind, intel-compute-runtime, beignet) or
- Make your system-wide implementation visible by installing ocl-icd-system conda package.
From activated env I did:
conda install -c conda-forge ocl-icd-system
and the latter warning is gone.
EDIT: fixed in https://github.com/AlexKurek/srt-py/commit/3bbc50a608e13f875ae842a55bb8e420595333dd
We have H180 and whether it is connected or not we are getting:
I modified https://github.com/MITHaystack/srt-py/blob/master/srt/daemon/rotor_control/motors.py#L352 to:
Motor.__init__(self, port, az_limits=(-0.7,359), el_limits=(8.4,80), baudrate=2400),
and the error is gone. Also (https://github.com/MITHaystack/srt-py/commit/89df766fee90e39adcd8e8cc45cb1d6ed8e0374d):Motor.__init__(self, port, az_limits=az_limits, el_limits=el_limits, baudrate=baudrate),
is working. I got :Doing (https://github.com/esp8266/source-code-examples/issues/26#issuecomment-320999460):
sudo usermod -a -G tty,dialout $USER
fixed it and now its working.