Skip Menu |

This queue is for tickets about the Task-Catalyst-Tutorial CPAN distribution.

Report information
The Basics
Id: 91697
Status: open
Priority: 0/
Queue: Task-Catalyst-Tutorial

People
Owner: Nobody in particular
Requestors: cpan [...] zoffix.com
Cc:
AdminCc:

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



Subject: Task::Catalyst::Tutorial Doesn't Include DBIx::Class::Schema::Loader
Hey, In the 01_Intro, it says that cpan Task::Catalyst::Tutorial would install all the deps. However, even after installing it, when I follow https://metacpan.org/pod/Catalyst::Manual::Tutorial::05_Authentication#Add-User-and-Role-Information-to-DBIC-Schema I get error due to missing DBIx::Class::Schema::Loader zoffix@b-webdev-dt:/var/www/z-catalyst/zCa$ script/zca_create.pl model DB DBIC::Schema MyApp::Schema \ Show quoted text
> create=static components=TimeStamp dbi:SQLite:myapp.db \ > on_connect_do="PRAGMA foreign_keys = ON"
exists "/var/www/z-catalyst/zCa/script/../lib/zCa/Model" exists "/var/www/z-catalyst/zCa/script/../t" syntax error for connect_info key 'on_connect_do' with value 'PRAGMA foreign_keys = ON': Can't locate DBIx/Class/Schema/Loader.pm in @INC (@INC contains: /var/www/z-catalyst/zCa/script/../lib /home/zoffix/perl5/lib/perl5/i486-linux-gnu-thread-multi-64int /home/zoffix/perl5/lib/perl5 /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /home/zoffix/perl5/lib/perl5/Catalyst/Helper/Model/DBIC/Schema.pm line 432.
On 2013-12-27 12:43:43, ZOFFIX wrote: Show quoted text
> Hey, > > In the 01_Intro, it says that cpan Task::Catalyst::Tutorial would > install all the deps.
The docs are correct. The Task distribution should be fixed so it contains all the necessary dependencies. The ticket has been moved to the correct queue.