S
Salil Gaikwad
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'
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'