klayoutmatthias / tf_import

Reads a Cadence techfile into KLayout and produces layer properties from it
MIT License
23 stars 5 forks source link

Must require stringio in newer ruby #5

Open mguthaus opened 3 years ago

mguthaus commented 3 years ago

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:inimport_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)

Jerry9099 commented 2 years ago

Thanks so much! I was having the same issue