Home › Forums › Nazca › Questions and Answers › Calibre DRC crashes: Failure to read input file stdin.gds at record offset 282. › Reply To: Calibre DRC crashes: Failure to read input file stdin.gds at record offset 282.
Dear Ronald,
When I exchange the WaveguideInClass by demofab.deep.strt calibre does not crash.
When I turn on the ascii boolean, the export_gds method crashes, even when there is only demofab.deep.strt objects being used. The error given is:
nd.export_gds(filename=’GDS_test\\stdin.gds’, ascii=True)
File “C:\ProgramData\Anaconda3\lib\site-packages\nazca\layout.py”, line 1656, in export_gds
info=True, flat=flat, clear=clear, bb=bb, **kwargs)
File “C:\ProgramData\Anaconda3\lib\site-packages\nazca\layout.py”, line 1596, in export
export.generate_layout(topcells)
File “C:\ProgramData\Anaconda3\lib\site-packages\nazca\layout.py”, line 1407, in generate_layout
self.export_topcells(topcells)
File “C:\ProgramData\Anaconda3\lib\site-packages\nazca\layout.py”, line 1348, in export_topcells
ga.ASCII_write(GDS.filename+’.asc’)
File “C:\ProgramData\Anaconda3\lib\site-packages\nazca\gds_import.py”, line 778, in ASCII_write
f.write(buf.getvalue())
File “C:\ProgramData\Anaconda3\lib\encodings\cp1252.py”, line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: ‘charmap’ codec can’t encode character ‘\u250c’ in position 316: character maps to <undefined>
Process terminated with an exit code of 1