On Sat, 2010-03-20 at 09:02 -0700, Ovid wrote: > You can connect to your server at http://curtis-poes-computer-3.local:3000 > [warn] Calling $c->view() will return a random view unless you specify > one of: > [warn] * $c->config(default_view => "the name of the default view to use") > [warn] * $c->stash->{current_view} # the name of the view to use for this > request > [warn] * $c->stash->{current_view_instance} # the instance of the view to > use for this request > [warn] NB: in version 5.81, the "random" behavior will not work at all. > [error] Caught exception in Veure::View::AutoCRUD::JSON->process "must > provide object to convert at /Library/Perl/5.10.1/Catalyst/View/JSON.pm line > 44" > > I can't tell why from the docs.
Most of that is because your app view is called HTML.pm (at a guess) whereas the AutoCRUD one is called TT.pm (iirc). You need to add 'default_view HTML' to your app's .conf file to stop those warnings. Not sure about the exception though, I don't recall having that problem.
signature.asc
Description: This is a digitally signed message part
_______________________________________________ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/