When the script was run, it gave an error -
./iHSV-Servo-Tool.py
Traceback (last call):
File "~/linuxcnc/iHSV-Servo-Tool/./iHSV-Servo-Tool.py", line 478, in
mainWin = MainWindow()
File "~/linuxcnc/iHSV-Servo-Tool/./iHSV-Servo-Tool.py", line 193, in init
self.getDataPlots()
File "~/linuxcnc/iHSV-Servo-Tool/./iHSV-Servo-Tool.py", line 265, in getDataPlots
curve = ModBusDataCurveItem(liveDataInfo[2], regs, liveDataInfo[1], settings=self.settings)
File "~/linuxcnc/iHSV-Servo-Tool/./iHSV-Servo-Tool.py", line 61, in init
layout.setColumnStretch(1, 0.5)
TypeError: setColumnStretch(self, int, int): argument 2 has an unexpected 'float' type
When the script was run, it gave an error - ./iHSV-Servo-Tool.py Traceback (last call): File "~/linuxcnc/iHSV-Servo-Tool/./iHSV-Servo-Tool.py", line 478, in
mainWin = MainWindow()
File "~/linuxcnc/iHSV-Servo-Tool/./iHSV-Servo-Tool.py", line 193, in init
self.getDataPlots()
File "~/linuxcnc/iHSV-Servo-Tool/./iHSV-Servo-Tool.py", line 265, in getDataPlots
curve = ModBusDataCurveItem(liveDataInfo[2], regs, liveDataInfo[1], settings=self.settings)
File "~/linuxcnc/iHSV-Servo-Tool/./iHSV-Servo-Tool.py", line 61, in init
layout.setColumnStretch(1, 0.5)
TypeError: setColumnStretch(self, int, int): argument 2 has an unexpected 'float' type
The problem is solved by colleagues - https://archlinux.org.ru/forum/post/254312/
line 61
layout.setColumnStretch(1, 1)
line 65
layout.setColumnStretch(2, 1)