You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.
Hello,
while playing with replicate layout on v6 I encountered an error when a footprint exists on the board, but not on the schematic.
I tend to add logos only on the PCB but not on the schematic. When replicate layout is run, the following error is encountered (note line numbers could be wrong, as I added some extra debug messages):
01-12 21:54:30 replicate_layout.action_replicate_layout 345:Fatal error when making an instance of replicator
Traceback (most recent call last):
File "C:\Users\Robert\AppData\Roaming\kicad\6.0\scripting\replicate_layout\action_replicate_layout.py", line 342, in Run
replicator = replicatelayout.Replicator(board)
File "C:\Users\Robert\AppData\Roaming\kicad\6.0\scripting\replicate_layout\replicatelayout.py", line 150, in init
sheet_id = self.get_sheet_id_alt(fp)
File "C:\Users\Robert\AppData\Roaming\kicad\6.0\scripting\replicate_layout\replicatelayout.py", line 122, in get_sheet_id_alt
sheet_id = self.get_path(module).split("/")[-2]
IndexError: list index out of range
When the logo is removed, everything is working again.
Not sure if this is a bug or a feature, but figured I might raise this in any case.
Also, thanks for writing such a great plugin!
The text was updated successfully, but these errors were encountered:
Thanks for the report. I am in the process of refactoring/porting the plugins to V6 and integrating them in "Plugin and Content Manager". When I come to Replicate layout, I'll take care of it.
Hello,
while playing with replicate layout on v6 I encountered an error when a footprint exists on the board, but not on the schematic.
I tend to add logos only on the PCB but not on the schematic. When replicate layout is run, the following error is encountered (note line numbers could be wrong, as I added some extra debug messages):
When the logo is removed, everything is working again.
Not sure if this is a bug or a feature, but figured I might raise this in any case.
Also, thanks for writing such a great plugin!
The text was updated successfully, but these errors were encountered: