Package: libruby1.8
Version: 1.8.4-1
Severity: normal

When running code that worked with 1.8.2 on sarge, 1.8.4
complains with the following trace.  It suggests to me that
@ssl_context is not set to anything other than nil (in the
initialize method), so line 565 would more safely check
@ssl_context first (and perhaps generate a more useful
error message) before invoking @ssl_context.verify_mode.
Again, although I'm not an xmlrpc whiz, the code does
run correcly on sarge's version of ruby if I downgrade.
"Correctly" does involve printing that warning message
about the server's cert not being verified this session.

It's possible that my mixed sarge/etch install is to blame
(I wanted to install rails).   I'll try to look into it a
bit, since I realize this stack trace from code that would
require authentication tokens to run and reproduce forms
a fairly poor bug report.  I thought it worth filing the
incomplete report in case I'm not able to figure out a fix.

thanks,
-neil

scriptroute:~/scriptroute/planetlab> ./enable_slice_on_all.rb 
/usr/lib/ruby/1.8/net/http.rb:565:in `connect': undefined method `verify_mode' 
for nil:NilClass (NoMethodError)        from
/usr/lib/ruby/1.8/net/http.rb:555:in `do_start'
        from /usr/lib/ruby/1.8/net/http.rb:544:in `start'
        from /usr/lib/ruby/1.8/net/http.rb:1031:in `request'
        from /usr/lib/ruby/1.8/net/http.rb:988:in `post2'
        from /usr/lib/ruby/1.8/xmlrpc/client.rb:535:in `do_rpc'
        from /usr/lib/ruby/1.8/xmlrpc/client.rb:420:in `call2'
        from /usr/lib/ruby/1.8/xmlrpc/client.rb:410:in `call'
        from ./enable_slice_on_all.rb:39:in `getListOfMyNodes'
        from ./enable_slice_on_all.rb:92


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.27-2-386
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages libruby1.8 depends on:
ii  libc6                         2.3.5-12   GNU C Library: Shared libraries an
ii  libncurses5                   5.4-9      Shared libraries for terminal hand
ii  zlib1g                        1:1.2.3-3  compression library - runtime

-- no debconf information


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

Reply via email to