Skip Menu |

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

Report information
The Basics
Id: 81188
Status: resolved
Priority: 0/
Queue: DBD-CSV

People
Owner: Nobody in particular
Requestors: sergent.tjmg [...] gmail.com
Cc:
AdminCc:

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



Subject: Can't install DBD:CSV v 0.36 test failure.
Date: Thu, 15 Nov 2012 13:26:28 +0100
To: bug-DBD-CSV [...] rt.cpan.org
From: Thomas Sergent <sergent.tjmg [...] gmail.com>
Hi, it's not possible to install DBD:CSV (v0.36). I'am using/Strawberry Perl/ <http://strawberryperl.com/> : This is perl 5, version 16, subversion 2 (v5.16.2) built for MSWin32-x86-multi-t hread Copyright 1987-2012, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. and the log error is : Searching Bundle::DBD::CSV on cpanmetadb ... --> Working on Bundle::DBD::CSV Fetching http://www.cpan.org/authors/id/J/JZ/JZUCKER/DBD-CSV-0.22.tar.gz -> OK Unpacking DBD-CSV-0.22.tar.gz Entering DBD-CSV-0.22 Checking configure dependencies from META.yml Configuring DBD-CSV-0.22 Running Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for DBD::CSV Writing MYMETA.yml and MYMETA.json -> OK Checking dependencies from MYMETA.json ... Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.63_02) Checking if you have Text::CSV_XS 0.16 ... Yes (0.92) Checking if you have SQL::Statement 0.1011 ... Yes (1.401) Checking if you have DBI 1.00 ... Yes (1.622) Checking if you have DBD::File 0.30 ... Yes (0.40) Checking if you have DBI 1.02 ... Yes (1.622) Checking if you have Text::CSV_XS 0.14 ... Yes (0.92) Checking if you have SQL::Statement 0.1006 ... Yes (1.401) Checking if you have DBD::File ... Yes (0.40) Checking if you have DBD::CSV ... No ==> Found dependencies: DBD::CSV Searching DBD::CSV on cpanmetadb ... --> Working on DBD::CSV Fetching http://www.cpan.org/authors/id/H/HM/HMBRAND/DBD-CSV-0.36.tgz -> OK Unpacking DBD-CSV-0.36.tgz Entering DBD-CSV-0.36 Checking configure dependencies from META.yml Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.63_02) Configuring DBD-CSV-0.36 Running Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for DBD::CSV Writing MYMETA.yml and MYMETA.json -> OK Checking dependencies from MYMETA.json ... Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.63_02) Checking if you have Test::More 0.9 ... Yes (0.98) Checking if you have charnames 0 ... Yes (1.30) Checking if you have Text::CSV_XS 0.91 ... Yes (0.92) Checking if you have SQL::Statement 1.33 ... Yes (1.401) Checking if you have Encode 0 ... Yes (2.47) Checking if you have DBI 1.614 ... Yes (1.622) Checking if you have DBD::File 0.4 ... Yes (0.40) Building and testing DBD-CSV-0.36 cp lib/Bundle/DBD/CSV.pm blib\lib\Bundle\DBD\CSV.pm cp lib/DBD/CSV.pm blib\lib\DBD\CSV.pm C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t t/00_meta.t ......... skipped: Author tests not required for installation t/00_pod.t .......... skipped: Test::Pod 1.00 required for testing POD t/00_pod_cov.t ...... skipped: Test::Pod::Coverage required for testing POD Coverage # Showing relevant versions # Using DBI version 1.622 # Using DBD::File version 0.40 # Using SQL::Statement version 1.401 # Using Text::CSV_XS version 0.92 # DBD::CSV 0.36 using Text::CSV_XS (0.92) # DBD::File 0.40 using IO::File (1.16) # DBI::DBD::SqlEngine 0.03 using SQL::Statement 1.401 # DBI 1.622 # OS MSWin32 (4.0) # Perl 5.016002 (MSWin32-x86-multi-thread) t/10_base.t ......... ok t/11_dsnlist.t ...... ok t/20_createdrop.t ... ok t/30_insertfetch.t .. ok t/31_delete.t ....... ok t/32_update.t ....... ok t/40_numrows.t ...... ok t/41_nulls.t ........ ok t/42_bindparam.t .... ok t/43_blobs.t ........ ok t/44_listfields.t ... ok t/48_utf8.t ......... ok t/50_chopblanks.t ... ok t/51_commit.t ....... ok t/60_misc.t ......... ok t/70_csv.t .......... ok t/71_csv-ext.t ...... ok t/72_csv-schema.t ... ok t/73_csv-case.t ..... ok # Failed test 'Field names' # at t/80_rt.t line 202. # got: undef # expected: 'name,id # ' # Failed test 'Record 1' # at t/80_rt.t line 203. # got: undef # expected: 'Tim,1 # ' # Failed test 'Record 2' # at t/80_rt.t line 204. # got: undef # expected: 'Tux,2 # ' # Failed test 'Record 3' # at t/80_rt.t line 205. # got: undef # expected: ',3 # ' # Looks like you failed 4 tests of 95. t/80_rt.t ........... Dubious, test returned 4 (wstat 1024, 0x400) Failed 4/95 subtests t/85_error.t ........ ok Test Summary Report ------------------- t/80_rt.t (Wstat: 1024 Tests: 95 Failed: 4) Failed tests: 71-74 Non-zero exit status: 4 Files=24, Tests=720, 9 wallclock secs ( 0.14 usr + 0.06 sys = 0.20 CPU) Result: FAIL Failed 1/24 test programs. 4/720 subtests failed. dmake.exe: Error code 255, while making 'test_dynamic' Best Regards. -- Thomas Sergent Master 2 Professionnel ILI Faculté Jean Perrin Lens
Subject: Re: [rt.cpan.org #81188] Can't install DBD:CSV v 0.36 test failure.
Date: Sat, 17 Nov 2012 10:42:31 +0100
To: bug-DBD-CSV [...] rt.cpan.org
From: "H.Merijn Brand" <h.m.brand [...] xs4all.nl>
On Thu, 15 Nov 2012 07:26:45 -0500, "Thomas Sergent via RT" <bug-DBD-CSV@rt.cpan.org> wrote: Show quoted text
> Hi, it's not possible to install DBD:CSV (v0.36). I'am using/Strawberry > Perl/ <http://strawberryperl.com/> :
Not completely true, but you have a point, read on … Show quoted text
> This is perl 5, version 16, subversion 2 (v5.16.2) built for > MSWin32-x86-multi-thread
Your bug report is for DBD::CSV, but you install Bundle::DBD::CSV Not that that matters in this case, but it is quite a different thing. DBD::CSV does have about the same dependencies, but still different Show quoted text
> Searching Bundle::DBD::CSV on cpanmetadb ... > --> Working on Bundle::DBD::CSV > Fetching http://www.cpan.org/authors/id/J/JZ/JZUCKER/DBD-CSV-0.22.tar.gz
Why does it take that old version? Show quoted text
> -> OK > Unpacking DBD-CSV-0.22.tar.gz > Entering DBD-CSV-0.22 > Checking configure dependencies from META.yml > Configuring DBD-CSV-0.22 > Running Makefile.PL > Checking if your kit is complete... > Looks good > Writing Makefile for DBD::CSV > Writing MYMETA.yml and MYMETA.json > -> OK > Checking dependencies from MYMETA.json ... > Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.63_02) > Checking if you have Text::CSV_XS 0.16 ... Yes (0.92) > Checking if you have SQL::Statement 0.1011 ... Yes (1.401) > Checking if you have DBI 1.00 ... Yes (1.622) > Checking if you have DBD::File 0.30 ... Yes (0.40) > Checking if you have DBI 1.02 ... Yes (1.622) > Checking if you have Text::CSV_XS 0.14 ... Yes (0.92) > Checking if you have SQL::Statement 0.1006 ... Yes (1.401) > Checking if you have DBD::File ... Yes (0.40) > Checking if you have DBD::CSV ... No > ==> Found dependencies: DBD::CSV > Searching DBD::CSV on cpanmetadb ... > --> Working on DBD::CSV > Fetching http://www.cpan.org/authors/id/H/HM/HMBRAND/DBD-CSV-0.36.tgz
There it takes the right one Show quoted text
> -> OK > Unpacking DBD-CSV-0.36.tgz
Show quoted text
> # Showing relevant versions > # Using DBI version 1.622 > # Using DBD::File version 0.40 > # Using SQL::Statement version 1.401 > # Using Text::CSV_XS version 0.92 > # DBD::CSV 0.36 using Text::CSV_XS (0.92) > # DBD::File 0.40 using IO::File (1.16) > # DBI::DBD::SqlEngine 0.03 using SQL::Statement 1.401 > # DBI 1.622 > # OS MSWin32 (4.0) > # Perl 5.016002 (MSWin32-x86-multi-thread)
It is very likely that either DBI (DBD::File) or SQL::Statement are the cause of these failures, as below shows. I first upgraded DBD::CSV on a windows/strawberry, which passed under # Using DBI version 1.616 # Using DBD::File version 0.40 # Using SQL::Statement version 1.33 # Using Text::CSV_XS version 0.92 # DBD::CSV 0.36 using Text::CSV_XS (0.92) # DBD::File 0.40 using IO::File (1.15) # DBI::DBD::SqlEngine 0.03 using SQL::Statement 1.33 # DBI 1.616 # OS MSWin32 (4.0) # Perl 5.014002 (MSWin32-x64-multi-thread) then I installed Bundle::DBD::CSV which ALSO passed then I used cpan to re-fetch DBD::CSV and ran the tests from C:\strawberry\cpan\build # Using DBI version 1.622 # Using DBD::File version 0.40 # Using SQL::Statement version 1.401 # Using Text::CSV_XS version 0.92 # DBD::CSV 0.36 using Text::CSV_XS (0.92) # DBD::File 0.40 using IO::File (1.15) # DBI::DBD::SqlEngine 0.03 using SQL::Statement 1.401 # DBI 1.622 # OS MSWin32 (4.0) # Perl 5.014002 (MSWin32-x64-multi-thread) which reproduced your failures We'll try to find a solution -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using perl5.00307 .. 5.17 porting perl5 on HP-UX, AIX, and openSUSE http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/ http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/
With DBI-1.623, SQL-Statement-1.402, and DBD-CSV-0.38 released to address all open bugs, would you be so kind to re-test? We think this issue has been resolved now (we cannot reproduce abymore anywhere), but maybe you can. Thanks for taking the time to report!
Subject: Re: [rt.cpan.org #81188] Can't install DBD:CSV v 0.36 test failure.
Date: Thu, 10 Jan 2013 18:13:57 +0100
To: bug-DBD-CSV [...] rt.cpan.org
From: Thomas Sergent <sergent.tjmg [...] gmail.com>
Sorry, I have used your module for a school project. Unfortunately I used perl on a virtual machine (due to possible crash of my OS [project concerning win registry]). I have deleted the virtual machine so I can't reproduce the bug. Sorry for the inconvenience. Best Regards. -- Thomas Sergent Master 2 Professionnel ILI Faculté Jean Perrin Lens

Message body is not shown because it is too large.

Closing, as the developers cannot reproduce. Thanks for the quick feedback