ivorw wrote:
I've seen this or similar. It's usually an indication that the Catalyst
code is failing to see the config file (calappdb.yml or calappdb.conf),
when you are defining the DBI parameters here rather than hardcoding
them inside CalApp::Model::CalAppDB.pm which the helper script does for
you by default.
Maybe you're running your tests from a different directory than where
the config file lives. Try running your test with CALAPP_CONFIG=/path/to/dir
Thanks for the tip. I am running from the same directory, so am
surprised that the behavior is different, but when setting the
CALAPP_CONFIG variable as you suggested I see a normal Catalyst startup,
and the "Dumper" code I put in gets ran as expected. Things look more
normal now (well, there's other stuff it doesn't find now, like not
recognizing the directories set in my default View, but I believe I can
figure that out).
Thanks again for helping out.
Marius K.
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/