Thread Fehler beim Test von DBIx-Class-0.08250 (Solaris, Perl 5.8.8)
(7 answers)
Opened by karma2burn at 2013-08-06 13:57
Hi,
ich versuche DBIx-Class-0.08250 zum Laufen zu bekommen. Basis ist ein altes Perl 5.8.8 unter Solaris 10. Von der Commandline komme ich nicht auf CPAN, Abhängigkeiten also alle zu Fuß - evt. liegt hier auch das Problem. Alle Abhängigkeiten, sowie deren Abhängigkeiten soweit von perl Makefile.PL gelistet sollten installiert sein. Kann man das prüfen? make test von DBIx-Class spuckt den folgenden Fehler aus # make ; perl -Mblib t/inflate/datetime_mysql.t ok 1 - Locale de_DE loaded: day_name ok 2 - Locale de_DE loaded: month_name ok 3 - Default locale loaded: day_name ok 4 - Default locale loaded: month_name ok 5 - Correct date/time using timezone ok 6 - Correct timestamp using timezone ok 7 - Correct timezone ok 8 - DateTime returned isa DateTime ok 9 - Loaded correct date/time using timezone ok 10 - Correct timezone DBIx::Class::InflateColumn::DateTime::catch {...} (): Error while inflating '2006-01-31 12:34:56' for created_on on DBICTest::EventTZ=HASH(0x1846c18): Invalid date format: 2006-01-31 12:34:56 at DBIx-Class-0.08250/blib/lib/DBIx/Class/InflateColumn/DateTime.pm line 201, <> line 1. DBIx::Class::InflateColumn::DateTime::try {...} () called at lib/site_perl/5.8.8/Try/Tiny.pm line 76 eval {...} called at lib/site_perl/5.8.8/Try/Tiny.pm line 72 Try::Tiny::try('CODE(0x17f6204)', 'Try::Tiny::Catch=REF(0x17f67bc)') called at DBIx-Class-0.08250/blib/lib/DBIx/Class/InflateColumn/DateTime.pm line 207 DBIx::Class::InflateColumn::DateTime::_flate_or_fallback('DBICTest::EventTZ=HASH(0x1846c18)', '2006-01-31 12:34:56', 'HASH(0xab1398)', 'parse_%s') called at DBIx-Class-0.08250/blib/lib/DBIx/Class/InflateColumn/DateTime.pm line 212 DBIx::Class::InflateColumn::DateTime::_inflate_to_datetime('DBICTest::EventTZ=HASH(0x1846c18)', '2006-01-31 12:34:56', 'HASH(0xab1398)') called at DBIx-Class-0.08250/blib/lib/DBIx/Class/InflateColumn/DateTime.pm line 175 DBIx::Class::InflateColumn::DateTime::__ANON__('2006-01-31 12:34:56', 'DBICTest::EventTZ=HASH(0x1846c18)') called at DBIx-Class-0.08250/blib/lib/DBIx/Class/InflateColumn.pm line 112 DBIx::Class::InflateColumn::_inflated_column('DBICTest::EventTZ=HASH(0x1846c18)', 'created_on', '2006-01-31 12:34:56') called at DBIx-Class-0.08250/blib/lib/DBIx/Class/InflateColumn.pm line 149 DBIx::Class::InflateColumn::get_inflated_column('DBICTest::EventTZ=HASH(0x1846c18)', 'created_on') called at (eval 141) line 2 DBICTest::Schema::EventTZ::created_on('DBICTest::EventTZ=HASH(0x1846c18)') called at t/inflate/datetime_mysql.t line 50 at t/inflate/datetime_mysql.t line 50 # Auto checked 5 references for leaks - none detected # Tests were run but no plan was declared and done_testing() was not seen. Folgende DateTime Module sind installiert: Date::Time Date::Time::Format::Builder Date::Time::Format::MySQL Date::Time::Format::SQLite Date::Time::Format::Strptime Date::Time::Locale Date::Time::TimeZone Kennt jemand das Problem? Danke für jeden Hinweis Gruß Tom modedit Editiert von GwenDragon: Ausgabe formatiert Last edited: 2013-08-06 14:20:23 +0200 (CEST) |