Forum: Ruby Errno::ENOENT No such file or directory - Workbook

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
C42c706fab23da0b6d3cd2cfbb8db27d?d=identicon&s=25 Salil Gaikwad (salil)
on 2009-05-05 16:15
Hi All,
       While reading xls file through spreadsheet i get the following
error. I am working on linux, and using following gems parseexcel-0.5.2,
spreadsheet-0.6.3.1.



 Errno::ENOENT

No such file or directory - Workbook

vendor/gems/ruby-ole-1.2.8.2/lib/ole/storage/file_system.rb:125:in
`dirent_from_path'
vendor/gems/ruby-ole-1.2.8.2/lib/ole/storage/file_system.rb:158:in
`open'
vendor/gems/spreadsheet-0.6.3.1/lib/spreadsheet/excel/reader.rb:1100:in
`setup'
vendor/gems/spreadsheet-0.6.3.1/lib/spreadsheet/excel/reader.rb:120:in
`read'
vendor/gems/spreadsheet-0.6.3.1/lib/spreadsheet/excel/workbook.rb:32:in
`open'
vendor/gems/spreadsheet-0.6.3.1/lib/spreadsheet.rb:62:in `open'
vendor/gems/spreadsheet-0.6.3.1/lib/spreadsheet.rb:68:in `open'
vendor/gems/spreadsheet-0.6.3.1/lib/parseexcel/parseexcel.rb:18:in
`parse'
app/controllers/admin_controller.rb:105:in `process_xls_file'
app/controllers/admin_controller.rb:338:in `check_file_type'
app/controllers/admin_controller.rb:519:in `upload_royalty_file'
app/controllers/admin_controller.rb:512:in `each'
app/controllers/admin_controller.rb:512:in `upload_royalty_file'
This topic is locked and can not be replied to.