AislerHQ / PushForKiCad

AISLER Push for KiCad EDA
MIT License
39 stars 6 forks source link

TypeError: in method 'PCB_PLOT_PARAMS_SetDrillMarksType', argument 2 of type 'DRILL_MARKS' #19

Closed jojoalves13 closed 1 year ago

jojoalves13 commented 1 year ago

When trying to upload it gets stuck and in the terminal I get this error:

Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
    self.run()
  File "/home/oncontrol/.local/share/kicad/6.99/3rdparty/plugins/com_github_aislerhq_PushForKiCad/push_thread.py", line 58, in run
    popt.SetDrillMarksType(0)  # NO_DRILL_SHAPE
  File "/usr/lib/python3.10/site-packages/pcbnew.py", line 8241, in SetDrillMarksType
    return _pcbnew.PCB_PLOT_PARAMS_SetDrillMarksType(self, aVal)
TypeError: in method 'PCB_PLOT_PARAMS_SetDrillMarksType', argument 2 of type 'DRILL_MARKS'

Application: KiCad PCB Editor

Version: (6.99.0-4539-g484620eeb5), release build

Libraries: wxWidgets 3.2.1 FreeType 2.12.1 HarfBuzz 5.3.1 FontConfig 2.14.1 libcurl/7.87.0 OpenSSL/3.0.7 zlib/1.2.13 brotli/1.0.9 zstd/1.5.2 libidn2/2.3.4 libpsl/0.21.2 (+libidn2/2.3.4) libssh2/1.10.0 nghttp2/1.51.0

Platform: Linux 6.1.6-arch1-1 x86_64, 64 bit, Little endian, wxGTK, gnome, wayland

Build Info: Date: Nov 29 2022 09:56:36 wxWidgets: 3.2.1 (wchar_t,wx containers) GTK+ 3.24 Boost: 1.80.0 OCC: 7.6.3 Curl: 7.86.0 ngspice: 38 Compiler: GCC 12.2.0 with C++ ABI 1017

Build settings: KICAD_USE_EGL=ON KICAD_SPICE=ON