Closed chenryn closed 11 years ago
What kind of content did you run with ?
Please try --format none
or --format plain
option.
In default, this script handles docx file as Fachinformation format.
OK if --format plain. What's fachinfo mean?
The Fachinformation is document in German and French for medical doctor. This gem was made for medical person.
If your docx is not so then I recommend you docx.
Anyway, I will fix error above. thanks. :pill: :syringe:
I didn't find other gems that can keep the image as in html. Thank you for ever.
2012/12/5 Yasuhiro Asaka notifications@github.com
The Fachinformation is document in Germany and French for medical doctor. This library was made for medical person.
If your docx is not so then I recommend you docxhttps://github.com/mportiz08/docx
Anyway, I will fix error above. thanks. [image: :pill:][image: :syringe:]
— Reply to this email directly or view it on GitHubhttps://github.com/zdavatz/ydocx/issues/1#issuecomment-11027524.
;)
/var/lib/gems/1.9.1/gems/ydocx-1.2.3/lib/ydocx/templates/fachinfo.rb:109:in'
parse_title': undefined method
inner_text' for nil:NilClass (NoMethodError) from /var/lib/gems/1.9.1/gems/ydocx-1.2.3/lib/ydocx/templates/fachinfo.rb:130:inparse_block' from /var/lib/gems/1.9.1/gems/ydocx-1.2.3/lib/ydocx/parser.rb:219:in
parse_paragraph' from /var/lib/gems/1.9.1/gems/ydocx-1.2.3/lib/ydocx/parser.rb:37:inblock in parse' from /usr/lib/ruby/vendor_ruby/nokogiri/xml/node_set.rb:239:in
block in each' from /usr/lib/ruby/vendor_ruby/nokogiri/xml/node_set.rb:238:inupto' from /usr/lib/ruby/vendor_ruby/nokogiri/xml/node_set.rb:238:in
each' from /var/lib/gems/1.9.1/gems/ydocx-1.2.3/lib/ydocx/parser.rb:30:inmap' from /var/lib/gems/1.9.1/gems/ydocx-1.2.3/lib/ydocx/parser.rb:30:in
parse' from /var/lib/gems/1.9.1/gems/ydocx-1.2.3/lib/ydocx/document.rb:126:inblock in read' from /var/lib/gems/1.9.1/gems/ydocx-1.2.3/lib/ydocx/parser.rb:24:in
initialize' from /var/lib/gems/1.9.1/gems/ydocx-1.2.3/lib/ydocx/document.rb:124:innew' from /var/lib/gems/1.9.1/gems/ydocx-1.2.3/lib/ydocx/document.rb:124:in
read' from /var/lib/gems/1.9.1/gems/ydocx-1.2.3/lib/ydocx/document.rb:33:ininitialize' from /var/lib/gems/1.9.1/gems/ydocx-1.2.3/lib/ydocx/document.rb:19:in
new' from /var/lib/gems/1.9.1/gems/ydocx-1.2.3/lib/ydocx/document.rb:19:inopen' from /var/lib/gems/1.9.1/gems/ydocx-1.2.3/lib/ydocx/command.rb:99:in
run' from /var/lib/gems/1.9.1/gems/ydocx-1.2.3/bin/docx2xml:12:in<top (required)>' from /usr/local/bin/docx2xml:19:in
load' from /usr/local/bin/docx2xml:19:in `