yaqwsx / KiKit

Automation tools for KiCAD
https://yaqwsx.github.io/KiKit
MIT License
1.53k stars 201 forks source link

NETINFO_LIST object has no attribute RemoveUnusedNets #635

Closed TimGoll closed 8 months ago

TimGoll commented 8 months ago

Prerequisites

KiKit version

GitHub master @6dc6666

KiCAD version

KiCad 8.0 RC2

Operating system

Windows 11

Description

image

When trying to panalize a board I get this error. The same board worked in KiCad 7.0.10. So I'm pretty sure that is related to python binding name changes

Steps to Reproduce

Panelize a board, the boards I tried should not be published, therefore I can not attach them here.

TimGoll commented 8 months ago

Same thing happens on the most recent build: kicad-nightly-8.0.0.rc2.569.g2c9c741895-x86_64

yaqwsx commented 8 months ago

Fixed in a49b818.

TimGoll commented 8 months ago

Awesome, thank you so much!

TimGoll commented 8 months ago

I'm adding this here as this is probably related: image

yaqwsx commented 8 months ago

Ah, I used inapropriate testing board. Fixed in e0a347a.

TimGoll commented 8 months ago

It works now, but still throws an error: image

TimGoll commented 8 months ago

I just wanted to comment again to see if you've seen my last comment. As I think this is still releated to the initial issue, I did not want to open a new one but I suspect my comment got lost in your notifications. Thanks!

The error has an interesting side effect. I can create a good looking panelized board that I'm also able to export. However once I close KiCad I'm unable to open the PCB file again. This might be a KiCad 8.0.0-rc3 issue though. But PCBs created purely in KiCad can be opened again, only those created with KiKit have problems.

yaqwsx commented 8 months ago

I've seen it, but I don't have a quick fix at the moment. It is only related to GUI, it has nothing to do with the panelization feature per se. Howerver, it seems that the essential API is gone in v8. This will probably require fix on KiCAD's side.

yaqwsx commented 8 months ago

It seems that the API is no longer needed as KiCAD started to do some of the housekeeping automatically. Reflected in 611dc10