adamws / kicad-kbplacer

KiCad plugin for automatic keyboard's key placement and routing
GNU General Public License v3.0
333 stars 23 forks source link

Does not start with pre-relase builds #20

Closed adamws closed 7 months ago

adamws commented 7 months ago

Describe the bug Plugin release v0.8 does not work with KiCad release candidate due to failing KiCad version parsing:

from .board_modifier import (
  File "/home/aws/.local/share/kicad/8.0/3rdparty/plugins/com_github_adamws_kicad-kbplacer/board_modifier.py", line 14, in <module>
    KICAD_VERSION = tuple(
                    ^^^^^^
ValueError: invalid literal for int() with base 10: '0~rc1'

KiCad version info

Application: KiCad PCB Editor x86_64 on x86_64

Version: 8.0.0-rc1-67-g7b24167398-dirty, release build

Libraries:
    wxWidgets 3.2.4
    FreeType 2.13.2
    HarfBuzz 8.3.0
    FontConfig 2.15.0
    libcurl/8.5.0 OpenSSL/3.2.0 zlib/1.3 brotli/1.1.0 zstd/1.5.5 libidn2/2.3.4 libpsl/0.21.2 (+libidn2/2.3.4) libssh2/1.11.0 nghttp2/1.58.0

Platform: Arch Linux, 64 bit, Little endian, wxGTK, X11, , tty

Build Info:
    Date: Jan 18 2024 11:44:15
    wxWidgets: 3.2.4 (wchar_t,wx containers) GTK+ 3.24
    Boost: 1.83.0
    OCC: 7.7.2
    Curl: 8.5.0
    ngspice: 42
    Compiler: GCC 13.2.1 with C++ ABI 1018

Build settings:
    KICAD_USE_EGL=ON