Package: apt-listbugs
Version: 0.0.54
Severity: important

For example, when running 'apt-listbugs list psi':

------ start ------
Reading package fields... Done
Reading package status... Done
Retrieving bug reports... 0% ... E: undefined local variable or method
`pkg' for Factory::BugsFactory:Module
------ end ------

A bit of debugging (added --debug to ruby) gives this:

------ start ------
Exception `LoadError' at /usr/lib/ruby/1.8/xml/encoding-ja.rb:12 - no
such file to load -- uconv
Set XSD::XMLParser::XMLParser as XML processor.
Exception `LoadError' at /usr/lib/ruby/1.8/http-access2.rb:31 - no such
file to load -- openssl
Exception `LoadError' at /usr/lib/ruby/1.8/tmpdir.rb:12 - no such file
to load -- Win32API
Exception `LoadError' at /usr/lib/ruby/1.8/xml/encoding-ja.rb:12 - no
such file to load -- uconv
Exception `LoadError' at /usr/lib/ruby/1.8/xml/encoding-ja.rb:12 - no
such file to load -- uconv
Exception `LoadError' at /usr/lib/ruby/1.8/rss/xmlscanner.rb:1 - no such
file to load -- xmlscan/scanner
/tmp/a-l.dbg:372: warning: instance variable @title not initialized
http://bugs.debian.org:80/
indexdir = /indices/
Reading package fields... Done
Reading package status... Done
Retrieving bug reports... 0%fetching /indices/index.db-critical.gz..
Reading /indices/index.db-critical.gz...
fetching /indices/index.db-grave.gz..
Reading /indices/index.db-grave.gz...
fetching ..
redirected to http://bugs.donarmstrong.com/cgi-bin/soap.cgi
Exception `NoMethodError' at
/usr/share/apt-listbugs/debian/btssoap.rb:50 - undefined method `each'
for #<SOAP::Mapping::Object:0x..fdbb25f10>
 Exception: NoMethodError
Exception `NameError' at /tmp/a-l.dbg:1040 - undefined local variable
or method `pkg' for Factory::BugsFactory:Module
 ... E: undefined local variable or method `pkg' for
Factory::BugsFactory:Module
------ end ------

However, debugging ruby scripts is way beyond me, so I'm requesting for
help.

It's probably also worth mentioning that not all packages trigger that,
'apt-listbugs list apt' behaves normally, for example. It seems that it
only crashes on an empty buglist (or whatever is printed after
"fetching" in debug mode.


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (800, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages apt-listbugs depends on:
ii  apt                           0.6.46     Advanced front-end for dpkg
ii  libdpkg-ruby1.8               0.3.2      modules/classes for dpkg on ruby 1
ii  libhttp-access2-ruby1.8       2.0.6-1    HTTP accessing library for ruby
ii  libintl-gettext-ruby1.8       0.11-8     Gettext wrapper for Ruby 1.8
ii  libruby1.8 [libzlib-ruby1.8]  1.8.5-2    Libraries necessary to run Ruby 1.
ii  libxml-parser-ruby1.8         0.6.8-2    Interface of expat for the scripti
ii  ruby                          1.8.2-1    An interpreter of object-oriented 

apt-listbugs recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to