FAQ
Hello,

I'm trying to upgrade to perl 5.10 on windows xp in order to fix up
the DBIC speed issues with the perl 5.8.8 that was installed there.
DBIx::Class failed a test during the install.

cpan> install DBIx::Class

t/81transactions...........................1/67 Issuing rollback() for database
handle being DESTROY'd without explicit disconnect() at t/81transactions.t line
232.
DBIx::Class::Storage::DBI::__ANON__(): DBI Exception: DBD::SQLite::db do failed:
table employee already exists(1) at dbdimp.c line 271 [for Statement "
--
-- Table: employee
--
CREATE TABLE employee (
employee_id INTEGER PRIMARY KEY NOT NULL,
position integer NOT NULL,
group_id integer,
group_id_2 integer,
name varchar(100)
)"] at t/lib/DBICTest.pm line 109
# Looks like you planned 67 tests but ran 54.
# Looks like your test exited with 255 just after 54.
t/81transactions........................... Dubious, test returned 255 (wstat 65
280, 0xff00)
Failed 13/67 subtests

[...]

Test Summary Report
-------------------
t/81transactions (Wstat: 65280 Tests: 54 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 67 tests but ran 54.
Files6, Tests48, 215 wallclock secs ( 0.59 usr + 2.67 sys = 3.27 CPU)
Result: FAIL
Failed 1/106 test programs. 0/1848 subtests failed.
dmake.EXE: Error code 255, while making 'test_dynamic'
ASH/DBIx-Class-0.08010.tar.gz
C:\strawberry\c\bin\dmake.EXE test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports ASH/DBIx-Class-0.08010.tar.gz
Running make install
make test had returned bad status, won't install without force
Failed during this command:
ASH/DBIx-Class-0.08010.tar.gz : make_test NO


C:\strawberry>perl -v

This is perl, v5.10.0 built for MSWin32-x86-multi-thread

I'll look at it in more depth tomorrow but wanted to send this off
before leaving the office. Let me know if there's anything useful
to report on or try,

Brad

--
After reading books and the like it is best to burn them or throw them away.
-- Hagakure http://bereft.net/hagakure/

Search Discussions

  • Peter Rabbitson at Jan 20, 2009 at 9:11 am

    Brad Bowman wrote:
    Hello,

    I'm trying to upgrade to perl 5.10 on windows xp in order to fix up
    the DBIC speed issues with the perl 5.8.8 that was installed there.
    DBIx::Class failed a test during the install.

    cpan> install DBIx::Class

    t/81transactions...........................1/67 Issuing rollback() for
    database
    handle being DESTROY'd without explicit disconnect() at
    t/81transactions.t line
    232.
    DBIx::Class::Storage::DBI::__ANON__(): DBI Exception: DBD::SQLite::db do
    failed:
    table employee already exists(1) at dbdimp.c line 271 [for Statement "
    --
    -- Table: employee
    --
    CREATE TABLE employee (
    employee_id INTEGER PRIMARY KEY NOT NULL,
    position integer NOT NULL,
    group_id integer,
    group_id_2 integer,
    name varchar(100)
    )"] at t/lib/DBICTest.pm line 109
    # Looks like you planned 67 tests but ran 54.
    # Looks like your test exited with 255 just after 54.
    t/81transactions........................... Dubious, test returned 255
    (wstat 65
    280, 0xff00)
    Failed 13/67 subtests

    [...]

    Test Summary Report
    -------------------
    t/81transactions (Wstat: 65280 Tests: 54 Failed: 0)
    Non-zero exit status: 255
    Parse errors: Bad plan. You planned 67 tests but ran 54.
    Files6, Tests48, 215 wallclock secs ( 0.59 usr + 2.67 sys = 3.27
    CPU)
    Result: FAIL
    Failed 1/106 test programs. 0/1848 subtests failed.
    dmake.EXE: Error code 255, while making 'test_dynamic'
    ASH/DBIx-Class-0.08010.tar.gz
    C:\strawberry\c\bin\dmake.EXE test -- NOT OK
    //hint// to see the cpan-testers results for installing this module, try:
    reports ASH/DBIx-Class-0.08010.tar.gz
    Running make install
    make test had returned bad status, won't install without force
    Failed during this command:
    ASH/DBIx-Class-0.08010.tar.gz : make_test NO


    C:\strawberry>perl -v

    This is perl, v5.10.0 built for MSWin32-x86-multi-thread

    I'll look at it in more depth tomorrow but wanted to send this off
    before leaving the office. Let me know if there's anything useful
    to report on or try,

    Brad
    Hi Brad,

    This is a badly written test, nothing to do with the tested
    functionality. It is safe to force-install over this. It should be fixed
    in the latest dev version 0.08099_05. I'd appreciate if you try to
    install it to make sure it was really fixed (the release is feature
    complete, we just broke some high end stuff, thus not releasing it proper).
  • Brad Bowman at Jan 23, 2009 at 6:19 am

    Peter Rabbitson wrote:
    Brad Bowman wrote:
    Hello,

    I'm trying to upgrade to perl 5.10 on windows xp in order to fix up
    the DBIC speed issues with the perl 5.8.8 that was installed there.
    DBIx::Class failed a test during the install.

    cpan> install DBIx::Class

    t/81transactions...........................1/67 Issuing rollback() for
    database
    handle being DESTROY'd without explicit disconnect() at
    t/81transactions.t line
    232.
    [...]

    OK, I force installed 0.08010 but am yet to use it (there's a mass of other
    dependencies to go).
    in the latest dev version 0.08099_05. I'd appreciate if you try to
    install it to make sure it was really fixed (the release is feature
    complete, we just broke some high end stuff, thus not releasing it proper).
    I downloaded 0.08099_05, make test ran without failures:

    All tests successful.

    Test Summary Report
    -------------------
    t/77prefetch (Wstat: 0 Tests: 58 Failed: 0)
    TODO passed: 50, 54-55
    Files4, Tests!81, 180 wallclock secs ( 0.28 usr + 3.13 sys = 3.41 CPU)
    Result: PASS

    Thanks for your help,

    Brad

    --
    Practice in letter writing goes to the extent of taking care in even
    one-line letters. -- Hagakure

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdbix-class @
categoriesperl, catalyst
postedJan 20, '09 at 8:46a
activeJan 23, '09 at 6:19a
posts3
users2
websitedbix-class.org
irc#dbix-class

2 users in discussion

Brad Bowman: 2 posts Peter Rabbitson: 1 post

People

Translate

site design / logo © 2021 Grokbase