List Info

Thread: Mojomojo installation




Mojomojo installation
country flaguser name
Switzerland
2007-09-17 16:20:51
Hi all,

I wanted to check out latest Mojomojo from CPAN, but got
several 
failures in the installation:

"make" fails because of missing dependency for
Text::Markdown.

"make test" failures:
- t/c/page.t needs a current Catalyst::Action::RenderView.
I've got
  errors with 0.04 that disappeared with current 0.07.
- t/c/page_edit.t fails test #4 and #6 because the order of
the expected
  HTML attributes is not the same (expects 
   
<inputs+value=""s+name="parent"s+t
ype="hidden"s+/> 
  but gets
    <input type="hidden"
name="parent" value="" /> )
- t/schema_DBIC_Attachment.t: test defines attachment_dir
as
  t/var/upload, but only t/var exists when test runs
- t/schema_DBIC_Page.t:
  not ok 9 - new children returned as descendants of root
  #   Failed test 'new children returned as descendants of
root'
  #   at t/schema_DBIC_Page.t line 55.
  #     Structures begin differing at:
  #          $got->[1] = 'admin'
  #     $expected->[1] = 'child'


-- 
Bernhard Graf

_______________________________________________
List: Catalystlists.rawmode.org
Listinfo: ht
tp://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-
archive.com/catalystlists.rawmode.org/
Dev site: http://dev.catalyst.per
l.org/

Re: Mojomojo installation
country flaguser name
United Kingdom
2007-09-17 16:41:15
Bernhard Graf wrote:
> Hi all,
> 
> I wanted to check out latest Mojomojo from CPAN, but
got several 
> failures in the installation:

[snip]
> - t/c/page_edit.t fails test #4 and #6 because the
order of the expected
>   HTML attributes is not the same (expects 
>    
<inputs+value=""s+name="parent"s+t
ype="hidden"s+/> 
>   but gets
>     <input type="hidden"
name="parent" value="" /> )
[snip]

That is the very reason why i wrote
WWW::Mechanize::TreeBuilder:
http://search.cpan
.org/dist/WWW-Mechanize-TreeBuilder-1.00002/lib/WWW/Mechaniz
e/TreeBuilder.pm

>From the synopsis (altered to show specific example as
above):

 use Test::More tests => 2;
 use Test::WWW::Mechanize::Catalyst 'MyApp';

 my $mech = Test::WWW::Mechanize::Catalyst->new;
 WWW::Mechanize::TreeBuilder->meta->apply($mech);

 $mech->get_ok('/');
 ok( $mech->look_down(
       _tag => 'input',
       name => 'parent',
       type => 'hidden',
       value => '' ), 'Found expected tag.' );

_______________________________________________
List: Catalystlists.rawmode.org
Listinfo: ht
tp://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-
archive.com/catalystlists.rawmode.org/
Dev site: http://dev.catalyst.per
l.org/

Re: Mojomojo installation
user name
2007-09-18 02:39:00
MojoMojo-0.999004.tar.gz just went to CPAN, and is using
ash's  mech
module. I also made Text::MarkDown an optional dependency,
and made
the formatter skip if text::markdown is not installed.

Feel free to report further test failures in rt.cpan.org ;)

Marcus

On 9/17/07, Ash Berlin <ash_cpanfiremirror.com> wrote:
> Bernhard Graf wrote:
> > Hi all,
> >
> > I wanted to check out latest Mojomojo from CPAN,
but got several
> > failures in the installation:
>
> [snip]
> > - t/c/page_edit.t fails test #4 and #6 because the
order of the expected
> >   HTML attributes is not the same (expects
> >    
<inputs+value=""s+name="parent"s+t
ype="hidden"s+/>
> >   but gets
> >     <input type="hidden"
name="parent" value="" /> )
> [snip]
>
> That is the very reason why i wrote
WWW::Mechanize::TreeBuilder:
> http://search.cpan
.org/dist/WWW-Mechanize-TreeBuilder-1.00002/lib/WWW/Mechaniz
e/TreeBuilder.pm
>
> >From the synopsis (altered to show specific example
as above):
>
>  use Test::More tests => 2;
>  use Test::WWW::Mechanize::Catalyst 'MyApp';
>
>  my $mech = Test::WWW::Mechanize::Catalyst->new;
> 
WWW::Mechanize::TreeBuilder->meta->apply($mech);
>
>  $mech->get_ok('/');
>  ok( $mech->look_down(
>        _tag => 'input',
>        name => 'parent',
>        type => 'hidden',
>        value => '' ), 'Found expected tag.' );
>
> _______________________________________________
> List: Catalystlists.rawmode.org
> Listinfo: ht
tp://lists.rawmode.org/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-
archive.com/catalystlists.rawmode.org/
> Dev site: http://dev.catalyst.per
l.org/
>


-- 
With regards
Marcus Ramberg

_______________________________________________
List: Catalystlists.rawmode.org
Listinfo: ht
tp://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-
archive.com/catalystlists.rawmode.org/
Dev site: http://dev.catalyst.per
l.org/

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )