On Sun, Mar 29, 2009 at 3:00 PM, Jason Galea <li...@eightdegrees.com.au> wrote: > Hi David, > > setting default_view in my config appears to have fixed this for me.. (I > have other, unrelated, issues now) > > default_view: MyApp::View::TT > > hope this helps.. > > cheers, > > J > > David Schmidt wrote: >> >> Hello everyone >> >> I've just upgraded Catalyst from 5.7015 to 5.71001. >> If I start my project development server it loads but upon requesting >> any page I get the error: >> >> Caught exception in MyApp::View::myEmail->process "Can't send email >> without a valid email structure at >> /usr/local/share/perl/5.10.0/Catalyst/Action.pm line 46" >> >> On the cpan site of C::V::Email the developer says that the config >> options have changed slightly but I cannot figure out wether the docs >> represent the new or old config style. >> >> >> http://search.cpan.org/~jshirley/Catalyst-View-Email-0.13/lib/Catalyst/View/Email.pm >> >> WARNING: since version 0.10 the configuration options slightly changed! >> >> This is were the error comes from in /Catalyst/View/Email.pm >> >> my $email = $c->stash->{$self->{stash_key}}; >> croak "Can't send email without a valid email structure" >> unless $email; >> >> but I have the stash_key configured in MyApp/lib/MyApp.pm >> __PACKAGE__->config( >> 'View::Email' => { >> stash_key => 'email', >> default => { >> content_type => 'text/plain', >> charset => 'utf-8' >> }, >> sender => { >> mailer => 'SMTP', >> mailer_args => { >> Host => 'test.smtp.at', # defaults to localhost >> username => 'blah', >> password => 'foo', >> ssl => 1 >> } >> } >> } >> }; >> >> and it also seems to be configured in MyApp/lib/MyApp/View/myEmail.pm >> __PACKAGE__->config( >> stash_key => 'email' >> ); >> >> well, that's it for now. thanks in advance for any pointers. >> >> david >> >> _______________________________________________ >> 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/ >> > > _______________________________________________ > 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/ >
Ye it did so for me too. These lines are still here though Use of uninitialized value $text in split at /usr/local/share/perl/5.10.0/Text/SimpleTable.pm line 239. I really hoped the upgrade from Catalyst 5.70 to 5.71 wouldnt break my app. Thanks for your reply :) _______________________________________________ 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/