{"action":"created","issue":{"url":"https://api.github.com/repos/ONLYOFFICE/ooxml_parser/issues/302","repository_url":"https://api.github.com/repos/ONLYOFFICE/ooxml_parser","labels_url":"https://api.github.com/repos/ONLYOFFICE/ooxml_parser/issues/302/labels{/name}","comments_url":"https://api.github.com/repos/ONLYOFFICE/ooxml_parser/issues/302/comments","events_url":"https://api.github.com/repos/ONLYOFFICE/ooxml_parser/issues/302/events","html_url":"https://github.com/ONLYOFFICE/ooxml_parser/issues/302","id":192569813,"number":302,"title":"File Parsing on Windows not working","user":{"login":"maxchill","id":916491,"avatar_url":"https://avatars.githubusercontent.com/u/916491?v=3","gravatar_id":"","url":"https://api.github.com/users/maxchill","html_url":"https://github.com/maxchill","followers_url":"https://api.github.com/users/maxchill/followers","following_url":"https://api.github.com/users/maxchill/following{/other_user}","gists_url":"https://api.github.com/users/maxchill/gists{/gist_id}","starred_url":"https://api.github.com/users/maxchill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxchill/subscriptions","organizations_url":"https://api.github.com/users/maxchill/orgs","repos_url":"https://api.github.com/users/maxchill/repos","events_url":"https://api.github.com/users/maxchill/events{/privacy}","received_events_url":"https://api.github.com/users/maxchill/received_events","type":"User","site_admin":false},"labels":[{"id":491733192,"url":"https://api.github.com/repos/ONLYOFFICE/ooxml_parser/labels/need%20feedback","name":"need feedback","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":{"login":"ShockwaveNN","id":668524,"avatar_url":"https://avatars.githubusercontent.com/u/668524?v=3","gravatar_id":"","url":"https://api.github.com/users/ShockwaveNN","html_url":"https://github.com/ShockwaveNN","followers_url":"https://api.github.com/users/ShockwaveNN/followers","following_url":"https://api.github.com/users/ShockwaveNN/following{/other_user}","gists_url":"https://api.github.com/users/ShockwaveNN/gists{/gist_id}","starred_url":"https://api.github.com/users/ShockwaveNN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ShockwaveNN/subscriptions","organizations_url":"https://api.github.com/users/ShockwaveNN/orgs","repos_url":"https://api.github.com/users/ShockwaveNN/repos","events_url":"https://api.github.com/users/ShockwaveNN/events{/privacy}","received_events_url":"https://api.github.com/users/ShockwaveNN/received_events","type":"User","site_admin":false},"assignees":[{"login":"ShockwaveNN","id":668524,"avatar_url":"https://avatars.githubusercontent.com/u/668524?v=3","gravatar_id":"","url":"https://api.github.com/users/ShockwaveNN","html_url":"https://github.com/ShockwaveNN","followers_url":"https://api.github.com/users/ShockwaveNN/followers","following_url":"https://api.github.com/users/ShockwaveNN/following{/other_user}","gists_url":"https://api.github.com/users/ShockwaveNN/gists{/gist_id}","starred_url":"https://api.github.com/users/ShockwaveNN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ShockwaveNN/subscriptions","organizations_url":"https://api.github.com/users/ShockwaveNN/orgs","repos_url":"https://api.github.com/users/ShockwaveNN/repos","events_url":"https://api.github.com/users/ShockwaveNN/events{/privacy}","received_events_url":"https://api.github.com/users/ShockwaveNN/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-11-30T13:48:37Z","updated_at":"2016-12-01T13:18:59Z","closed_at":null,"body":"I wrote a simple demonstration app, essentially copied from the example page.  The code parses the docx successfully on a Linux box, however the same code on windows seems to choke on all Windows paths.  Looks like the path isn't being accepted by ruby-magic gem or something in encrypted_file method.\r\nIs there a configuration workaround to force treating like an unencrypted file to bypass this?  \r\n\r\n```\r\nC:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/ooxml_parser-0.1.2/lib/ooxml_parser/common_parser/common_data/ooxml_document_object.rb:29:in ``': No such file or directory - file \"./test.docx\" (Errno::ENOENT)\r\n        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/ooxml_parser-0.1.2/lib/ooxml_parser/common_parser/common_data/ooxml_document_object.rb:29:in `encrypted_file?'\r\n        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/ooxml_parser-0.1.2/lib/ooxml_parser/common_parser/parser.rb:7:in `parse'\r\n        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/ooxml_parser-0.1.2/lib/ooxml_parser/docx_parser/docx_parser.rb:7:in `parse_docx'\r\n        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/mygem-0.8.8/exe/doxparser:93:in `block (2 levels) in <top (required)>'\r\n        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/mygem-0.8.8/exe/doxparser:73:in `each'\r\n        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/mygem-0.8.8/exe/doxparser:73:in `block in <top (required)>'\r\n        from C:/Ruby22-x64/lib/ruby/2.2.0/optparse.rb:917:in `initialize'\r\n        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/mygem-0.8.8/exe/doxparser:35:in `new'\r\n        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/mygem-0.8.8/exe/doxparser:35:in `<top (required)>'\r\n        from C:/Ruby22-x64/bin/doxparser:22:in `load'\r\n        from C:/Ruby22-x64/bin/doxparser:22:in `<main>'\r\n```"},"comment":{"url":"https://api.github.com/repos/ONLYOFFICE/ooxml_parser/issues/comments/264171174","html_url":"https://github.com/ONLYOFFICE/ooxml_parser/issues/302#issuecomment-264171174","issue_url":"https://api.github.com/repos/ONLYOFFICE/ooxml_parser/issues/302","id":264171174,"user":{"login":"maxchill","id":916491,"avatar_url":"https://avatars.githubusercontent.com/u/916491?v=3","gravatar_id":"","url":"https://api.github.com/users/maxchill","html_url":"https://github.com/maxchill","followers_url":"https://api.github.com/users/maxchill/followers","following_url":"https://api.github.com/users/maxchill/following{/other_user}","gists_url":"https://api.github.com/users/maxchill/gists{/gist_id}","starred_url":"https://api.github.com/users/maxchill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxchill/subscriptions","organizations_url":"https://api.github.com/users/maxchill/orgs","repos_url":"https://api.github.com/users/maxchill/repos","events_url":"https://api.github.com/users/maxchill/events{/privacy}","received_events_url":"https://api.github.com/users/maxchill/received_events","type":"User","site_admin":false},"created_at":"2016-12-01T13:18:59Z","updated_at":"2016-12-01T13:18:59Z","body":"@ShockwaveNN thanks for quick response.  I had actually attempted using the gem from master before posting, however I some compilation issues with ruby-magic on windows, so posted here instead.\r\n\r\nNow I've got the gem built and installed I can confirm the latest version works. "}}
{"actor":{"display_login":"maxchill"}}