It looks like you're new here. If you want to get involved, click one of these buttons!
I 've created the following function, which create layouts:
def createLayoutView(mode=1, tech='', cell_name='myCell') : cellview = pya.Application.instance().main_window().create_layout(tech, mode) active_layout = pya.CellView().active().layout() cell = active_layout.create_cell(cell_name) pya.CellView().active().cell = pya.CellView().active().layout().top_cell() # createLayoutView
The layout created by this function works fine when I instantiate in it a pcell from the "Basic" library, but if I try to instantiate a pcell from my custom 'myLib' library, then the KLayout crashes with the following error:
Warning: acros/: Fatal IO error: client killed
If the layout is created by hand (File -> New Layout -> ...) I can instantiate my pcells from "myLib" as expected.
I feel that may be a KLayout check somewhere, that it isn't satisfied with something in this function and causes the crash, or layouts created this way need something more to accept other than 'Basic' library pcells. Currently, I don't have any other info to provide.
I'm using the latest 0.25.9 release.