Skip Menu |

This queue is for tickets about the Class-DBI-mysql CPAN distribution.

Report information
The Basics
Id: 34424
Status: open
Priority: 0/
Queue: Class-DBI-mysql

People
Owner: Nobody in particular
Requestors: LGODDARD [...] cpan.org
Cc:
AdminCc:

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



Subject: Fails install test
Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. C:\Lang\Perl588\bin\perl.exe "-MExtUtils::Command::MM" "- e" "test_harness(0, 'bli b\lib', 'blib\arch')" t/*.t t/mysql...........ok 2/8Can't insert new Foo: DBD::mysql::st execute failed: Field 'val' doesn't have a default value [for Statement "INSERT INTO tbcdbitest (name) VALUES (?) "] at C:/lang/perl588/site/lib/DBIx/ContextualFetch.pm line 52. at t/mysql.t line 48 # Looks like you planned 8 tests but only ran 2. # Looks like your test died just after 2. t/mysql...........dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 3-8 Failed 6/8 tests, 25.00% okay t/pod-coverage....ok t/pod.............ok Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------ ------- t/mysql.t 255 65280 8 12 3-8 Failed 1/3 test scripts. 6/10 subtests failed. Files=3, Tests=10, 2 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00 CPU) Failed 1/3 test programs. 6/10 subtests failed. NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0xff' Stop. TMTM/Class-DBI-mysql-1.00.tar.gz nmake test -- NOT OK And then: Show quoted text
cpan> force install Class::DBI::mysql
Running install for module 'Class::DBI::mysql' Running make for T/TM/TMTM/Class-DBI-mysql-1.00.tar.gz Has already been unwrapped into directory C:\lang\perl588 \cpan\build\Class-DBI-mysql-1. 00-Jnx98w Has already been made Running make test Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. C:\Lang\Perl588\bin\perl.exe "-MExtUtils::Command::MM" "- e" "test_harness(0, 'bli b\lib', 'blib\arch')" t/*.t t/mysql...........ok 1/8Can't insert new Foo: DBD::mysql::st execute failed: Field 'val' doesn't have a default value [for Statement "INSERT INTO tbcdbitest (name) VALUES (?) "] at C:/lang/perl588/site/lib/DBIx/ContextualFetch.pm line 52. at t/mysql.t line 48 # Looks like you planned 8 tests but only ran 2. # Looks like your test died just after 2. t/mysql...........dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 3-8 Failed 6/8 tests, 25.00% okay t/pod-coverage....ok t/pod.............ok Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------ ------- t/mysql.t 255 65280 8 12 3-8 Failed 1/3 test scripts. 6/10 subtests failed. Files=3, Tests=10, 1 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00 CPU) Failed 1/3 test programs. 6/10 subtests failed. NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0xff' Stop. TMTM/Class-DBI-mysql-1.00.tar.gz nmake test -- NOT OK Warning (usually harmless): 'YAML' not installed, will not store persistent state Running make install Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. Installing C:\lang\perl588\html\site\lib\Class\DBI\mysql.html Installing C:\lang\perl588\site\lib\Class\DBI\mysql.pm Appending installation info to C:\lang\perl588\lib/perllocal.pod TMTM/Class-DBI-mysql-1.00.tar.gz nmake install -- OK Warning (usually harmless): 'YAML' not installed, will not store persistent state Failed during this command: TMTM/Class-DBI-mysql-1.00.tar.gz : make_test FAILED but failure ignored beca use 'force' in effect Show quoted text
cpan> exit
Lockfile removed. C:\Documents and Settings\Lee>perl -v This is perl, v5.8.8 built for MSWin32-x86-multi-thread (with 18 registered patches, see perl -V for more detail) Copyright 1987-2007, Larry Wall Binary build 822 [280952] provided by ActiveState http://www.ActiveState.com Built Jul 31 2007 19:34:48 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. C:\Documents and Settings\Lee> Let me know if you need anything. Lee
Subject: Re: [rt.cpan.org #34424] Fails install test
Date: Wed, 26 Mar 2008 16:35:03 +1000
To: bug-Class-DBI-mysql [...] rt.cpan.org
From: "Tony Bowden" <tony [...] tmtm.com>
Show quoted text
> Let me know if you need anything.
Thanks for this, but I'm not entirely sure where the problem lies. Is this is a Windows only thing? A MySQL version problem? Something in my CDBI? CDBI::mysql? I don't have a windows machine so I've no way to investigate. Any pointers? Tony
Subject: Re: [rt.cpan.org #34424] Fails install test
Date: Wed, 26 Mar 2008 09:31:40 +0000
To: bug-Class-DBI-mysql [...] rt.cpan.org
From: Lee Goddard <leegee [...] gmail.com>
tony@tmtm.com via RT wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=34424 > >
>> Let me know if you need anything.
> > Thanks for this, but I'm not entirely sure where the problem lies. Is > this is a Windows only thing? A MySQL version problem? Something in my > CDBI? CDBI::mysql? I don't have a windows machine so I've no way to > investigate. Any pointers?
Not sure, sorry: it turned out the client wanted to use a different ORM anyway :( But it if is Win32, I'm sure you will hear more about it from someone - is it possible for me to lower the ticket priority on a ticket I create...? Thanks Lee
This is the behaviour I see on Linux as well.

-- 
- CPAN kentnl@cpan.org
- Gentoo Perl Maintainer kentnl@gentoo.org ( perl@gentoo.org )
On 2017-10-18 19:39:16, KENTNL wrote:
Show quoted text
> This is the behaviour I see on Linux as well.
>
> --
> - CPAN kentnl@cpan.org
> - Gentoo Perl Maintainer kentnl@gentoo.org ( perl@gentoo.org )

It seems the test code given in RT#41308 works better than the one in Class::DBI::mysql

   https://rt.cpan.org/Ticket/Display.html?id=41308

So that "val" magic might be the ticket.

-- 
- CPAN kentnl@cpan.org
- Gentoo Perl Maintainer kentnl@gentoo.org ( perl@gentoo.org )