Bug#725672: apt-listbugs: version 0.1.10 fails to download bugs from the BTS

2013-12-22 Thread Cristian Ionescu-Idbohrn
On Wed, 4 Dec 2013, Gilles Crèvecœur wrote:

 Finally, When I have suppressed the ruby-libxml the bug has
 disappeared. I don't known why, but it interesting to note that the
 bug that I've described appears even with ruby 1.8 when libraries
 ruby-libxml and ruby-soap4r are installed together.

 So, I am able to suppress ruby 1.8 on my system and use
 apt-listbugs/0.1.11

Not so (debian jessie) here.

Just to add more to the confusion, with only ruby-soap4r installed:

,
| $ irb
| irb(main):001:0 require 'xsd/xmlparser/libxmlparser'
| LoadError: cannot load such file -- xml/libxml
| 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
| /usr/lib/ruby/vendor_ruby/xsd/xmlparser/libxmlparser.rb:10: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
`

With ruby-soap4r _and_ ruby-libxml installed:

,
| $ irb
| 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
`

Having ruby-soap4r _and_ ruby-libxml installed breaks apt-listbugs
0.1.9 too.  Removing ruby-libxml makes apt-listbugs 0.1.9 work.
Replacing apt-listbugs with 0.1.11 breaks apt-listbugs.

It's a mess :(  Is there a recipie to get this working properly?


Cheers,

-- 
Cristian


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#725672: apt-listbugs: version 0.1.10 fails to download bugs from the BTS

2013-12-04 Thread Gilles Crèvecœur
Hi,
Finally, When I have suppressed the ruby-libxml the bug has
disappeared. I don't known why, but it interesting to note that the
bug that I've described appears even with ruby 1.8 when libraries
ruby-libxml and ruby-soap4r are installed together.

So, I am able to suppress ruby 1.8 on my system and use
apt-listbugs/0.1.11

Cheers.
--
Gilles Crèvecœur.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#725672: apt-listbugs: version 0.1.10 fails to download bugs from the BTS

2013-10-11 Thread Gilles Crèvecœur
On Fri, Oct 11, 2013 at 01:06:42AM +0200, Francesco Poli wrote:
[...]
 Mmmmh, and, needless to say, your network link was working fine during
 the test, wasn't it?

Yes, my network link was working fine during the test ! This is best
when we say it !

[...]

 Could you perform one more test (again while connected to the Internet,
 of course)?

For the two questions : Of course !
 
 
 Test 3
 --
 
 $ apt-listbugs -d list apt/0.9.9  /tmp/apt-listbugs.out 2 
 /tmp/apt-listbugs.err
 $ gzip /tmp/apt-listbugs.out /tmp/apt-listbugs.err
 
 Then, please attach /tmp/apt-listbugs.out.gz
 and /tmp/apt-listbugs.err.gz to your reply.

I have used apt-listbugs/0.1.11 for the test three (as test 0 to test
2).
see the two files join.



apt-listbugs.err.gz
Description: Binary data


apt-listbugs.out.gz
Description: Binary data


Bug#725672: apt-listbugs: version 0.1.10 fails to download bugs from the BTS

2013-10-11 Thread Francesco Poli
Control: reassign -1 ruby-soap4r 2.0.5-2
Control: affects -1 + apt-listbugs


On Fri, 11 Oct 2013 19:56:18 +0200 Gilles Crèvecœur wrote:

 On Fri, Oct 11, 2013 at 01:06:42AM +0200, Francesco Poli wrote:
 [...]
  Mmmmh, and, needless to say, your network link was working fine during
  the test, wasn't it?
 
 Yes, my network link was working fine during the test !

OK, good, I was almost sure about that, but I wanted to
be 100 % sure!   ;-)

  
  
  Test 3
  --
  
  $ apt-listbugs -d list apt/0.9.9  /tmp/apt-listbugs.out 2 
  /tmp/apt-listbugs.err
  $ gzip /tmp/apt-listbugs.out /tmp/apt-listbugs.err
  
  Then, please attach /tmp/apt-listbugs.out.gz
  and /tmp/apt-listbugs.err.gz to your reply.
 
 I have used apt-listbugs/0.1.11 for the test three (as test 0 to test
 2).
 see the two files join.
 

$ zcat /tmp/apt-listbugs.err.gz 
Exception `LoadError' at /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36 - 
cannot load such file -- 1.9/libxml_ruby
Exception `LoadError' at /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:63 - 
cannot load such file -- 1.9/libxml_ruby
Exception `NameError' at 
/usr/lib/ruby/vendor_ruby/xsd/xmlparser/libxmlparser.rb:18 - uninitialized 
constant XML::SaxParser
Exception `RuntimeError' at /usr/share/apt-listbugs/apt-listbugs/logic.rb:845 - 
Exiting with error


Please note that the uninitialized constant exception is raised by
ruby-soap4r:

$ dpkg -S /usr/lib/ruby/vendor_ruby/xsd/xmlparser/libxmlparser.rb
ruby-soap4r: /usr/lib/ruby/vendor_ruby/xsd/xmlparser/libxmlparser.rb

I still have to understand why the minimal SOAP irb session worked fine
for you (test 2) while apt-listbugs does not...

But, anyway, the problem indeed seems to lie in package ruby-soap4r.
I am consequently reassigning your bug report to that package, so that
its maintainer(s) may solve the mystery [hi Antonio! any idea of what's
wrong here?].

Thanks for the feedback and good luck with the uninitialized constant
exception!

Bye.

-- 
 http://www.inventati.org/frx/frx-gpg-key-transition-2010.txt
 New GnuPG key, see the transition document!
. Francesco Poli .
 GnuPG key fpr == CA01 1147 9CD2 EFDF FB82  3925 3E1C 27E1 1F69 BFFE


pgp_Q4l1l0q1Z.pgp
Description: PGP signature


Bug#725672: apt-listbugs: version 0.1.10 fails to download bugs from the BTS

2013-10-10 Thread Gilles Crèvecœur
On Wed, Oct 09, 2013 at 10:49:09PM +0200, Francesco Poli wrote:
 No need to apologize, your English will improve as you practice it!

Thanks for your support :)

 Now, I have some tests I would like you to perform on your system,
 after (temporarily) re-upgrading to apt-listbugs version 0.1.10 or
 0.1.11

Ok, I've upgrade to the version 0.1.11 (version 0.1.10 have disappeared from
the repositry). 
And this was the results:

Test 0
--

$ apt-listbugs
0.1.11
$ LC_ALL=C apt-listbugs list apt/0.9.9
Retrieving bug reports... 0% Fail
Error retrieving bug reports from the server with the following error message:
 W: uninitialized constant XML::SaxParser
It could be because your network is down, or because of broken proxy servers, 
or the BTS server itself is down. Check network configuration and try again
Retry downloading bug information? [Y/n] n
Continue the installation anyway? [y/N] n
 ... E: Exiting with error


Test 1
--

$ LC_ALL=C ruby1.9.1 /usr/bin/apt-listbugs list apt/0.9.9
Retrieving bug reports... 0% Fail
Error retrieving bug reports from the server with the following error message:
 W: uninitialized constant XML::SaxParser
It could be because your network is down, or because of broken proxy servers, 
or the BTS server itself is down. Check network configuration and try again
Retry downloading bug information? [Y/n] n
Continue the installation anyway? [y/N] n
 ... E: Exiting with error


$ LC_ALL=C ruby1.8 /usr/bin/apt-listbugs list apt/0.9.9
Retrieving bug reports... 0% Fail
Error retrieving bug reports from the server with the following error message:
 W: uninitialized constant XML::SaxParser
It could be because your network is down, or because of broken proxy servers, 
or the BTS server itself is down. Check network configuration and try again
Retry downloading bug information? [Y/n] n
Continue the installation anyway? [y/N] n
 ... E: Exiting with error

Test 2
--

$ LC_ALL=C irb1.9.1 
   
using ruby: 1.9.3-p448
irb(main):001:0 require 'soap/rpc/driver'
= true
irb(main):002:0 server=http://bugs.debian.org:80/cgi-bin/soap.cgi;
= http://bugs.debian.org:80/cgi-bin/soap.cgi;
irb(main):003:0 ns = 'Debbugs/SOAP/'
= Debbugs/SOAP/
irb(main):004:0 drv = SOAP::RPC::Driver.new(server, ns)
= 
#SOAP::RPC::Driver:#SOAP::RPC::Proxy:http://bugs.debian.org:80/cgi-bin/soap.cgi
irb(main):005:0 drv.add_method('get_bugs','keyparam')
= #Method: 
#SOAP::RPC::Driver:#SOAP::RPC::Proxy:http://bugs.debian.org:80/cgi-bin/soap.cgi.get_bugs
irb(main):006:0  drv.get_bugs(['package', 'apt-listbugs', 'severity', 
'normal']).sort
= [493632, 499657, 536613, 688506, 693291, 725479, 725672]
irb(main):007:0 exit


So, ruby 1.8 makes no difference.  And the ruby-soap4r seems to do the
correct job.  This is weird!

Please let me know, thanks for your feedback! 
You're welcome


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#725672: apt-listbugs: version 0.1.10 fails to download bugs from the BTS

2013-10-10 Thread Francesco Poli
On Thu, 10 Oct 2013 19:35:01 +0200 Gilles Crèvecœur wrote:

[...]
 Test 0
 --
 
 $ apt-listbugs
 0.1.11
 $ LC_ALL=C apt-listbugs list apt/0.9.9
 Retrieving bug reports... 0% Fail
 Error retrieving bug reports from the server with the following error message:
  W: uninitialized constant XML::SaxParser
 It could be because your network is down, or because of broken proxy servers, 
 or the BTS server itself is down. Check network configuration and try again
 Retry downloading bug information? [Y/n] n
 Continue the installation anyway? [y/N] n
  ... E: Exiting with error

Mmmmh, and, needless to say, your network link was working fine during
the test, wasn't it?

[...]
 Test 2
 --
 
 $ LC_ALL=C irb1.9.1
[...]
 irb(main):006:0  drv.get_bugs(['package', 'apt-listbugs', 'severity', 
 'normal']).sort
 = [493632, 499657, 536613, 688506, 693291, 725479, 725672]
 irb(main):007:0 exit
 
 
 So, ruby 1.8 makes no difference.  And the ruby-soap4r seems to do the
 correct job.  This is weird!

Indeed.

Could you perform one more test (again while connected to the Internet,
of course)?


Test 3
--

$ apt-listbugs -d list apt/0.9.9  /tmp/apt-listbugs.out 2 
/tmp/apt-listbugs.err
$ gzip /tmp/apt-listbugs.out /tmp/apt-listbugs.err

Then, please attach /tmp/apt-listbugs.out.gz
and /tmp/apt-listbugs.err.gz to your reply.



-- 
 http://www.inventati.org/frx/frx-gpg-key-transition-2010.txt
 New GnuPG key, see the transition document!
. Francesco Poli .
 GnuPG key fpr == CA01 1147 9CD2 EFDF FB82  3925 3E1C 27E1 1F69 BFFE


pgpepedT79fSa.pgp
Description: PGP signature


Bug#725672: apt-listbugs: version 0.1.10 fails to download bugs from the BTS

2013-10-09 Thread Francesco Poli
On Tue, 8 Oct 2013 12:19:42 +0200 Gilles Crèvecœur wrote:

 On Mon, Oct 07, 2013 at 10:10:55PM +0200, Francesco Poli wrote:
[...]
  Gilles, what's the output of ruby -v on your system?
 
 I use the ruby interpreter provide by official debian packages.
 ruby -v output : ruby 1.9.3p448 (2013-06-27 revision 41675) [i486-linux]

OK, my question was primarily intended to check whether you were using
Ruby 1.9, Ruby 1.8, or Ruby 2.0 as default interpreter.

[...]
  Gilles, please provide the requested additional information, thanks.
 
 I apologize, I'm not comfortable at all with english, and this is the reason
 why my message is so tight ;) 

No need to apologize, your English will improve as you practice it!

Now, I have some tests I would like you to perform on your system,
after (temporarily) re-upgrading to apt-listbugs version 0.1.10 or
0.1.11

You can issue all the following commands as regular user (no need to
become root, in order to perform the tests).


Test 0
--

Is the output of the following commands identical to what I get or do
they fail with errors? Please copy and paste the transcript of your
shell session:

$ apt-listbugs -v 
0.1.11
$ LC_ALL=C apt-listbugs list apt/0.9.9
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
serious bugs of apt (- 0.9.9) Resolved in some Version
 #558784 - apt: re-adds removed keys (Fixed: 0.9.10)
Summary:
 apt(1 bug)


Test 1
--

Does using Ruby 1.8 make any difference?
In case you no longer have package ruby1.8 on your system, please
temporarily re-install it.
Please copy and paste the transcript of your shell session:

$ LC_ALL=C ruby1.9.1 /usr/bin/apt-listbugs list apt/0.9.9
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
serious bugs of apt (- 0.9.9) Resolved in some Version
 #558784 - apt: re-adds removed keys (Fixed: 0.9.10)
Summary:
 apt(1 bug)
$ LC_ALL=C ruby1.8 /usr/bin/apt-listbugs list apt/0.9.9
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
serious bugs of apt (- 0.9.9) Resolved in some Version
 #558784 - apt: re-adds removed keys (Fixed: 0.9.10)
Summary:
 apt(1 bug)


Test 2
--

Please try and run the interactive Ruby interpreter.
Type one command at a time and see the result.
Please copy and paste the transcript of your irb session:

$ LC_ALL=C irb1.9.1 
irb(main):001:0 require 'soap/rpc/driver'
= true
irb(main):002:0 server=http://bugs.debian.org:80/cgi-bin/soap.cgi;
= http://bugs.debian.org:80/cgi-bin/soap.cgi;
irb(main):003:0 ns = 'Debbugs/SOAP/'
= Debbugs/SOAP/
irb(main):004:0 drv = SOAP::RPC::Driver.new(server, ns)
= 
#SOAP::RPC::Driver:#SOAP::RPC::Proxy:http://bugs.debian.org:80/cgi-bin/soap.cgi
irb(main):005:0 drv.add_method('get_bugs','keyparam')
= #Method: 
#SOAP::RPC::Driver:#SOAP::RPC::Proxy:http://bugs.debian.org:80/cgi-bin/soap.cgi.get_bugs
irb(main):006:0 drv.get_bugs(['package', 'apt-listbugs', 'severity', 
'normal']).sort
= [493632, 499657, 536613, 688506, 693291, 725479, 725672]
irb(main):007:0 exit


Please let me know, thanks for your feedback!


-- 
 http://www.inventati.org/frx/frx-gpg-key-transition-2010.txt
 New GnuPG key, see the transition document!
. Francesco Poli .
 GnuPG key fpr == CA01 1147 9CD2 EFDF FB82  3925 3E1C 27E1 1F69 BFFE


pgp5rn6Ax7cPB.pgp
Description: PGP signature


Bug#725672: apt-listbugs: version 0.1.10 fails to download bugs from the BTS

2013-10-08 Thread Gilles Crèvecœur
On Mon, Oct 07, 2013 at 10:10:55PM +0200, Francesco Poli wrote:
 Control: tags -1 + moreinfo
 
 
 On Mon, 7 Oct 2013 11:20:26 +0200 Cyril Brulebois wrote:
 
 [...]
  Gilles Crevecoeur gilles.creveco...@gmail.com (2013-10-07):
   Package: apt-listbugs
   Version: 0.1.9
   Severity: normal
   
   Dear Maintainer,
 
 Hello Gilles,
 thanks for your bug report!

Hello Francesco, 
Thanks for your response!

 
   
   While the version 0.1.9 works correctly, the last version
   fails with this message :
W: uninitialized constant XML::SaxParser
 
 Awkward!
 I have never seen any error resembling this, during the development
 cycle of apt-listbugs/0.1.10 ...
 
   
   
   I've downgraded to previous version to be able
   to update my system more safely.
  
  So you should have edited the Version pseudoheader. Fixing with the
  above commands.

Hello Cyril,
This is because, I use reportbug stupidly. Thanks for your correction
and your reply. I'll try to think to that the next time i'll fill a
bug report ;)

 
 Hello Cyril,
 many thanks for fixing the version tracking info and for sending a
 first reply to Gilles! It's really appreciated.
 
  
  I can't seem able to reproduce this issue, taking a testing chroot and
  upgrading only apt-listbugs.
 
 I cannot reproduce the bug, either.
 
  Anything special with your setup?

I don't think there is something special... But I'll think about
that. I'll try again apt-listbugs/0.1.10 to see the results.

 
 This is an important question: Gilles, please describe any special
 configuration that may be related to the bug.
 
 BTW, Gilles, what's the output of ruby -v on your system?

I use the ruby interpreter provide by official debian packages.
ruby -v output : ruby 1.9.3p448 (2013-06-27 revision 41675) [i486-linux]

I've left the default configuration in /etc/apt/listbugs/

  
  (It appears I have the same set of ruby packages installed, besides
  ruby-gettext. Getting to the same version as yours didn't make a
  difference.)
  
  Trying to install ruby1.9 doesn't seem to lead to any issues either
  (tried that since the changelog suggested bits of 1.9 support got
  merged in that release).
 
 I confirm that apt-listbugs/0.1.10 is the release where support for
 Ruby 1.9 has just debuted (generating a few new bug reports...!).
 But I tested the package several times with both Ruby 1.8 and Ruby 1.9:
 everything worked fine and I have never seen the error experienced by
 Gilles, as I said.
 I am really puzzled.
 
 I suspect that the problem lies in package ruby-soap4r, but I still
 have to figure out why Cyril and I do not experience it.

I've had the same idea about ruby-soap4r.

 Gilles, please provide the requested additional information, thanks.

I apologize, I'm not comfortable at all with english, and this is the reason
why my message is so tight ;) 

Cheers.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org