[DRE-maint] [Bug 447523] Re: ODBC::Error: INTERN (0) [RubyODBC]Cannot allocate SQLHENV

agent 8131 447523 at bugs.launchpad.net
Thu Nov 18 23:00:18 UTC 2010


I've verified that this problem exists in Ubuntu 10.10.  Here is my
replication, installing the ubuntu version, followed by the debian
squeeze version:

$ sudo apt-get install libodbc-ruby1.8=0.99991-2
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  libodbc-ruby1.8-doc libdbi-ruby1.8
The following packages will be upgraded:
  libodbc-ruby1.8
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/112kB of archives.
After this operation, 8,192B disk space will be freed.
(Reading database ... 327275 files and directories currently installed.)
Preparing to replace libodbc-ruby1.8 0.99991-2 (using .../libodbc-ruby1.8_0.99991-2_amd64.deb) ...
Unpacking replacement libodbc-ruby1.8 ...
Setting up libodbc-ruby1.8 (0.99991-2) ...

$ irb
irb(main):001:0> require 'odbc'
=> true
irb(main):002:0> ODBC.drivers
ODBC::Error: INTERN (0) [RubyODBC]Cannot allocate SQLHENV
	from (irb):2:in `drivers'
	from (irb):2
	from /usr/lib/ruby/1.8/date.rb:1668

$ sudo dpkg -i libodbc-ruby1.8_0.99991-2_amd64.deb 
(Reading database ... 327275 files and directories currently installed.)
Preparing to replace libodbc-ruby1.8 0.99991-2 (using libodbc-ruby1.8_0.99991-2_amd64.deb) ...
Unpacking replacement libodbc-ruby1.8 ...
Setting up libodbc-ruby1.8 (0.99991-2) ...

$ irb
irb(main):001:0> require 'odbc'
=> true
irb(main):002:0> ODBC.drivers
=> []

** Changed in: libodbc-ruby (Ubuntu)
       Status: Fix Committed => Confirmed

-- 
ODBC::Error: INTERN (0) [RubyODBC]Cannot allocate SQLHENV
https://bugs.launchpad.net/bugs/447523
You received this bug notification because you are subscribed to Ubuntu.

Status in “libodbc-ruby” package in Ubuntu: Confirmed

Bug description:
After updating to 0.997 every call to ODBC results in the error message:
ODBC::Error: INTERN (0) [RubyODBC]Cannot allocate SQLHENV

Steps to reproduce:
$ irb
irb(main):001:0> require 'odbc'
=> true
irb(main):002:0> ODBC.drivers
ODBC::Error: INTERN (0) [RubyODBC]Cannot allocate SQLHENV
	from (irb):2:in `drivers'
	from (irb):2


With version 0.995 from intrepid it works.

ProblemType: Bug
Architecture: i386
Date: Fri Oct  9 21:51:15 2009
DistroRelease: Ubuntu 9.10
Package: libodbc-ruby1.8 0.9997-2
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, no user)
 LANG=de_DE.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-12.41-generic
SourcePackage: libodbc-ruby
Uname: Linux 2.6.31-12-generic i686
XsessionErrors:
 (gnome-settings-daemon:1478): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
 (gnome-settings-daemon:1478): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
 (nautilus:1535): Eel-CRITICAL **: eel_preferences_get_boolean: assertion `preferences_is_initialized ()' failed
 (polkit-gnome-authentication-agent-1:1586): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed







More information about the Pkg-ruby-extras-maintainers mailing list