Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when loading with KiCAD 8 #23

Open
medo64 opened this issue Apr 20, 2024 · 0 comments
Open

Error when loading with KiCAD 8 #23

medo64 opened this issue Apr 20, 2024 · 0 comments

Comments

@medo64
Copy link

medo64 commented Apr 20, 2024

Describe the bug

On plugin load in KiCAD 8.0.1, the following error appears:

Trying to install toolbar buttons but something went wrong!
'BOARD_ITEM_CONTAINER' object has no attribute 'GetReference'
Traceback (most recent call last):
  File "/home/josip/.local/share/kicad/8.0/scripting/plugins/WireIt/WireIt.py", line 831, in Run
    original_netlist = get_netlist()
                       ^^^^^^^^^^^^^
  File "/home/josip/.local/share/kicad/8.0/scripting/plugins/WireIt/WireIt.py", line 179, in get_netlist
    pad_key = pad.GetParent().GetReference(), pad.GetPadName()
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'BOARD_ITEM_CONTAINER' object has no attribute 'GetReference'

To Reproduce

Steps to reproduce the behavior:

  1. Install KiCAD 8.0.1
  2. Go to Tools, External Plugins, WireIt

Expected behavior

I would expect this error not to appear.

Screenshots

Screenshot from 2024-04-20 16-40-37

Computing Environment

Application: KiCad PCB Editor x86_64 on x86_64

Version: 8.0.1-8.0.1-0~ubuntu24.04.1, 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.0.13 zlib/1.3 brotli/1.1.0 zstd/1.5.5 libidn2/2.3.7 libpsl/0.21.2 (+libidn2/2.3.7) libssh/0.10.6/openssl/zlib nghttp2/1.59.0 librtmp/2.3 OpenLDAP/2.6.7

Platform: Ubuntu Noble Numbat (development branch), 64 bit, Little endian, wxGTK, X11, ubuntu, wayland

Build Info:
	Date: Mar 14 2024 15:11:48
	wxWidgets: 3.2.4 (wchar_t,wx containers) GTK+ 3.24
	Boost: 1.83.0
	OCC: 7.6.3
	Curl: 8.5.0
	ngspice: 42
	Compiler: GCC 13.2.0 with C++ ABI 1018

Build settings:

Additional context

Works on KiCAD 7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant