[jifty-devel] Jifty/Win, jifty schema --setup fails
Richard Lippmann
horshack at lisa.franken.de
Mon Jul 24 10:20:06 EDT 2006
C:\temp\x\Customer>perl bin/jifty schema --setup
The following parameter was passed in the call to
Jifty::View::Mason::Handler->new() but was not listed in the validation
options: plugins
My first thought was to remove this from config.yml:
Plugins: []
but this does not help. I do not even find the string "The following
parameter was passed"... ok, it seems that this string comes from Mason
somehow.
The error happens in Jifty\View\Mason\Handler.pm, there is this line:
sub new {
my $package = shift;
my %p = @_;
my $self = $package->SUPER::new(
request_class => 'HTML::Mason::Request::Jifty',
out_method => \&out_method,
%p );
...
When being in the debugger is see this:
DB<1> x \%p
0 HASH(0x34df600)
'allow_globals' => ARRAY(0x40d115c)
0 '$JiftyWeb'
'autoflush' => 0
'comp_root' => ARRAY(0x40d11b0)
0 ARRAY(0x40d10a8)
0 'application'
1 'C:\\temp\\x\\Customer2\\share\\web\\templates'
1 ARRAY(0x40d1168)
0 'jifty'
1 'C:\\Perl\\site\\lib\\auto\\Jifty/web/templates'
'data_dir' => 'C:\\temp\\x\\Customer2\\var\\mason'
'default_escape_flags' => 'h'
'error_format' => 'text'
'error_mode' => 'fatal'
'plugins' => ARRAY(0x40cf130)
0 'Jifty::Mason::Halo' <<<<<<<--------------------
'preprocess' => CODE(0x30f1ec8)
->
&Jifty::Handler::__ANON__[C:/Perl/site/lib/Jifty/Handler.pm:117] in C:
Perl/site/lib/Jifty/Handler.pm:112-117
'static_source' => 0
'use_object_files' => 0
More information about the jifty-devel
mailing list