-
Notifications
You must be signed in to change notification settings - Fork 30
Description
Hello,
I'm new to klayout and the gf180mcu pdk, and I spent a day trying to get the gf180mcu pcells to work, but no luck yet. I built klayout from source with python3.12, and I tried using the salt package gf180mcu pdk and also tried the very latest gf180mcu pdk using volare. In both cases, I see errors that make it look like the pdk is incompatible with the kfactory python module version when I instantiate pcells from gf180mcu. Example tracebacks for some pcells are below, using the salt package PDK and the very latest one using volare. Does anyone have any suggestions? What version of python and kfactory/gdsfactory should I be using to build klayout so that it is compatible with the PDK? Thank you.
--------- using volare PDK ------------------
ERROR: TypeError: 'builtin_function_or_method' object is not subscriptable in PCellDeclaration.produce
/home/cate/.volare/volare/gf180mcu/versions/aa683509e2e20358805fcbc3407776a1c890c4e6/gf180mcuA/libs.tech/klayout/tech/pymacros/cells/draw_cap_mos.py:68
/home/cate/.local/lib/python3.12/site-packages/kfactory/decorators.py:383
/home/cate/.local/lib/python3.12/site-packages/cachetools/_cached.py:173
/home/cate/.local/lib/python3.12/site-packages/kfactory/decorators.py:432
/home/cate/.local/lib/python3.12/site-packages/kfactory/decorators.py:458
/home/cate/.local/lib/python3.12/site-packages/kfactory/layout.py:1003
/home/cate/.volare/volare/gf180mcu/versions/aa683509e2e20358805fcbc3407776a1c890c4e6/gf180mcuA/libs.tech/klayout/tech/pymacros/cells/draw_cap_mos.py:221
/home/cate/.volare/volare/gf180mcu/versions/aa683509e2e20358805fcbc3407776a1c890c4e6/gf180mcuA/libs.tech/klayout/tech/pymacros/cells/cap_mos.py:182
/home/cate/Downloads/klayout/bin-release/pymod/klayout/db/pcell_declaration_helper.py:274
ERROR: AttributeError: 'Cell' object has no attribute 'add_array' in PCellDeclaration.produce
/home/cate/.local/lib/python3.12/site-packages/kfactory/kcell.py:422
/home/cate/.local/lib/python3.12/site-packages/kfactory/kcell.py:710
/home/cate/.volare/volare/gf180mcu/versions/aa683509e2e20358805fcbc3407776a1c890c4e6/gf180mcuA/libs.tech/klayout/tech/pymacros/cells/draw_fet.py:1316
/home/cate/.volare/volare/gf180mcu/versions/aa683509e2e20358805fcbc3407776a1c890c4e6/gf180mcuA/libs.tech/klayout/tech/pymacros/cells/fet.py:167
/home/cate/Downloads/klayout/bin-release/pymod/klayout/db/pcell_declaration_helper.py:274
---------- using built in klayout salt package ----------------
ERROR: TypeError: 'builtin_function_or_method' object is not subscriptable in PCellDeclaration.produce
/home/cate/.volare/volare/gf180mcu/versions/aa683509e2e20358805fcbc3407776a1c890c4e6/gf180mcuA/libs.tech/klayout/tech/pymacros/cells/draw_cap_mos.py:68
/home/cate/.local/lib/python3.12/site-packages/kfactory/decorators.py:383
/home/cate/.local/lib/python3.12/site-packages/cachetools/_cached.py:173
/home/cate/.local/lib/python3.12/site-packages/kfactory/decorators.py:432
/home/cate/.local/lib/python3.12/site-packages/kfactory/decorators.py:458
/home/cate/.local/lib/python3.12/site-packages/kfactory/layout.py:1003
/home/cate/.volare/volare/gf180mcu/versions/aa683509e2e20358805fcbc3407776a1c890c4e6/gf180mcuA/libs.tech/klayout/tech/pymacros/cells/draw_cap_mos.py:221
/home/cate/.volare/volare/gf180mcu/versions/aa683509e2e20358805fcbc3407776a1c890c4e6/gf180mcuA/libs.tech/klayout/tech/pymacros/cells/cap_mos.py:182
/home/cate/Downloads/klayout/bin-release/pymod/klayout/db/pcell_declaration_helper.py:274