benbalter / word-to-markdown

A ruby gem to liberate content from Microsoft Word documents

Home Page:https://word2md.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

encounter an error while converting

sandbeach opened this issue · comments

Seems it will first convert to html?

jacksondeMacBook-Pro:word2markdown jackson$ w2m abc0.0.11.docx
/Library/Ruby/Gems/2.0.0/gems/word-to-markdown-1.1.2/lib/word-to-markdown/document.rb:91:in read': No such file or directory - /var/folders/vn/81b5g27170j8bqsydq6w7n1w0000gn/T/d20150531-1488-ogxosw/abc0.0.11.html (Errno::ENOENT) from /Library/Ruby/Gems/2.0.0/gems/word-to-markdown-1.1.2/lib/word-to-markdown/document.rb:91:inraw_html'
from /Library/Ruby/Gems/2.0.0/gems/word-to-markdown-1.1.2/lib/word-to-markdown/document.rb:58:in normalized_html' from /Library/Ruby/Gems/2.0.0/gems/word-to-markdown-1.1.2/lib/word-to-markdown/document.rb:20:intree'
from /Library/Ruby/Gems/2.0.0/gems/word-to-markdown-1.1.2/lib/word-to-markdown/converter.rb:78:in semanticize_font_styles!' from /Library/Ruby/Gems/2.0.0/gems/word-to-markdown-1.1.2/lib/word-to-markdown/converter.rb:18:inconvert!'
from /Library/Ruby/Gems/2.0.0/gems/word-to-markdown-1.1.2/lib/word-to-markdown.rb:31:in initialize' from /Library/Ruby/Gems/2.0.0/gems/word-to-markdown-1.1.2/bin/w2m:14:innew'
from /Library/Ruby/Gems/2.0.0/gems/word-to-markdown-1.1.2/bin/w2m:14:in <top (required)>' from /usr/bin/w2m:23:inload'
from /usr/bin/w2m:23:in `

'

@sandbeach was LibreOffice GUI open, by chance, when you ran this?