Skip Menu |

This queue is for tickets about the DBD-AnyData CPAN distribution.

Report information
The Basics
Id: 83293
Status: rejected
Priority: 0/
Queue: DBD-AnyData

People
Owner: Nobody in particular
Requestors: ajs [...] dancingjars.com
CHORNY [...] cpan.org
JDB [...] cpan.org
liacolettig [...] over-log.it
Cc: gregoa [...] cpan.org
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.110
Fixed in: 0.110



Subject: DBD::AnyData not compatible with DBI 1.623
Verified with both perl 5.8 and 5.16: DBD::AnyData works fine with DBI 1.622 but fails with 1.623: PERL_DL_NONLAZY=1 /home/jand/aped1602.1/bin/perl-static "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-load.t ... 1/1 # Testing DBD::AnyData 0.110, Perl 5.016002, /home/jand/aped1602.1/bin/perl-static t/00-load.t ... ok t/01-basic.t .. 1/? DBD::AnyData::db do failed: Can't call method "complete_table_name" on an undefined value at /home/jand/aped1602.1/site/lib/DBI/DBD/SqlEngine.pm line 1498. at /home/jand/aped1602.1/site/lib/DBI/DBD/SqlEngine.pm line 1234. [for Statement "CREATE TABLE test_CSV (name TEXT, country TEXT,sex TEXT)"] at t/01-basic.t line 65. # Failed test 'CREATE test_CSV' # at t/01-basic.t line 65. DBD::AnyData::db do failed: Can't call method "complete_table_name" on an undefined value at /home/jand/aped1602.1/site/lib/DBI/DBD/SqlEngine.pm line 1498. at /home/jand/aped1602.1/site/lib/DBI/DBD/SqlEngine.pm line 1234. [for Statement "INSERT INTO test_CSV VALUES ('Sue','fr','f')"] at t/01-basic.t line 66. # Failed test 'INSERT 1. row into test_CSV' # at t/01-basic.t line 66. DBD::AnyData::db do failed: Can't call method "complete_table_name" on an undefined value at /home/jand/aped1602.1/site/lib/DBI/DBD/SqlEngine.pm line 1498. at /home/jand/aped1602.1/site/lib/DBI/DBD/SqlEngine.pm line 1234. [for Statement "INSERT INTO test_CSV VALUES ('Tom','fr','f')"] at t/01-basic.t line 67. # Failed test 'INSERT 2. row into test_CSV' # at t/01-basic.t line 67. DBD::AnyData::db do failed: Can't call method "complete_table_name" on an undefined value at /home/jand/aped1602.1/site/lib/DBI/DBD/SqlEngine.pm line 1498. at /home/jand/aped1602.1/site/lib/DBI/DBD/SqlEngine.pm line 1234. [for Statement "INSERT INTO test_CSV VALUES ('Bev','en','f')"] at t/01-basic.t line 68. # Failed test 'INSERT 3. row into test_CSV' # at t/01-basic.t line 68. DBD::AnyData::db do failed: Can't call method "complete_table_name" on an undefined value at /home/jand/aped1602.1/site/lib/DBI/DBD/SqlEngine.pm line 1498. at /home/jand/aped1602.1/site/lib/DBI/DBD/SqlEngine.pm line 1234. [for Statement "UPDATE test_CSV SET sex='m' WHERE name = 'Tom'"] at t/01-basic.t line 69. # Failed test 'UPDATE test_CSV' # at t/01-basic.t line 69. DBD::AnyData::db do failed: Can't call method "complete_table_name" on an undefined value at /home/jand/aped1602.1/site/lib/DBI/DBD/SqlEngine.pm line 1498. at /home/jand/aped1602.1/site/lib/DBI/DBD/SqlEngine.pm line 1234. [for Statement "DELETE FROM test_CSV WHERE name = 'Bev'"] at t/01-basic.t line 70. # Failed test 'DELETE FROM test_CSV' # at t/01-basic.t line 70. Can't call method "complete_table_name" on an undefined value at /home/jand/aped1602.1/site/lib/DBI/DBD/SqlEngine.pm line 1498. at /home/jand/aped1602.1/site/lib/DBI/DBD/SqlEngine.pm line 1234. # Tests were run but no plan was declared and done_testing() was not seen. t/01-basic.t .. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 6/9 subtests t/manifest.t .. skipped: Author tests not required for installation t/pod.t ....... skipped: Test::Pod 1.22 required for testing POD Test Summary Report ------------------- t/01-basic.t (Wstat: 65280 Tests: 9 Failed: 6) Failed tests: 4-9 Non-zero exit status: 255 Parse errors: No plan found in TAP output Files=4, Tests=10, 0 wallclock secs ( 0.02 usr 0.02 sys + 0.44 cusr 0.02 csys = 0.50 CPU) Result: FAIL Failed 1/4 test programs. 6/10 subtests failed.
That's why Makefile.PL of DBI 1.623 spits out a warning about the incompatibility. Respect that warning and use the combination of DBI-1.622 and DBD::AnyData-0.110 or upgrade DBI and lose DBD::AnyData.
CC: JDB [...] cpan.org, Dan [...] dwright.org
Subject: Re: [rt.cpan.org #83293] DBD::AnyData not compatible with DBI 1.623
Date: Wed, 13 Feb 2013 09:25:04 -0800
To: bug-DBD-AnyData [...] rt.cpan.org
From: Jan Dubois <jand [...] activestate.com>
On Wed, Feb 13, 2013 at 1:13 AM, Jens Rehsack via RT <bug-DBD-AnyData@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=83293 > > > That's why Makefile.PL of DBI 1.623 spits out a warning about the > incompatibility. Respect that warning and use the combination of > DBI-1.622 and DBD::AnyData-0.110 or upgrade DBI and lose DBD::AnyData.
Well, since DBD::AnyData depends on DBI, you will only ever get to see the warning if you already have DBD::AnyData installed and then upgrade DBI. On a new installation DBI will not report any conflicts because it has to be installed before any DBD drivers can be installed. Then when you install DBD::AnyData afterwards, you don't get any warning from the DBD-AnyData Makefile.PL, just a bunch of failing tests. So a corresponding CONFLICTS test in incompatible DBD drivers will be at least as useful in the long term as the check in DBI itself. Anyways, is DBD::AnyData going to be made compatible, or is the module deprecated?
Subject: Re: [rt.cpan.org #83293] DBD::AnyData not compatible with DBI 1.623
Date: Wed, 13 Feb 2013 18:41:17 +0100
To: bug-DBD-AnyData [...] rt.cpan.org
From: Jens Rehsack <rehsack [...] cpan.org>
On 13.02.13 18:25, jand@ActiveState.com via RT wrote: Show quoted text
> Queue: DBD-AnyData > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=83293 > > > On Wed, Feb 13, 2013 at 1:13 AM, Jens Rehsack via RT > <bug-DBD-AnyData@rt.cpan.org> wrote:
>> <URL: https://rt.cpan.org/Ticket/Display.html?id=83293 > >> >> That's why Makefile.PL of DBI 1.623 spits out a warning about the >> incompatibility. Respect that warning and use the combination of >> DBI-1.622 and DBD::AnyData-0.110 or upgrade DBI and lose DBD::AnyData.
> > Well, since DBD::AnyData depends on DBI, you will only ever get to see > the warning if you already have DBD::AnyData installed and then > upgrade DBI. On a new installation DBI will not report any conflicts > because it has to be installed before any DBD drivers can be > installed. Then when you install DBD::AnyData afterwards, you don't > get any warning from the DBD-AnyData Makefile.PL, just a bunch of > failing tests. So a corresponding CONFLICTS test in incompatible DBD > drivers will be at least as useful in the long term as the check in > DBI itself. > > Anyways, is DBD::AnyData going to be made compatible, or is the module > deprecated?
Sven Dowideit cares about AnyData - when he finishes his rework, the integration into DBD::AnyData shouldn't be a problem. Jens
Adding myself to the interested parties for this bug. I was prepping up to finally release DBD::TreeData when I noticed this error.
Show quoted text
> That's why Makefile.PL of DBI 1.623 spits out a warning about the incompatibility.
When I installed DBD::AnyData I had an older version than DBI 1.623, I then upgraded to the latest DBI. Under this (I suspect common) scenario the warning message you mention doesn't appear so adding that comment to this bug report doesn't help. Has DBD::AnyData been deprecated? This report is a blocker and hasn't been addressed for some time.
Because of people can't search ...
Still the same reason - even if no one ever complains o.O
Subject: make test DBD::AnyData failing for AnyData-0.11.tar.gz
Date: Thu, 13 Jun 2013 17:40:09 -0400
To: bug-DBD-AnyData [...] rt.cpan.org
From: Andrew Snyder <ajs [...] dancingjars.com>
I'm having trouble installing DBD::AnyData. Do you have any idea how to proceed? below is the output from cpan ----------------------------------------------------------------------------------- CPAN.pm: Building R/RE/REHSACK/DBD-AnyData-0.110.tar.gz Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'DBD-AnyData' version '0.110' Building DBD-AnyData REHSACK/DBD-AnyData-0.110.tar.gz ./Build -- OK Running Build test t/00-load.t ... 1/1 # Testing DBD::AnyData 0.110, Perl 5.014002, /usr/bin/perl t/00-load.t ... ok t/01-basic.t .. 2/? DBD::AnyData::db do failed: Execution ERROR: Can't call method "complete_table_name" on an undefined value at /usr/local/lib/perl/5.14.2/DBI/DBD/SqlEngine.pm line 1503. called from t/01-basic.t at 65. [for Statement "CREATE TABLE test_CSV (name TEXT, country TEXT,sex TEXT)"] at t/01-basic.t line 65. # Failed test 'CREATE test_CSV' # at t/01-basic.t line 65. DBD::AnyData::db do failed: Execution ERROR: Can't call method "complete_table_name" on an undefined value at /usr/local/lib/perl/5.14.2/DBI/DBD/SqlEngine.pm line 1503. called from t/01-basic.t at 66. [for Statement "INSERT INTO test_CSV VALUES ('Sue','fr','f')"] at t/01-basic.t line 66. # Failed test 'INSERT 1. row into test_CSV' # at t/01-basic.t line 66. DBD::AnyData::db do failed: Execution ERROR: Can't call method "complete_table_name" on an undefined value at /usr/local/lib/perl/5.14.2/DBI/DBD/SqlEngine.pm line 1503. called from t/01-basic.t at 67. [for Statement "INSERT INTO test_CSV VALUES ('Tom','fr','f')"] at t/01-basic.t line 67. # Failed test 'INSERT 2. row into test_CSV' # at t/01-basic.t line 67. DBD::AnyData::db do failed: Execution ERROR: Can't call method "complete_table_name" on an undefined value at /usr/local/lib/perl/5.14.2/DBI/DBD/SqlEngine.pm line 1503. called from t/01-basic.t at 68. [for Statement "INSERT INTO test_CSV VALUES ('Bev','en','f')"] at t/01-basic.t line 68. # Failed test 'INSERT 3. row into test_CSV' # at t/01-basic.t line 68. DBD::AnyData::db do failed: Execution ERROR: Can't call method "complete_table_name" on an undefined value at /usr/local/lib/perl/5.14.2/DBI/DBD/SqlEngine.pm line 1503. called from t/01-basic.t at 69. [for Statement "UPDATE test_CSV SET sex='m' WHERE name = 'Tom'"] at t/01-basic.t line 69. # Failed test 'UPDATE test_CSV' # at t/01-basic.t line 69. DBD::AnyData::db do failed: Execution ERROR: Can't call method "complete_table_name" on an undefined value at /usr/local/lib/perl/5.14.2/DBI/DBD/SqlEngine.pm line 1503. called from t/01-basic.t at 70. [for Statement "DELETE FROM test_CSV WHERE name = 'Bev'"] at t/01-basic.t line 70. # Failed test 'DELETE FROM test_CSV' # at t/01-basic.t line 70. Execution ERROR: Can't call method "complete_table_name" on an undefined value at /usr/local/lib/perl/5.14.2/DBI/DBD/SqlEngine.pm line 1503. called from t/01-basic.t at 79. # Tests were run but no plan was declared and done_testing() was not seen. t/01-basic.t .. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 6/9 subtests t/manifest.t .. skipped: Author tests not required for installation t/pod.t ....... ok Test Summary Report ------------------- t/01-basic.t (Wstat: 65280 Tests: 9 Failed: 6) Failed tests: 4-9 Non-zero exit status: 255 Parse errors: No plan found in TAP output Files=4, Tests=12, 3 wallclock secs ( 0.08 usr 0.02 sys + 1.23 cusr 0.15 csys = 1.48 CPU) Result: FAIL Failed 1/4 test programs. 6/12 subtests failed. REHSACK/DBD-AnyData-0.110.tar.gz ./Build test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports REHSACK/DBD-AnyData-0.110.tar.gz Failed during this command: REHSACK/DBD-AnyData-0.110.tar.gz : make_test NO
What's you DBI Version?
CC: Dan [...] DWright.Org
Subject: Re: [rt.cpan.org #86123] make test DBD::AnyData failing for AnyData-0.11.tar.gz
Date: Fri, 14 Jun 2013 06:32:09 -0400
To: bug-DBD-AnyData [...] rt.cpan.org
From: Andrew Snyder <ajs [...] dancingjars.com>
On 06/14/2013 12:14 AM, Jens Rehsack via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=86123 > > > What's you DBI Version?
1.627
Because of people can't search ...
Subject: 01-basic.t fails
See for ex. this report: http://www.cpantesters.org/cpan/report/ba53efee-6bf7-1014-9975-1373db05e747 From cpantesters results, failures do not depend on perl version or OS. -- Alexandr Ciornii, http://chorny.net
On Sun Aug 11 17:54:32 2013, CHORNY wrote: Show quoted text
> See for ex. this report: > http://www.cpantesters.org/cpan/report/ba53efee-6bf7-1014-9975- > 1373db05e747 > > From cpantesters results, failures do not depend on perl version or > OS.
Correct, they depend on DBI version. Ever looked over the messages when updating to DBI 1.623 or newer?
CC: Alberto Medves <amedves [...] over-log.it>, Andrea Schiff <aschiff [...] over-log.it>
Subject: Tests in error. Execution ERROR: Can't call method "complete_table_name" on an undefined value at /usr/local/lib64/perl5/DBI/DBD/SqlEngine.pm
Date: Fri, 13 Dec 2013 15:11:27 +0100
To: bug-DBD-AnyData [...] rt.cpan.org
From: Lucio Iacolettig <liacolettig [...] over-log.it>
I've not found anything about these test errors on the network. I tryed to solve searching the cause of problem, but without success, I've already use DBI and DBD::AnyData modules under another architecures (Win & Linux 32 and 64 bits) without problems with DBI 1.607 and DBD::AnyData 0.09. I have to upgrade the DBI to the latest version for another reasons. In this case the DBD::AnyData goes in error. Seems that DBD::AnyData have not the "complete_table_name method". I tryed to patch the module introducing the use of this method, but i don't understand the architecure of DBI and DBD modules, There is some suggestion ? Follow all the thechnical infos: OS: Linux ovlsrv03.over-log.it 2.6.32-358.el6.x86_64 #1 SMP Fri Feb 22 00:31:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux Perl: This is perl, v5.10.1 (*) built for x86_64-linux-thread-multi DBI package: DBI-1.630.tar.gz DBD package: DBD-AnyData-0.110.tar.gz Environment: HOSTNAME=ovlsrv03.over-log.it SHELL=/bin/bash TERM=xterm-256color HISTSIZE=1000 SSH_CLIENT=192.168.11.78 56114 22 CVSROOT=:pserver:liacolettig@ovlsrv03.over-log.it:/opt/repository QTDIR=/usr/lib64/qt-3.3 QTINC=/usr/lib64/qt-3.3/include SSH_TTY=/dev/pts/26 USER=liacolettig LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36: MC_TMPDIR=/tmp/mc-liacolettig PATH=/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/prg:.:/home/liacolettig/bin:/usr/prg:. MAIL=/var/spool/mail/liacolettig PWD=/home/liacolettig/work/packages/env/setup/cpan_test/73100-DBD-AnyData/DBD-AnyData-0.110 EDITOR=vim LANG=it_IT.UTF-8 MODULEPATH=/usr/share/Modules/modulefiles:/etc/modulefiles LOADEDMODULES= HISTCONTROL=ignorespace SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass HOME=/home/liacolettig SHLVL=2 MC_SID=923 LOGNAME=liacolettig CVS_RSH=ssh QTLIB=/usr/lib64/qt-3.3/lib SSH_CONNECTION=192.168.11.78 56114 192.168.11.3 22 MODULESHOME=/usr/share/Modules LESSOPEN=|/usr/bin/lesspipe.sh %s G_BROKEN_FILENAMES=1 module=() { eval `/usr/bin/modulecmd bash $*` } OLDPWD=/home/liacolettig/work/packages/env/setup/cpan_test/73100-DBD-AnyData _=/bin/env Tests in error with make test: PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-load.t ... 1/1 # Testing DBD::AnyData 0.110, Perl 5.010001, /usr/bin/perl t/00-load.t ... ok t/01-basic.t .. 1/? DBD::AnyData::db do failed: Execution ERROR: Can't call method "complete_table_name" on an undefined value at /usr/local/lib64/perl5/DBI/DBD/SqlEngine.pm line 1508. called from t/01-basic.t at 65. [for Statement "CREATE TABLE test_CSV (name TEXT, country TEXT,sex TEXT)"] at t/01-basic.t line 65. # Failed test 'CREATE test_CSV' # at t/01-basic.t line 65. DBD::AnyData::db do failed: Execution ERROR: Can't call method "complete_table_name" on an undefined value at /usr/local/lib64/perl5/DBI/DBD/SqlEngine.pm line 1508. called from t/01-basic.t at 66. [for Statement "INSERT INTO test_CSV VALUES ('Sue','fr','f')"] at t/01-basic.t line 66. # Failed test 'INSERT 1. row into test_CSV' # at t/01-basic.t line 66. DBD::AnyData::db do failed: Execution ERROR: Can't call method "complete_table_name" on an undefined value at /usr/local/lib64/perl5/DBI/DBD/SqlEngine.pm line 1508. called from t/01-basic.t at 67. [for Statement "INSERT INTO test_CSV VALUES ('Tom','fr','f')"] at t/01-basic.t line 67. # Failed test 'INSERT 2. row into test_CSV' # at t/01-basic.t line 67. DBD::AnyData::db do failed: Execution ERROR: Can't call method "complete_table_name" on an undefined value at /usr/local/lib64/perl5/DBI/DBD/SqlEngine.pm line 1508. called from t/01-basic.t at 68. [for Statement "INSERT INTO test_CSV VALUES ('Bev','en','f')"] at t/01-basic.t line 68. # Failed test 'INSERT 3. row into test_CSV' # at t/01-basic.t line 68. DBD::AnyData::db do failed: Execution ERROR: Can't call method "complete_table_name" on an undefined value at /usr/local/lib64/perl5/DBI/DBD/SqlEngine.pm line 1508. called from t/01-basic.t at 69. [for Statement "UPDATE test_CSV SET sex='m' WHERE name = 'Tom'"] at t/01-basic.t line 69. # Failed test 'UPDATE test_CSV' # at t/01-basic.t line 69. DBD::AnyData::db do failed: Execution ERROR: Can't call method "complete_table_name" on an undefined value at /usr/local/lib64/perl5/DBI/DBD/SqlEngine.pm line 1508. called from t/01-basic.t at 70. [for Statement "DELETE FROM test_CSV WHERE name = 'Bev'"] at t/01-basic.t line 70. # Failed test 'DELETE FROM test_CSV' # at t/01-basic.t line 70. Execution ERROR: Can't call method "complete_table_name" on an undefined value at /usr/local/lib64/perl5/DBI/DBD/SqlEngine.pm line 1508. called from t/01-basic.t at 79. # Tests were run but no plan was declared and done_testing() was not seen. t/01-basic.t .. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 6/9 subtests t/manifest.t .. skipped: Author tests not required for installation t/pod.t ....... ok Test Summary Report ------------------- t/01-basic.t (Wstat: 65280 Tests: 9 Failed: 6) Failed tests: 4-9 Non-zero exit status: 255 Parse errors: No plan found in TAP output Files=4, Tests=11, 1 wallclock secs ( 0.03 usr 0.01 sys + 0.34 cusr 0.04 csys = 0.42 CPU) Result: FAIL Failed 1/4 test programs. 6/11 subtests failed. make: *** [test_dynamic] Error 255 Regards. -- ---------------------------------------- Lucio Iacolettig Address: Via A. Malignani, 4/b 33042 Buttrio (UD) Italy Phone: +39 0432 683119 e-mail: liacolettig@over-log.it Web site: www.over-log.it ----------------------------------------