Subject: | Despite confirmation of successful cpan install (with 1 force), 3 addt'l modules needed for tutorial tests to pass (arch+cpan) |
====
Synopsis
====
Running Arch Linux. Installed sqlite3, perl-dbi, perl 5.10.1-5,
The tutorial seems to be installed as far as cpan is concerned, but the
tests for the tutorial don't seem to run because of missing modules.
cpan[1]> install Task::Catalyst::Tutorial
CPAN: Storable loaded ok (v2.21)
Going to read '/root/.cpan/Metadata'
Database was generated on Sun, 24 Jan 2010 00:29:25 GMT
Task::Catalyst::Tutorial is up to date (0.06).
Had to force Task::Catalyst::Tutorial http://pastie.org/792004
as per hobbs suggestion in #catalyst because of a known bug
Show quoted text
hobbs> it's
http://code.google.com/p/www-mechanize/issues/detail?id=143#c0 -- known bug
====
Missing Modules in Question
====
DBIx::Class:TimeStamp
DBIx::Class::EncodedColumn
Perl6::Junction
After installing these three additional modules, tests complete successfully
[icarus@myhost MyApp]$ CATALYST_DEBUG=0 prove --lib lib t
t/01app.t .............. ok
t/02pod.t .............. skipped: set TEST_POD to enable this test
t/03podcoverage.t ...... skipped: Test::Pod::Coverage 1.04 required
t/controller_Books.t ... 1/3 [debug] ***Root::auto User not found,
forwarding to /login
t/controller_Books.t ... ok
t/controller_Login.t ... ok
t/controller_Logout.t .. 1/3 [debug] ***Root::auto User not found,
forwarding to /login
t/controller_Logout.t .. ok
t/live_app01.t ......... 1/? [debug] ***Root::auto User not found,
forwarding to /login
[debug] ***Root::auto User not found, forwarding to /login
t/live_app01.t ......... 8/? [debug] ***Root::auto User not found,
forwarding to /login
[debug] ***Root::auto User not found, forwarding to /login
[debug] *** INSIDE BASE METHOD ***
[debug] *** INSIDE BASE METHOD ***
[debug] *** INSIDE OBJECT METHOD for obj id=15 ***
[debug] *** INSIDE BASE METHOD ***
t/live_app01.t ......... ok
t/model_DB.t ........... ok
t/view_TT.t ............ ok
====
Failing Tests
====
It was basically an install missing module, run test and look for next
missing... rinse, repeat situation.
[icarus@myhost MyApp]$ CATALYST_DEBUG=0 prove --lib lib t
t/01app.t .............. 1/2
# Failed test 'use Catalyst::Test;'
# at t/01app.t line 6.
# Tried to use 'Catalyst::Test'.
# Error: Couldn't load class (MyApp) because: Couldn't instantiate
component "MyApp::Model::DB", "Couldn't load class (MyApp::Schema)
because: DBIx::Class::Schema::throw_exception(): Can't locate
DBIx/Class/TimeStamp.pm in @INC (@INC contains:
/home/icarus/learncat/MyApp/lib /usr/lib/perl5/site_perl/5.10.1
/usr/share/perl5/site_perl/5.10.1 /usr/lib/perl5/vendor_perl
/usr/share/perl5/vendor_perl /usr/share/perl5/vendor_perl
/usr/lib/perl5/core_perl /usr/share/perl5/core_perl
/usr/lib/perl5/current /usr/lib/perl5/site_perl/current .) at
/usr/share/perl5/site_perl/5.10.1/Class/C3/Componentised.pm line 135.
[icarus@myhost MyApp]$ CATALYST_DEBUG=0 prove --lib lib t
t/01app.t .............. 1/2
# Failed test 'use Catalyst::Test;'
# at t/01app.t line 6.
# Tried to use 'Catalyst::Test'.
# Error: Couldn't load class (MyApp) because: Couldn't instantiate
component "MyApp::Model::DB", "Couldn't load class (MyApp::Schema)
because: DBIx::Class::Schema::throw_exception(): Can't locate
DBIx/Class/EncodedColumn.pm in @INC (@INC contains:
/home/icarus/learncat/MyApp/lib /usr/lib/perl5/site_perl/5.10.1
/usr/share/perl5/site_perl/5.10.1 /usr/lib/perl5/vendor_perl
/usr/share/perl5/vendor_perl /usr/share/perl5/vendor_perl
/usr/lib/perl5/core_perl /usr/share/perl5/core_perl
/usr/lib/perl5/current /usr/lib/perl5/site_perl/current .) at
/usr/share/perl5/site_perl/5.10.1/Class/C3/Componentised.pm line 135.
[icarus@myhost MyApp]$ CATALYST_DEBUG=0 prove --lib lib t
t/01app.t .............. 1/2
# Failed test 'use Catalyst::Test;'
# at t/01app.t line 6.
# Tried to use 'Catalyst::Test'.
# Error: Couldn't load class (MyApp) because: Couldn't instantiate
component "MyApp::Model::DB", "Couldn't load class (MyApp::Schema)
because: DBIx::Class::Schema::throw_exception():
DBIx::Class::Row::throw_exception(): Can't locate Perl6/Junction.pm in
@INC (@INC contains: /home/icarus/learncat/MyApp/lib
/usr/lib/perl5/site_perl/5.10.1 /usr/share/perl5/site_perl/5.10.1
/usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl
/usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl
/usr/share/perl5/core_perl /usr/lib/perl5/current
/usr/lib/perl5/site_perl/current .) at
/home/icarus/learncat/MyApp/lib/MyApp/Schema/Result/User.pm line 111.