Your message dated Wed, 8 Apr 2015 11:46:04 +0200
with message-id <[email protected]>
and subject line Re: #736183: ruby-dbd-pg: broken with ruby 2.0
has caused the Debian Bug report #736183,
regarding ruby-dbd-pg: broken with ruby 2.0
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
736183: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=736183
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ruby-dbd-pg
Version: 0.3.9+gem2deb-1
Severity: important
Hi,
I'm using the following, simple test setup:
1) ssh tunnel to UDD:
ssh -NL 5452:localhost:5452 [email protected]
2) this simple script:
----------------------------------------->8
require 'dbi'
require 'pp'
require 'pg'
$dbh = DBI::connect('DBI:Pg:dbname=udd;port=5452;host=localhost', 'guest')
q= <<EOF
SELECT distinct severity from bugs limit 1
EOF
sth = $dbh.prepare(q)
sth.execute
rows = sth.fetch_all
pp rows
conn = PGconn.open(:dbname => 'udd', :user => 'guest', :port => 5452, :host =>
'localhost')
res = conn.exec('SELECT distinct severity from bugs')
p res.getvalue(0,0)
----------------------------------------->8
I get the following output:
*** lucas@grep:~$ ruby1.9.3 t.rb
[["wishlist"]]
"grave"
*** lucas@grep:~$ ruby2.0 t.rb
[nil]
"grave"
For some reason, ruby-dbd-pg seems broken with Ruby 2.0, whereas ruby-pg seems
to work fine.
- Lucas
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (990, 'testing'), (800, 'stable'), (300, 'unstable'), (150,
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.12-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages ruby-dbd-pg depends on:
ii ruby 1:1.9.3
ii ruby-dbi 0.4.5-1
ii ruby-pg 0.17.0-1
ii ruby1.9.1 [ruby-interpreter] 1.9.3.484-1
ii ruby2.0 [ruby-interpreter] 2.0.0.353-1
ruby-dbd-pg recommends no packages.
ruby-dbd-pg suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
I've tried reproducing this on current versions (ruby 2.1,
ruby-dpd-pg 0.3.9+gem2deb-1, ruby-dbi 0.4.5-3) and this again
produces the expected outcome.
I assume this was fixed in ruby itself.
--
,''`. Christian Hofstaedtler <[email protected]>
: :' : Debian Developer
`. `' 7D1A CFFA D9E0 806C 9C4C D392 5C13 D6DB 9305 2E03
`-
pgpzopdbwVz2K.pgp
Description: PGP signature
--- End Message ---
_______________________________________________
Pkg-ruby-extras-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers