pcbway / PCBWay-Plug-in-for-Kicad

PCBWay Plug-in for Kicad
MIT License
36 stars 8 forks source link

TypeError: Gauge.SetValue(): argument 1 has unexpected type 'float' #21

Open aaronw2 opened 4 months ago

aaronw2 commented 4 months ago

TypeError: Gauge.SetValue(): argument 1 has unexpected type 'float' Traceback (most recent call last): File "/home/aaronw/.local/share/kicad/8.0/3rdparty/plugins/com_github_pcbway_PCBWay-Fabrication-Toolkit-for-KiCad/plugin.py", line 43, in updateDisplay self.m_gaugeStatus.SetValue(status.data)

The fix is to change this to: self.m_gaugeStatus.SetValue(int(status.data))

pcbway commented 4 months ago

We will update this in the new version released next week

pcbway commented 3 months ago

We have updated this issue on the latest plugin,please double check it