Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't open a xlsm file #4

Closed
prathe opened this issue Oct 26, 2011 · 3 comments
Closed

Can't open a xlsm file #4

prathe opened this issue Oct 26, 2011 · 3 comments

Comments

@prathe
Copy link

prathe commented Oct 26, 2011

I've tried to open a file with macros:

workbook = RubyXL::Parser.parse('/Users/me/myfile.xlsm')

I got this error:

/Users/me/.rvm/gems/ruby-1.9.2-p290/gems/rubyXL-1.1.10/lib/rubyXL/parser.rb:325:in `read': Is a directory - ./2011_10_26_14_17_38_0400/xl/drawings/_rels (Errno::EISDIR)
from /Users/prathe/.rvm/gems/ruby-1.9.2-p290/gems/rubyXL-1.1.10/lib/rubyXL/parser.rb:325:in `block in decompress'
from /Users/prathe/.rvm/gems/ruby-1.9.2-p290/gems/rubyXL-1.1.10/lib/rubyXL/parser.rb:324:in `each'
from /Users/prathe/.rvm/gems/ruby-1.9.2-p290/gems/rubyXL-1.1.10/lib/rubyXL/parser.rb:324:in `each_with_index'
from /Users/prathe/.rvm/gems/ruby-1.9.2-p290/gems/rubyXL-1.1.10/lib/rubyXL/parser.rb:324:in `decompress'
from /Users/prathe/.rvm/gems/ruby-1.9.2-p290/gems/rubyXL-1.1.10/lib/rubyXL/parser.rb:38:in `parse'
from xls.rb:11:in `<main>'

I'm using version 1.1.10 of the gem.

› ruby --version
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin11.0.1]
@amanfredi
Copy link
Collaborator

Can you please upload the file that exhibits this issue?

@prathe
Copy link
Author

prathe commented Oct 26, 2011

No sorry I can't.

@prathe prathe closed this as completed Oct 26, 2011
@belgoros
Copy link

Just opened the issue (23) covering the same problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants