Actions
Bug #8933
closedruby-2.0.0-p247/gems/rubyzip-0.9.9/lib/zip/inflater.rb:42: [BUG] Segmentation fault
Description
Hello,
My program is working on Linux and Windows but not on my mac OSX, I have the error segmentation fault
Program example:
require 'rubygems'
require 'nokogiri'
require 'zip/zip' #rubyzip 0.9.9
require 'lib/semboxlib'
@zip = Zip::ZipFile.open("SDD_001.docx")
#initialise Nokogiri reader with document.xml
doc = Nokogiri::XML(@zip.read('word/document.xml'))
#open xsl file
xslt = Nokogiri::XSLT(File.read("DocxHtml.xsl"))
#convert document.xml in html using xsl sheet return html
#Nokogiri::HTML(xslt.transform(doc).to_html)
xslt.transform(doc).to_s
Files
Updated by hsbt (Hiroshi SHIBATA) almost 11 years ago
- Status changed from Open to Closed
duplicated to #8932
Actions
Like0
Like0