I love the detail here. Thank you. My current problem lies with an attempt to stream in a document to the RubyXL library. The RubyXL::Parser.parser_buffer method to be specific. I have tried a series of different attempts at getting a local file to be read in as a stream as well as an attempt to load a file from a url. Each effort has resulted in a failed attempt and it usually can be traced down into the depths of the Zip library, as the .xlsx file format is really a glorified .zip file. -->
Zip::File.open_buffer expects a String or IO-like argument (responds to tell, seek, read, close). Found: Fixnum
Based on what you say above, the File.open and IO.sysread return strings...do you see anything from afar that would help in diagnosing the situation?
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I love the detail here. Thank you. My current problem lies with an attempt to stream in a document to the RubyXL library. The
RubyXL::Parser.parser_buffer
method to be specific. I have tried a series of different attempts at getting a local file to be read in as a stream as well as an attempt to load a file from a url. Each effort has resulted in a failed attempt and it usually can be traced down into the depths of the Zip library, as the .xlsx file format is really a glorified .zip file. -->Zip::File.open_buffer expects a String or IO-like argument (responds to tell, seek, read, close). Found: Fixnum
Based on what you say above, the
File.open
andIO.sysread
return strings...do you see anything from afar that would help in diagnosing the situation?