-
Notifications
You must be signed in to change notification settings - Fork 12
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
Unhelpful error message: "Property not found: Sheetfile" #10
Comments
One slight noteworthy change: It appears the code is looking for a file ending in ".sch" (judging by this line: ReplicateLayout/replicate_layout.py Line 95 in 1ff11b6
As such, this might be a naming incompatibility. |
Thanks for reporting the bug. The line in question is a remainder from the V5 version of the plugin. V6 version of the plugin does parse schematic files. Is your project by chance a project which was started with KiCad V5? If it is, can you update layout from schematics and try running the plugin again. In any case I'd really appreciate detailed error message (screenshot will do) and if you can attach |
Hm - you're right, it appears to be an issue with projects started within KiCAD 5 However, updating the layout from the schematic does not appear to work. I created an entirely new item (an extra LED), which I imported into the PCB via the "Update PCB from Schematic" option. The error log is quite small, so I'll insert it here:
Completely removing the previous kicad_pcb file, creating a new one and reimporting everything fixes it. I think I found the source: Your plugin is incompatible with the I recommend simply ignoring components that have no sheetfile property, and filtering them out, or adding a dialog box that says "Following components have no sheetfile property and cannot be replicated:" Crashing with no message given why the crash happened is a bit of an issue. I can work without KiBuzzard for now, and the plugin seems to work fine without! |
I can confirm the same error and also the observation, that once KiBuzzard is installed, the Replicate Layout and Save/Restore Layout plugins stop working and throw an error about the missing Sheetfile property. |
Hi!
I would absolutely love to use this plugin to help my KiCAD workflow along a little, and I've heard interest from multiple other people.
However, I am immediately faced with an issue that seems to prevent the plugin from working at all.
I want to replicate the PCB design of a KiCAD sheet that is replicated four times, by inserting a KiCAD subsheet that points to the same physical file.
This works without issue on the PCB - the components are placed four times, with their IDs starting with a different number (I.e. C101, C201, C301 etc. referring to different instances of the same capacitor)
When it comes to replicating the PCB layout of these components however, the plugin immediately fails by throwing the error message "Property not found: Sheetfile"
This appears to be the same message as if choosing a PCB component that is not in a Subsheet (i.e. it's in the root sheet).
The error message gives no further instructions in regards to possible causes and fixes for this error message, and due to the absence of a README file or Wiki page elaborating on the exact requirements of this plugin, I am left with opening a GitHub Issue.
I will attach screenshots of the schematic in question:
The text was updated successfully, but these errors were encountered: