I have a .def file at /build/cas/a97/a971575b8189215e2db9f3e6fbfa26b6254f140191604c8194307564d724f936_010e8e6d and a symlink to that file verilog_counter-asap7-sc7p5t_rev28_lvt-place_and_route_detail_routed.def -> /build/cas/a97/a971575b8189215e2db9f3e6fbfa26b6254f140191604c8194307564d724f936_010e8e6d
When I try to open the file with the ly.read('verilog_counter-asap7-sc7p5t_rev28_lvt-place_and_route_detail_routed.def') I get RuntimeError: Stream has unknown format: /build/cas/a97/a971575b8189215e2db9f3e6fbfa26b6254f140191604c8194307564d724f936_010e8e6d in Layout.read
If I replace the symlink with a file containing the same as /build/cas/a97/a971575b8189215e2db9f3e6fbfa26b6254f140191604c8194307564d724f936_010e8e6d, KLayout then is able to read the file.
I think this is because something is resolving the symlink and the loading depends on the file extension to detect the file format?
I have a
.deffile at/build/cas/a97/a971575b8189215e2db9f3e6fbfa26b6254f140191604c8194307564d724f936_010e8e6dand a symlink to that fileverilog_counter-asap7-sc7p5t_rev28_lvt-place_and_route_detail_routed.def -> /build/cas/a97/a971575b8189215e2db9f3e6fbfa26b6254f140191604c8194307564d724f936_010e8e6dWhen I try to open the file with the
ly.read('verilog_counter-asap7-sc7p5t_rev28_lvt-place_and_route_detail_routed.def')I getRuntimeError: Stream has unknown format: /build/cas/a97/a971575b8189215e2db9f3e6fbfa26b6254f140191604c8194307564d724f936_010e8e6d in Layout.readIf I replace the symlink with a file containing the same as
/build/cas/a97/a971575b8189215e2db9f3e6fbfa26b6254f140191604c8194307564d724f936_010e8e6d, KLayout then is able to read the file.I think this is because something is resolving the symlink and the loading depends on the file extension to detect the file format?