Errno::ENOENT No such file or directory - Workbook

Discussion in 'Ruby' started by Salil Gaikwad, May 5, 2009.

  1. 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'
    --
    Posted via http://www.ruby-forum.com/.
    Salil Gaikwad, May 5, 2009
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jonathan Kohl

    Error using csv.rb - (Errno::ENOENT)

    Jonathan Kohl, Apr 5, 2005, in forum: Ruby
    Replies:
    2
    Views:
    315
    Jonathan Kohl
    Apr 6, 2005
  2. amos
    Replies:
    1
    Views:
    285
    Eric Hodel
    Jan 22, 2007
  3. Intransition

    FileUtils.mv Pointless Errno::ENOENT

    Intransition, Sep 6, 2009, in forum: Ruby
    Replies:
    2
    Views:
    165
    7stud --
    Sep 12, 2009
  4. Mark Moseley
    Replies:
    0
    Views:
    110
    Mark Moseley
    Sep 16, 2009
  5. Michael R.
    Replies:
    6
    Views:
    803
    Michael R.
    Feb 3, 2010
Loading...

Share This Page