robert-budde / iHSV-Servo-Tool

Python3-based tool to monitor and tune JMC iHSV servos.
GNU General Public License v3.0
49 stars 23 forks source link

In ArchLinux the script requires changes #17

Open tiket18 opened 2 years ago

tiket18 commented 2 years ago

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)