tf_import icon indicating copy to clipboard operation
tf_import copied to clipboard

Must require stringio in newer ruby

Open mguthaus opened this issue 4 years ago • 1 comments

Using ruby 2.7, I had to add the require statement or I got an error:

ERROR: /home/X/.klayout/ruby/import_tf.rb:71: uninitialized constant TechfileToKLayout::StringIO /home/X/.klayout/ruby/import_tf.rb:71:in read_skill_file_as_ruby_expr' /home/X/.klayout/ruby/import_tf.rb:196:in import_techfile' /home/X/.klayout/macros/import_tf_standalone.rb:35:in <module:TechfileToKLayout>' /home/X/.klayout/macros/import_tf_standalone.rb:24:in

' (class NameError)

mguthaus avatar Dec 17 '20 22:12 mguthaus

Thanks so much! I was having the same issue

Jerry9099 avatar Mar 24 '22 22:03 Jerry9099