Subject: | error catalystx::crud::tutorial... |
Date: | Fri, 27 May 2011 09:56:18 +0200 (CEST) |
To: | bug-CatalystX-CRUD [...] rt.cpan.org |
From: | "ulf lenski" <ulflenski [...] web.de> |
hello,
I got that error message during testing the catalystx::crud::tutorial. I created all files as described in the tutorial???
thanks - cheers - Ulf.
~/project/MyApp$ script/myapp_server.pl
Couldn't load class (MyApp) because: Couldn't instantiate component "MyApp::Model::Song", "MyCRUD/RDBO.pm did not return a true value at (eval 544) line 3.
...propagated at /usr/share/perl/5.10/base.pm line 93.
BEGIN failed--compilation aborted at /home/lenski/project/MyApp/script/../lib/MyCRUD/Song.pm line 3.
Compilation failed in require at (eval 543) line 3.
at /usr/local/share/perl/5.10.1/Catalyst/Component/ACCEPT_CONTEXT.pm line 139"Compilation failed in require at /usr/lib/perl5/Class/MOP.pm line 114.
at /usr/lib/perl5/Class/MOP.pm line 120
Class::MOP::__ANON__('Couldn\'t instantiate component "MyApp::Model::Song", "MyCRUD...') called at /usr/share/perl5/Try/Tiny.pm line 100
Try::Tiny::try('CODE(0x14ec5a0)', 'Try::Tiny::Catch=REF(0x20d6c70)') called at /usr/lib/perl5/Class/MOP.pm line 125
Class::MOP::load_first_existing_class('MyApp') called at /usr/lib/perl5/Class/MOP.pm line 137
Class::MOP::load_class('MyApp') called at /usr/share/perl5/Catalyst/ScriptRole.pm line 48
Catalyst::ScriptRole::_run_application('Catalyst::Script::Server=HASH(0x210b300)') called at /usr/share/perl5/Catalyst/Script/Server.pm line 179
Catalyst::Script::Server::run('Catalyst::Script::Server=HASH(0x210b300)') called at /usr/share/perl5/Catalyst/ScriptRunner.pm line 20
Catalyst::ScriptRunner::run('Catalyst::ScriptRunner', 'MyApp', 'Server') called at script/myapp_server.pl line 8
Show quoted text
___________________________________________________________
Schon gehört? WEB.DE hat einen genialen Phishing-Filter in die
Toolbar eingebaut! http://produkte.web.de/go/toolbar