[DRE-maint] Bug#725672: apt-listbugs: version 0.1.10 fails to dowload bugs from the BTS
Adam Majer
adamm at zombino.com
Mon Oct 14 17:11:27 UTC 2013
Package: ruby-soap4r
Version: 2.0.5-2
Followup-For: Bug #725672
irb(main):001:0> require 'xsd/xmlparser/libxmlparser'
NameError: uninitialized constant XML::SaxParser
from
/usr/lib/ruby/vendor_ruby/xsd/xmlparser/libxmlparser.rb:18:in
`<class:LibXMLParser>'
from
/usr/lib/ruby/vendor_ruby/xsd/xmlparser/libxmlparser.rb:17:in
`<module:XMLParser>'
from
/usr/lib/ruby/vendor_ruby/xsd/xmlparser/libxmlparser.rb:14:in
`<module:XSD>'
from
/usr/lib/ruby/vendor_ruby/xsd/xmlparser/libxmlparser.rb:13:in
`<top (required)>'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in
`require'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in
`require'
from (irb):1
from /usr/bin/irb:12:in `<main>'
irb(main):002:0>
That module seems to be now (from /usr/lib/ruby/vendor_ruby/libxml/sax_parser.rb)
module LibXML
module XML
class SaxParser
So I changed the include in the above file to include the LibXML
prefix and it all works now.
======
--- orig.rb 2013-10-14 12:09:51.797070984 -0500
+++ libxmlparser.rb 2013-10-14 12:09:20.281071837 -0500
@@ -15,7 +15,7 @@
class LibXMLParser < XSD::XMLParser::Parser
- include XML::SaxParser::Callbacks
+ include LibXML::XML::SaxParser::Callbacks
def do_parse(string_or_readable)
if string_or_readable.respond_to?(:read)
@@ -25,7 +25,7 @@
end
# XMLParser passes a String in utf-8.
@charset = 'utf-8'
- @parser = XML::SaxParser.string(string)
+ @parser = LibXML::XML::SaxParser.string(string)
@parser.callbacks = self
@parser.parse
end
=====
Not sure what version dependencies that brings in, but hope this
helps.
Cheers,
Adam
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (50, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.10-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages ruby-soap4r depends on:
ii ruby 1:1.9.3
ii ruby1.8 [ruby-interpreter] 1.8.7.358-8
ii ruby1.9.1 [ruby-interpreter] 1.9.3.448-1
ruby-soap4r recommends no packages.
ruby-soap4r suggests no packages.
-- no debconf information
More information about the Pkg-ruby-extras-maintainers
mailing list