Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Catalyst: Users

catalyst install fails on View::Component::SubInclude

 

 

Catalyst users RSS feed   Index | Next | Previous | View Threaded


site at highfellow

Jul 18, 2012, 2:21 AM

Post #1 of 4 (501 views)
Permalink
catalyst install fails on View::Component::SubInclude

Hi,

I'm trying to set up 'Gitalist' on a server; it uses Catalyst as a
framework, and the install is failing when it tries to install
Catalyst::View::Component::SubInclude.

I've followed the instructions here:
http://www.arlocarreon.com/blog/git/gitalist-install/
(for installing gitalist in its own subdirectory using cpanm).

The relevant section from ~/.cpanm/build.log is pasted below.

I tried installing it with --prompt, and asking it to force installing
that module, and it does kind of run, but Lynx is reporting bad html,
and Chrome just shows a very bare subset of what the full page should be
like, with some text missing and no layout or colours. The server is
showing a run-time error when I request a page:

[error] Caught exception in engine "Attribute (_writer) does not pass
the type constraint because: Validation failed for
'Catalyst::Engine::Types::Writer' with value undef at writer
Catalyst::Response::_set_writer of attribute _writer (defined at
/home/andy/gitalist/lib/perl5/Catalyst/Response.pm line 21) line 8.
Catalyst::Response::_set_writer('Catalyst::Response=HASH(0xc2490b8)',
undef) called at /home/andy/gitalist/lib/perl5/Catalyst/Response.pm line 89
Catalyst::Response::finalize_headers('Catalyst::Response=HASH(0xc2490b8)')
called at /home/andy/gitalist/lib/perl5/Catalyst.pm line 1901
Catalyst::finalize_headers('Gitalist=HASH(0xbd69078)') called at
/home/andy/gitalist/lib/perl5/Catalyst/Plugin/Unicode/Encoding.pm line 74
Catalyst::Plugin::Unicode::Encoding::finalize_headers('Gitalist=HASH(0xbd69078)')
called at /home/andy/gitalist/lib/perl5/Catalyst.pm line 1791
[..snip..]

Can anyone help with this?

andrew baxter.


>> ~/.cpanm/build.log <<

Building and testing Catalyst-View-Component-SubInclude-0.10
cp lib/Catalyst/View/Component/SubInclude/SubRequest.pm
blib/lib/Catalyst/View/Component/SubInclude/SubRequest.pm
cp lib/Catalyst/View/Component/SubInclude/SSI.pm
blib/lib/Catalyst/View/Component/SubInclude/SSI.pm
cp lib/Catalyst/View/Component/SubInclude/Visit.pm
blib/lib/Catalyst/View/Component/SubInclude/Visit.pm
cp lib/Catalyst/View/Component/SubInclude/ESI.pm
blib/lib/Catalyst/View/Component/SubInclude/ESI.pm
cp lib/Catalyst/View/Component/SubInclude/HTTP.pm
blib/lib/Catalyst/View/Component/SubInclude/HTTP.pm
cp lib/Catalyst/View/Component/SubInclude.pm
blib/lib/Catalyst/View/Component/SubInclude.pm
Manifying blib/man3/Catalyst::View::Component::SubInclude::SubRequest.3pm
Manifying blib/man3/Catalyst::View::Component::SubInclude::Visit.3pm
Manifying blib/man3/Catalyst::View::Component::SubInclude::SSI.3pm
Manifying blib/man3/Catalyst::View::Component::SubInclude::ESI.3pm
Manifying blib/man3/Catalyst::View::Component::SubInclude::HTTP.3pm
Manifying blib/man3/Catalyst::View::Component::SubInclude.3pm
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/00-load.t t/01-app.t
# Testing Catalyst::View::Component::SubInclude 0.1, Perl 5.010001,
/usr/bin/perl
t/00-load.t .. ok

# Failed test at t/01-app.t line 9.
# 'SubInclude test: will include /time_include using
default plugin Catalyst::View::Component::SubInclude::Visit<br/>
# Current time is: Wed Jul 18 08:26:09 2012 --> | foo = bar |
# <br/>
# Current time is: Wed Jul 18 08:26:09 2012 --> Capture Arg: test| baz =
quux |
# <br/>
#
# <br/><br/>
# Test subinclude using specific plugins:<br/>
# Current time is: Wed Jul 18 08:26:09 2012 -->
# <br/>
# Current time is: Wed Jul 18 08:26:09 2012 --> | plugin = Visit |
# <br/>
# <!--esi <esi:include src="/time?plugin=ESI" /> --><br/>
# <!--#include virtual="/time?plugin=SSI" --><br/>
#
# <br/><br/>
#
#
# Test CaptureArgs and Args interaction (SubRequest):<br/><br/>
#
# Current time is: Wed Jul 18 08:26:09 2012 --> Capture Arg:
capture_argtest Action Arg: regular_arg
# <br/>
# (using:
http://localhost/capture_argtest/time/regular_arg?query_arg=val)<br/>
# <br/>
#
# Current time is: Wed Jul 18 08:26:09 2012 --> Action Arg: regular_arg
# <br/>
# (using: http://localhost/time/regular_arg?query_arg=val)<br/>
#
# <br/><br/>
#
# Test CaptureArgs and Args interaction (Visit):<br/><br/>
#
# Current time is: Wed Jul 18 08:26:09 2012 --> Capture Arg:
capture_argtest | query_arg = val | Action Arg: regular_arg
# <br/>
# (using:
http://localhost/capture_argtest/time/regular_arg?query_arg=val)<br/>
# <br/>
#
# Current time is: Wed Jul 18 08:26:09 2012 --> | query_arg = val |
Action Arg: regular_arg
# <br/>
# (using: http://localhost/time/regular_arg?query_arg=val)<br/>
#
# <br/><br/>
#
# Test CaptureArgs and Args interaction (ESI):<br/><br/>
#
# <!--esi <esi:include
src="/capture_argtest/time/regular_arg?query_arg=val" /> --><br/>
# (using:
http://localhost/capture_argtest/time/regular_arg?query_arg=val)<br/>
# <br/>
#
# <!--esi <esi:include src="/time/regular_arg?query_arg=val" /> --><br/>
# (using: http://localhost/time/regular_arg?query_arg=val)<br/>
#
# <br/><br/>
#
# Test CaptureArgs and Args interaction (SSI):<br/><br/>
#
# <!--#include virtual="/capture_argtest/time/regular_arg?query_arg=val"
--><br/>
# (using:
http://localhost/capture_argtest/time/regular_arg?query_arg=val)<br/>
# <br/>
#
# <!--#include virtual="/time/regular_arg?query_arg=val" --><br/>
# (using: http://localhost/time/regular_arg?query_arg=val)<br/>
#
# <br/><br/><br/>
#
# Test Args when Chained is not being used:
# Current time is: Wed Jul 18 08:26:09 2012 --> No Chained Args:
regular_arg1, regular_arg2
# <br/>
# (using:
http://localhost/time_args_no_chained/regular_arg1/regular_arg2?query_arg=val)<br/>
# '
# doesn't match '(?-xism:SubInclude test: will include /time_include
using default plugin Catalyst::View::Component::SubInclude::Visit<br/>
# Current time is: [\w\s:]+ --> \| foo = bar \|\s*
# <br/>
# Current time is: [\w\s:]+ --> Capture Arg: test\| baz = quux \|\s*
# <br/>
#
# <br/><br/>
# Test subinclude using specific plugins:<br/>
# Current time is: [\w\s:]+ --> \| plugin = SubRequest \|\s*
# <br/>
# Current time is: [\w\s:]+ --> \| plugin = Visit \|\s*
# <br/>
# <!--esi <esi:include src="/time\?plugin=ESI" /> --><br/>
# <!--#include virtual="/time\?plugin=SSI" --><br/>
#
# <br/><br/>
#
#
# Test CaptureArgs and Args interaction \(SubRequest\):<br/><br/>
#
# Current time is: [\w\s:]+ --> Capture Arg: capture_argtest \|
query_arg = val \| Action Arg: regular_arg\s*
# <br/>
# \(using:
http://localhost/capture_argtest/time/regular_arg\?query_arg=val\)<br/>
# <br/>
#
# Current time is: [\w\s:]+ --> \| query_arg = val \| Action Arg:
regular_arg\s*
# <br/>
# \(using: http://localhost/time/regular_arg\?query_arg=val\)<br/>
#
# <br/><br/>
#
# Test CaptureArgs and Args interaction \(Visit\):<br/><br/>
#
# Current time is: [\w\s:]+ --> Capture Arg: capture_argtest \|
query_arg = val \| Action Arg: regular_arg\s*
# <br/>
# \(using:
http://localhost/capture_argtest/time/regular_arg\?query_arg=val\)<br/>
# <br/>
#
# Current time is: [\w\s:]+ --> \| query_arg = val \| Action Arg:
regular_arg\s*
# <br/>
# \(using: http://localhost/time/regular_arg\?query_arg=val\)<br/>
#
# <br/><br/>
#
# Test CaptureArgs and Args interaction \(ESI\):<br/><br/>
#
# <!--esi <esi:include
src="/capture_argtest/time/regular_arg\?query_arg=val" /> --><br/>
# \(using:
http://localhost/capture_argtest/time/regular_arg\?query_arg=val\)<br/>
# <br/>
#
# <!--esi <esi:include src="/time/regular_arg\?query_arg=val" /> --><br/>
# \(using: http://localhost/time/regular_arg\?query_arg=val\)<br/>
#
# <br/><br/>
#
# Test CaptureArgs and Args interaction \(SSI\):<br/><br/>
#
# <!--#include
virtual="/capture_argtest/time/regular_arg\?query_arg=val" --><br/>
# \(using:
http://localhost/capture_argtest/time/regular_arg\?query_arg=val\)<br/>
# <br/>
#
# <!--#include virtual="/time/regular_arg\?query_arg=val" --><br/>
# \(using: http://localhost/time/regular_arg\?query_arg=val\)<br/>
#
# <br/><br/><br/>
#
# Test Args when Chained is not being used:
# Current time is: [\w\s:]+ --> \| query_arg = val \| No Chained Args:
regular_arg1, regular_arg2
# <br/>
# \(using:
http://localhost/time_args_no_chained/regular_arg1/regular_arg2\?query_arg=val\)<br/>
# )'
# Looks like you failed 1 test of 1.
t/01-app.t ...
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests

Test Summary Report
-------------------
t/01-app.t (Wstat: 256 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
Files=2, Tests=7, 2 wallclock secs ( 0.02 usr 0.00 sys + 1.54 cusr
0.06 csys = 1.62 CPU)
Result: FAIL
Failed 1/2 test programs. 1/7 subtests failed.
make: *** [test_dynamic] Error 1



_______________________________________________
List: Catalyst [at] lists
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst [at] lists/
Dev site: http://dev.catalyst.perl.org/


bobtfish at bobtfish

Jul 18, 2012, 10:10 AM

Post #2 of 4 (473 views)
Permalink
Re: catalyst install fails on View::Component::SubInclude [In reply to]

On 18 Jul 2012, at 10:21, Andrew Baxter wrote:

> Hi,
>
> I'm trying to set up 'Gitalist' on a server; it uses Catalyst as a framework, and the install is failing when it tries to install Catalyst::View::Component::SubInclude.

<snip>

> Can anyone help with this?

Sorry about this - it's known broken (and we're being yelled as it's blocking new Catalyst in debian Wheezy). We're working on fixing it - however the easiest solution currently is to do some manual downgrades.

If you install Catalyst::Runtime version 5.90012 and then Catalyst::Plugin::SubRequest 0.16, then you should find that everything works as expected.

Cheers
t0m


_______________________________________________
List: Catalyst [at] lists
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst [at] lists/
Dev site: http://dev.catalyst.perl.org/


site at highfellow

Jul 18, 2012, 11:46 AM

Post #3 of 4 (465 views)
Permalink
Re: catalyst install fails on View::Component::SubInclude [In reply to]

On 18/07/12 18:10, Tomas Doran wrote:
>
>
> If you install Catalyst::Runtime version 5.90012 and then Catalyst::Plugin::SubRequest 0.16, then you should find that everything works as expected.
>
> Cheers
> t0m
>

Thanks for the info. Gitalist looks pretty nice, so it would be good to
be able to use it.

andy

_______________________________________________
List: Catalyst [at] lists
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst [at] lists/
Dev site: http://dev.catalyst.perl.org/


site at highfellow

Jul 19, 2012, 10:06 PM

Post #4 of 4 (451 views)
Permalink
Re: catalyst install fails on View::Component::SubInclude [In reply to]

On 18/07/12 18:10, Tomas Doran wrote:
>> Can anyone help with this?
> Sorry about this - it's known broken (and we're being yelled as it's blocking new Catalyst in debian Wheezy). We're working on fixing it - however the easiest solution currently is to do some manual downgrades.
>
> If you install Catalyst::Runtime version 5.90012 and then Catalyst::Plugin::SubRequest 0.16, then you should find that everything works as expected.
>

Thanks - it's running nicely now. :-)

_______________________________________________
List: Catalyst [at] lists
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst [at] lists/
Dev site: http://dev.catalyst.perl.org/

Catalyst users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.