It looks like you're new here. If you want to get involved, click one of these buttons!
When I create and write to a new layout, new file can't be created with error:
"Unable to open file: /Users/.../result.oas (errno=2) in Layout.write
/Users/.../pymacros/XXX.py:35"
Comments
Hi zzz,
"errno 2" is a Unix error code saying the file can't be found ... I think this happens in your case because the path does not exist completely.
For example, if the path if "/home/matthias/output/layout.gds" and "output" does not exist, you'll get this message.
Matthias