[jifty-devel] Jifty/Win, jifty schema --setup fails

Brian Phillips bpphillips+ml at gmail.com
Mon Jul 24 10:40:41 EDT 2006


Perhaps you have an old(er) version of Mason installed?  I think 1.29_01 is
the first version to support HTML::Mason::Plugin support.

On 7/24/06, Richard Lippmann <horshack at lisa.franken.de> wrote:
>
> 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
> _______________________________________________
> jifty-devel mailing list
> jifty-devel at lists.jifty.org
> http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.bestpractical.com/pipermail/jifty-devel/attachments/20060724/e4c42559/attachment-0001.htm


More information about the jifty-devel mailing list