[Catalyst] Scaffolding

Zbigniew Lukasiak zzbbyy at gmail.com
Fri Oct 6 18:09:50 CEST 2006


Looks like you need to install DBIx::Class::DigestColumns.

Z.

On 10/6/06, Will Smith <willbelair at yahoo.com> wrote:
> Hi,
>  I tried the Module, and this is some error that Ive got. I don't know if I
> missed something in the installation:
>
>  script/my_myapp_server.pl
>  Couldn't instantiate component
> "My::myapp::Model::DBICSchemamodel", "Cannot load schema
> class 'DBSchema': DBIx::Class::Schema::load_classes():
> DBIx::Class::Componentised::load_components(): Can't locate
> DBIx/Class/DigestColumns.pm in @INC (@INC contains:
> /home/danh/My-myapp/script//../lib
> /usr/lib/perl5/5.8.5/i386-linux-thread-multi
> /usr/lib/perl5/5.8.5
> /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4
> /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2
> /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0
> /usr/lib/perl5/site_perl
> /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.5
> /usr/lib/perl5/vendor_perl/5.8.4
> /usr/lib/perl5/vendor_perl/5.8.3
> /usr/lib/perl5/vendor_perl/5.8.2
> /usr/lib/perl5/vendor_perl/5.8.1
> /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl
> .) at (eval 171) line 3.
>  Compilation failed in require at (eval 168) line 3.
>          ...propagated at /usr/lib/perl5/5.8.5/base.pm line 85.
>  BEGIN failed--compilation aborted at
> /home/danh/My-myapp/script//../lib/DBSchema/Books.pm line
> 5.
>  Compilation failed in require at (eval 167) line 3.
>  Compilation failed in require at
> /usr/lib/perl5/site_perl/5.8.5/Catalyst/Model/DBIC/Schema.pm
> line 272.
>   at script/my_myapp_server.pl line 53" at script/my_myapp_server.pl line 53
>  Compilation failed in require at script/my_myapp_server.pl line 53.
>
> Zbigniew Lukasiak <zzbbyy at gmail.com> wrote:
>  Hi,
>
> You can try Catalyst::Example::InstantCRUD - I've tried to make it a
> kind of scaffolding for Catalyst. I am waiting for ideas how to
> improve it.
>
> The Catalyst::Helper::Controller::Scaffold code is a bit
> obsolete I believe.
>
> --
> Zbyszek
>
> On 10/6/06, Kevin Wong wrote:
> > Hi,
> > I want to use Scaffoding for my catalyst project, but reading through the
> > docs of Catalyst::Helper::Controller::Scaffold and the
> > Cookbook, I think Scaffold uses CDBI and the new version of Catalyst works
> > with DBIC class.
> > What should I do to use scaffold feature? Is it just simply install the
> > CDBI class?
> > If aomeone has already use Scaffold, please give me some advice, or
> better,
> > give me the command line to use it. In the mean time, I will search
> through
> > the docs and the archive, hoping to find the answer.
> >
> > Thank you,
> >
> > Kevin
> >
> >
> > ________________________________
> > Stay in the know. Pulse on the new Yahoo.com. Check it out.
> >
> >
> > _______________________________________________
> > List: Catalyst at lists.rawmode.org
> > Listinfo:
> > http://lists.rawmode.org/mailman/listinfo/catalyst
> > Searchable archive:
> > http://www.mail-archive.com/catalyst@lists.rawmode.org/
> > Dev site: http://dev.catalyst.perl.org/
> >
> >
> >
>
>
> --
> Zbigniew Lukasiak
> http://brudnopis.blogspot.com/
>
> _______________________________________________
> List: Catalyst at lists.rawmode.org
> Listinfo:
> http://lists.rawmode.org/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/catalyst@lists.rawmode.org/
> Dev site: http://dev.catalyst.perl.org/
>
>
>
>  ________________________________
> Get your email and more, right on the new Yahoo.com
>
>
> _______________________________________________
> List: Catalyst at lists.rawmode.org
> Listinfo:
> http://lists.rawmode.org/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/catalyst@lists.rawmode.org/
> Dev site: http://dev.catalyst.perl.org/
>
>
>


-- 
Zbigniew Lukasiak
http://brudnopis.blogspot.com/



More information about the Catalyst mailing list