[Catalyst-dev] Warnings and Errors

hkclark at gmail.com hkclark at gmail.com
Sun Dec 7 20:24:45 GMT 2008


Hi Everyone,

I'm trying to update the tutorial for Ubuntu 8.10 (therefore, Catalyst
v5.7014, Catalyst::Devel v1.07, DBIx::Class v0.08010, etc.).  I'm trying to
get it out ASAP, but I'm running into some errors that I was hoping someone
might recognize.

When I run "perl script/myapp_test.pl /login" I get the warnings shown below
(but I don't get them under "perl script/myapp_server.pl):

root at ubuntu:~/dev/MyApp# perl script/myapp_test.pl /login
[debug] Debug messages enabled
[debug] Statistics enabled
<snip>
| /books/url_create                   | /books/url_create
|
| /login                              | /login/index
|
| /logout                             | /logout/index
|
'-------------------------------------+------------------------------------=
--'

[info] MyApp powered by Catalyst 5.7014
Name "Class::Data::Accessor::COMPONENT" used only once: possible typo at
/usr/share/perl/5.10/NEXT.pm line 58.
Name "Class::Data::Accessor::AUTOLOAD" used only once: possible typo at
/usr/share/perl/5.10/NEXT.pm line 62.
Name "Class::Data::Accessor::new" used only once: possible typo at
/usr/share/perl/5.10/NEXT.pm line 58.
Name "Catalyst::setup_session" used only once: possible typo at
/usr/share/perl/5.10/NEXT.pm line 58.
Name "Catalyst::View::new" used only once: possible typo at
/usr/share/perl/5.10/NEXT.pm line 58.
Name "Catalyst::Model::new" used only once: possible typo at
/usr/share/perl/5.10/NEXT.pm line 58.
Name "Catalyst::Component::setup_actions" used only once: possible typo at
/usr/share/perl/5.10/NEXT.pm line 58.
Name "Catalyst::Component::setup_session" used only once: possible typo at
/usr/share/perl/5.10/NEXT.pm line 58.
Name "Catalyst::Component::setup" used only once: possible typo at
/usr/share/perl/5.10/NEXT.pm line 58.
Name "Catalyst::Plugin::Authorization::Roles::setup" used only once:
possible typo at /usr/share/perl/5.10/NEXT.pm line 58.
Name "Catalyst::Plugin::Authorization::ACL::setup" used only once: possible
typo at /usr/share/perl/5.10/NEXT.pm line 58.
Name "Catalyst::Plugin::Session::setup_actions" used only once: possible
typo at /usr/share/perl/5.10/NEXT.pm line 58.
Name "Catalyst::Plugin::Session::Store::FastMmap::setup_actions" used only
once: possible typo at /usr/share/perl/5.10/NEXT.pm line 58.
Name "Catalyst::Plugin::Session::Store::FastMmap::setup" used only once:
possible typo at /usr/share/perl/5.10/NEXT.pm line 58.
Name "Catalyst::Plugin::Session::Store::setup" used only once: possible typo
at /usr/share/perl/5.10/NEXT.pm line 58.
Name "Catalyst::Plugin::Session::Store::setup_actions" used only once:
possible typo at /usr/share/perl/5.10/NEXT.pm line 58.
Name "Catalyst::Plugin::Session::Store::setup_session" used only once:
possible typo at /usr/share/perl/5.10/NEXT.pm line 58.
Name "Catalyst::Plugin::Session::State::setup_actions" used only once:
possible typo at /usr/share/perl/5.10/NEXT.pm line 58.
Name "Catalyst::Plugin::Session::State::setup_session" used only once:
possible typo at /usr/share/perl/5.10/NEXT.pm line 58.
Name "Catalyst::Plugin::Session::State::Cookie::setup_actions" used only
once: possible typo at /usr/share/perl/5.10/NEXT.pm line 58.
Name "Catalyst::Plugin::Session::State::Cookie::setup" used only once:
possible typo at /usr/share/perl/5.10/NEXT.pm line 58.
Name "Catalyst::Plugin::Session::State::setup" used only once: possible typo
at /usr/share/perl/5.10/NEXT.pm line 58.
Name "Template::Filters::BASEARGS" used only once: possible typo at
/usr/lib/perl5/Template/Base.pm line 49.
Name "Template::Context::BASEARGS" used only once: possible typo at
/usr/lib/perl5/Template/Base.pm line 49.
Name "Template::BASEARGS" used only once: possible typo at
/usr/lib/perl5/Template/Base.pm line 49.
Name "Template::Service::BASEARGS" used only once: possible typo at
/usr/lib/perl5/Template/Base.pm line 49.
Name "Template::Provider::BASEARGS" used only once: possible typo at
/usr/lib/perl5/Template/Base.pm line 49.
Name "Template::Plugins::BASEARGS" used only once: possible typo at
/usr/lib/perl5/Template/Base.pm line 49.


Also, when I run "CATALYST_DEBUG=3D0 prove --lib lib t" I get some of the s=
ame
warnings and an error that "path_to" cannot be found for TT.pm:

t/01app................ok 1/2Name "Template::Filters::BASEARGS" used only
once: possible typo at /usr/lib/perl5/Template/Base.pm line 49.
Name "Template::Context::BASEARGS" used only once: possible typo at
/usr/lib/perl5/Template/Base.pm line 49.
Name "Template::BASEARGS" used only once: possible typo at
/usr/lib/perl5/Template/Base.pm line 49.
Name "Template::Service::BASEARGS" used only once: possible typo at
/usr/lib/perl5/Template/Base.pm line 49.
Name "Template::Provider::BASEARGS" used only once: possible typo at
/usr/lib/perl5/Template/Base.pm line 49.
Name "Template::Plugins::BASEARGS" used only once: possible typo at
/usr/lib/perl5/Template/Base.pm line 49.
t/01app................ok

t/02pod................skipped
        all skipped: Test::Pod 1.14 required
t/03podcoverage........skipped
        all skipped: Test::Pod::Coverage 1.04 required
t/controller_Books.....ok 1/3Name "Template::Filters::BASEARGS" used only
once: possible typo at /usr/lib/perl5/Template/Base.pm line 49.
Name "Template::Context::BASEARGS" used only once: possible typo at
/usr/lib/perl5/Template/Base.pm line 49.
Name "Template::BASEARGS" used only once: possible typo at
/usr/lib/perl5/Template/Base.pm line 49.
Name "Template::Service::BASEARGS" used only once: possible typo at
/usr/lib/perl5/Template/Base.pm line 49.
Name "Template::Provider::BASEARGS" used only once: possible typo at
/usr/lib/perl5/Template/Base.pm line 49.
Name "Template::Plugins::BASEARGS" used only once: possible typo at
/usr/lib/perl5/Template/Base.pm line 49.
[debug] ***Root::auto User not found, forwarding to /login
t/controller_Books.....ok

t/controller_Login.....ok 1/3Name "Template::Filters::BASEARGS" used only
once: possible typo at /usr/lib/perl5/Template/Base.pm line 49.
Name "Template::Context::BASEARGS" used only once: possible typo at
/usr/lib/perl5/Template/Base.pm line 49.
Name "Template::BASEARGS" used only once: possible typo at
/usr/lib/perl5/Template/Base.pm line 49.
Name "Template::Service::BASEARGS" used only once: possible typo at
/usr/lib/perl5/Template/Base.pm line 49.
Name "Template::Provider::BASEARGS" used only once: possible typo at
/usr/lib/perl5/Template/Base.pm line 49.
Name "Template::Plugins::BASEARGS" used only once: possible typo at
/usr/lib/perl5/Template/Base.pm line 49.
t/controller_Login.....ok

t/controller_Logout....ok 1/3Name "Template::Filters::BASEARGS" used only
once: possible typo at /usr/lib/perl5/Template/Base.pm line 49.
Name "Template::Context::BASEARGS" used only once: possible typo at
/usr/lib/perl5/Template/Base.pm line 49.
Name "Template::BASEARGS" used only once: possible typo at
/usr/lib/perl5/Template/Base.pm line 49.
Name "Template::Service::BASEARGS" used only once: possible typo at
/usr/lib/perl5/Template/Base.pm line 49.
Name "Template::Provider::BASEARGS" used only once: possible typo at
/usr/lib/perl5/Template/Base.pm line 49.
Name "Template::Plugins::BASEARGS" used only once: possible typo at
/usr/lib/perl5/Template/Base.pm line 49.
[debug] ***Root::auto User not found, forwarding to /login
t/controller_Logout....ok

t/model_DB.............ok

t/view_TT..............NOK 1/1

#   Failed test 'use MyApp::View::TT;'
#   at t/view_TT.t line 5.
#     Tried to use 'MyApp::View::TT'.
#     Error:  Can't locate object method "path_to" via package "MyApp" at
lib/MyApp/View/TT.pm line 6.
# Compilation failed in require at (eval 2) line 2.
# BEGIN failed--compilation aborted at (eval 2) line 2.
# Looks like you failed 1 test of 1.
t/view_TT..............dubious

        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
        Failed 1/1 tests, 0.00% okay
Failed Test Stat Wstat Total Fail  List of Failed
---------------------------------------------------------------------------=
----
t/view_TT.t    1   256     1    1  1
2 tests skipped.
Failed 1/8 test scripts. 1/13 subtests failed.
Files=3D8, Tests=3D13,  4 wallclock secs ( 2.13 cusr +  1.50 csys =3D  3.63=
 CPU)
Failed 1/8 test programs. 1/13 subtests failed.


Any ideas?

Thanks,
Kennedy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst-dev/attachments/20081207/4=
3da7b61/attachment.htm


More information about the Catalyst-dev mailing list