RF-tools-KiCAD
RF-tools-KiCAD copied to clipboard
Exceptions on round_tracks, solder mask expansion, trace clearance generator
I get the following error:
Exception on python action plugin code
Traceback (most recent call last):
File "/home/user/.local/share/kicad/8.0/scripting/plugins/RF-tools-KiCAD/trace_solder_expander/trace_solder_expander.py", line 150, in Run pcbnew_window = find_pcbnew_w()
File "/home/usser/.local/share/kicad/8.0/scripting/plugins/RF-tools-KiCAD/trace_solder_expander/trace_solder_expander.py", line 57, in find_pcbnew_w pcbneww = [w for w in windows if "pcbnew" in w.GetTitle().lower()] ^^^^^^^
TypeError: 'WindowList_iterator' object is not iterable
OS is Arch, KiCad V8.0.7
Tnx Arno
found that wrapping wx.GetTopLevelWindows() in list() seems to fix it