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

Richard Lippmann horshack at lisa.franken.de
Mon Jul 24 13:15:05 EDT 2006


Brian, you are right, I have HTML::Mason::VERSION = '1.25'. I am told 
that at the theoryx-Repository there is an 1.33 of HTML::Mason.

So I did this in PPM to add this repository:

rep add theoryx5 
http://theoryx5.uwinnipeg.ca/cgi-bin/ppmserver?urn:/PPMServer58

(this hint was found in
http://faq.perl-community.de/bin/view/Wissensbasis/ModuleWieInstalliereIchEinModul
)

PPM> search HTML::Mason
1. HTML::Mason 1.25
2. HTML::Mason 1.33
PPM> install -force 2

And it works! Thanks for the precious hint!
Greetings,
Richard

Brian Phillips schrieb:
> 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
>>
> 


More information about the jifty-devel mailing list