ndscope throws exceptions and fails to draw x axis labesl with latest version of cds conda environment
ndscope was not updated in the this latest version dated 2022-10-10.
Spits out stack traces like so:
/var/opt/conda/base/envs/cds/lib/python3.9/site-packages/pyqtgraph/debug.py:128: RuntimeWarning: Ignored exception:
Traceback (most recent call last):
File "/var/opt/conda/base/envs/cds/bin/ndscope", line 10, in <module>
sys.exit(main())
File "/var/opt/conda/base/envs/cds/lib/python3.9/site-packages/ndscope/__main__.py", line 391, in main
sys.exit(app.exec_())
File "/var/opt/conda/base/envs/cds/lib/python3.9/site-packages/pyqtgraph/widgets/GraphicsView.py", line 137, in paintEvent
return super().paintEvent(ev)
File "/var/opt/conda/base/envs/cds/lib/python3.9/site-packages/pyqtgraph/debug.py", line 128, in w
printExc('Ignored exception:')
--- exception caught here ---
File "/var/opt/conda/base/envs/cds/lib/python3.9/site-packages/pyqtgraph/debug.py", line 126, in w
func(*args, **kwds)
File "/var/opt/conda/base/envs/cds/lib/python3.9/site-packages/pyqtgraph/graphicsItems/PlotCurveItem.py", line 905, in paint
p.drawLines(*self._getLineSegments())
TypeError: arguments did not match any overloaded call:
drawLines(self, PyQt5.sip.array[QLineF]): not enough arguments
drawLines(self, QLineF, *): not enough arguments
drawLines(self, PyQt5.sip.array[Union[QPointF, QPoint]]): not enough arguments
drawLines(self, Union[QPointF, QPoint], *): not enough arguments
drawLines(self, PyQt5.sip.array[QLine]): not enough arguments
drawLines(self, QLine, *): not enough arguments
drawLines(self, PyQt5.sip.array[QPoint]): not enough arguments
drawLines(self, QPoint, *): not enough arguments
printExc('Ignored exception:')
/var/opt/conda/base/envs/cds/lib/python3.9/site-packages/pyqtgraph/debug.py:128: RuntimeWarning: Ignored exception:
Traceback (most recent call last):
File "/var/opt/conda/base/envs/cds/bin/ndscope", line 10, in <module>
sys.exit(main())
File "/var/opt/conda/base/envs/cds/lib/python3.9/site-packages/ndscope/__main__.py", line 391, in main
sys.exit(app.exec_())
File "/var/opt/conda/base/envs/cds/lib/python3.9/site-packages/pyqtgraph/widgets/GraphicsView.py", line 137, in paintEvent
return super().paintEvent(ev)
File "/var/opt/conda/base/envs/cds/lib/python3.9/site-packages/pyqtgraph/debug.py", line 128, in w
printExc('Ignored exception:')
--- exception caught here ---
File "/var/opt/conda/base/envs/cds/lib/python3.9/site-packages/pyqtgraph/debug.py", line 126, in w
func(*args, **kwds)
File "/var/opt/conda/base/envs/cds/lib/python3.9/site-packages/pyqtgraph/graphicsItems/PlotCurveItem.py", line 905, in paint
p.drawLines(*self._getLineSegments())
TypeError: arguments did not match any overloaded call:
drawLines(self, PyQt5.sip.array[QLineF]): not enough arguments
drawLines(self, QLineF, *): not enough arguments
drawLines(self, PyQt5.sip.array[Union[QPointF, QPoint]]): not enough arguments
drawLines(self, Union[QPointF, QPoint], *): not enough arguments
drawLines(self, PyQt5.sip.array[QLine]): not enough arguments
drawLines(self, QLine, *): not enough arguments
drawLines(self, PyQt5.sip.array[QPoint]): not enough arguments
drawLines(self, QPoint, *): not enough arguments
printExc('Ignored exception:')
yaml file
color-mode: light
font-size: 6
plots:
- channels:
H0:VAC-LY_CP1_LIC100_LLCV_POS_CTRL_PCT:
color: '#ffa500'
offset: 0
scale: 1
unit: null
width: 2
H0:VAC-LY_CP1_PT101_DISCHARGE_PRESS_PSIG:
color: '#ff69b4'
offset: 0
scale: 1000
unit: null
width: 2
H0:VAC-LY_CP1_TE102A_DISCHARGE_TEMP_DEGC:
color: '#0000ff'
offset: 0
scale: -1
unit: null
width: 2
H0:VAC-LY_CP1_TE102B_DISCHARGE_TEMP_DEGC:
color: '#48d1cc'
offset: 0
scale: -1
unit: null
width: 2
col: 0
colspan: 1
log-scale: true
row: 0
rowspan: 1
t-cursors:
- -641
- -300
y-cursors:
- 130.0
- 200.0
yrange: auto
t0: 1349468759
time-axis-mode: absolute local
time-window:
- -941
- 0.0
window-title: test