Problem with import script ipboard3.rb

If you do the queries that the script is doing, do they provide the data that you expect?

Did you change your

if raw.to_i.zero?

to something like

if raw.length == 0

"randome text".to_i.zero? will always be true.