CAP::ValidateRM install failure

View: New views
8 Messages — Rating Filter:   Alert me  

CAP::ValidateRM install failure

by Lesley Binks :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi
I'm experimenting with CGI::Application and thought I'd try the
sitepoint article out to get the hang of it all.
So I cut and pasted the data and then started sorting out the
dependencies via cpan which I think gets me the latest modules down.
.
I'm on Debian etch with perl 5.8

I searched through the archives on erlbaum.net and found that someone
else has experienced this same problem in Oct 2007.
( http://www.erlbaum.net/pipermail/cgiapp/2007q4/000062.html )

The sample application requires CAP::ValidateRM and the cpan install fails thus

PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01_basic......ok
t/99_pod........ok
t/forward.......1/4
#   Failed test 'form is returned'
#   at t/forward.t line 22.
#          got: 'legacy form output HUH'
#     expected: 'legacy form output'
# Looks like you failed 1 test of 4.
t/forward....... Dubious, test returned 1 (wstat 256, 0x100)
 Failed 1/4 subtests
        (less 2 skipped subtests: 1 okay)

Test Summary Report
-------------------
t/forward.t (Wstat: 256 Tests: 4 Failed: 1)
  Failed test:  2
  Non-zero exit status: 1
Files=3, Tests=19,  1 wallclock secs ( 0.02 usr  0.00 sys +  0.32 cusr
 0.03 csys =  0.37 CPU)
Result: FAIL
Failed 1/3 test programs. 1/19 subtests failed.
make: *** [test_dynamic] Error 1

This seems to be the forward_form test

    sub forward_form {
        my $self = shift;
        Test::More::is($self->get_current_runmode, 'forward_form',
            "if ::Forward is loaded, current_rm is updated");
        $self->header_type('none');
        return "forward form output HUH";
    }

Unfortunately there were no replies to this problem for the previous
poster.  Likewise I know little about the Perl Test harness at this
time.

Anyone know what's up here or know of a fix?  Did the previous poster
get a fix to this problem?

Regards

LesleyB

#####  CGI::Application community mailing list  ################
##                                                            ##
##  To unsubscribe, or change your message delivery options,  ##
##  visit:  http://www.erlbaum.net/mailman/listinfo/cgiapp    ##
##                                                            ##
##  Web archive:   http://www.erlbaum.net/pipermail/cgiapp/   ##
##  Wiki:          http://cgiapp.erlbaum.net/                 ##
##                                                            ##
################################################################


Re: CAP::ValidateRM install failure

by Jaldhar H. Vyas-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, 6 Apr 2008, Lesley Binks wrote:

> Hi
> I'm experimenting with CGI::Application and thought I'd try the
> sitepoint article out to get the hang of it all.
> So I cut and pasted the data and then started sorting out the
> dependencies via cpan which I think gets me the latest modules down.
> .
> I'm on Debian etch with perl 5.8

use the handy libcgi-application-plugins-perl package via apt-get instead.
You can even install the more up to date version from sid on etch without
problems though some manual work might be necessary to install
dependencies.

>
> I searched through the archives on erlbaum.net and found that someone
> else has experienced this same problem in Oct 2007.
> ( http://www.erlbaum.net/pipermail/cgiapp/2007q4/000062.html )
>
> The sample application requires CAP::ValidateRM and the cpan install fails thus
>
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> t/01_basic......ok
> t/99_pod........ok
> t/forward.......1/4
> #   Failed test 'form is returned'
> #   at t/forward.t line 22.
> #          got: 'legacy form output HUH'
> #     expected: 'legacy form output'
> # Looks like you failed 1 test of 4.
> t/forward....... Dubious, test returned 1 (wstat 256, 0x100)
> Failed 1/4 subtests

I mentioned this to Mark and he said it was harmless.

--
Jaldhar H. Vyas <jaldhar@...>

#####  CGI::Application community mailing list  ################
##                                                            ##
##  To unsubscribe, or change your message delivery options,  ##
##  visit:  http://www.erlbaum.net/mailman/listinfo/cgiapp    ##
##                                                            ##
##  Web archive:   http://www.erlbaum.net/pipermail/cgiapp/   ##
##  Wiki:          http://cgiapp.erlbaum.net/                 ##
##                                                            ##
################################################################


Parent Message unknown Re: CAP::ValidateRM install failure

by Lesley Binks :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 06/04/2008, cgiapp-request@...
<cgiapp-request@...> wrote:

> Send cgiapp mailing list submissions to
>         cgiapp@...
>
>  To subscribe or unsubscribe via the World Wide Web, visit
>         http://www.erlbaum.net/mailman/listinfo/cgiapp
>  or, via email, send a message with subject or body 'help' to
>         cgiapp-request@...
>
>  You can reach the person managing the list at
>         cgiapp-owner@...
>
>  When replying, please edit your Subject line so it is more specific
>  than "Re: Contents of cgiapp digest..."
>
>
>  Today's Topics:
>
>    1. CAP::ValidateRM install failure (Lesley Binks)
>    2. Re: CAP::ValidateRM install failure (Jaldhar H. Vyas)
>
>
>  ----------------------------------------------------------------------
>
>  Message: 1
>  Date: Sun, 6 Apr 2008 15:33:25 +0100
>  From: "Lesley Binks" <lesley.binks@...>
>  Subject: [cgiapp] CAP::ValidateRM install failure
>  To: cgiapp@...
>  Message-ID:
>         <cfd8acdc0804060733o3762c21ckc6ea609fcaa69ef7@...>
>  Content-Type: text/plain; charset=ISO-8859-1
>
>  Hi
>  I'm experimenting with CGI::Application and thought I'd try the
>  sitepoint article out to get the hang of it all.
>  So I cut and pasted the data and then started sorting out the
>  dependencies via cpan which I think gets me the latest modules down.
>  .
>  I'm on Debian etch with perl 5.8
>
>  I searched through the archives on erlbaum.net and found that someone
>  else has experienced this same problem in Oct 2007.
>  ( http://www.erlbaum.net/pipermail/cgiapp/2007q4/000062.html )
>
>  The sample application requires CAP::ValidateRM and the cpan install fails thus
>
>  PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
>  "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
>  t/01_basic......ok
>  t/99_pod........ok
>  t/forward.......1/4
>  #   Failed test 'form is returned'
>  #   at t/forward.t line 22.
>  #          got: 'legacy form output HUH'
>  #     expected: 'legacy form output'
>  # Looks like you failed 1 test of 4.
>  t/forward....... Dubious, test returned 1 (wstat 256, 0x100)
>   Failed 1/4 subtests
>         (less 2 skipped subtests: 1 okay)
>
>  Test Summary Report
>  -------------------
>  t/forward.t (Wstat: 256 Tests: 4 Failed: 1)
>   Failed test:  2
>   Non-zero exit status: 1
>  Files=3, Tests=19,  1 wallclock secs ( 0.02 usr  0.00 sys +  0.32 cusr
>   0.03 csys =  0.37 CPU)
>  Result: FAIL
>  Failed 1/3 test programs. 1/19 subtests failed.
>  make: *** [test_dynamic] Error 1
>
>  This seems to be the forward_form test
>
>     sub forward_form {
>         my $self = shift;
>         Test::More::is($self->get_current_runmode, 'forward_form',
>             "if ::Forward is loaded, current_rm is updated");
>         $self->header_type('none');
>         return "forward form output HUH";
>     }
>
>  Unfortunately there were no replies to this problem for the previous
>  poster.  Likewise I know little about the Perl Test harness at this
>  time.
>
>  Anyone know what's up here or know of a fix?  Did the previous poster
>  get a fix to this problem?
>
>  Regards
>
>  LesleyB
>
>
>  ------------------------------
>
>  Message: 2
>  Date: Sun, 6 Apr 2008 10:43:03 -0400 (EDT)
>  From: "Jaldhar H. Vyas" <jaldhar@...>
>  Subject: Re: [cgiapp] CAP::ValidateRM install failure
>  To: CGI Application <cgiapp@...>
>  Message-ID: <alpine.DEB.1.00.0804061038180.25808@jaldhar-laptop>
>  Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
>
>  On Sun, 6 Apr 2008, Lesley Binks wrote:
>
>  > Hi
>  > I'm experimenting with CGI::Application and thought I'd try the
>  > sitepoint article out to get the hang of it all.
>  > So I cut and pasted the data and then started sorting out the
>  > dependencies via cpan which I think gets me the latest modules down.
>  > .
>  > I'm on Debian etch with perl 5.8
>
>  use the handy libcgi-application-plugins-perl package via apt-get instead.
>  You can even install the more up to date version from sid on etch without
>  problems though some manual work might be necessary to install
>  dependencies.
>
>  >
>  > I searched through the archives on erlbaum.net and found that someone
>  > else has experienced this same problem in Oct 2007.
>  > ( http://www.erlbaum.net/pipermail/cgiapp/2007q4/000062.html )
>  >
>  > The sample application requires CAP::ValidateRM and the cpan install fails thus
>  >
>  > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
>  > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
>  > t/01_basic......ok
>  > t/99_pod........ok
>  > t/forward.......1/4
>  > #   Failed test 'form is returned'
>  > #   at t/forward.t line 22.
>  > #          got: 'legacy form output HUH'
>  > #     expected: 'legacy form output'
>  > # Looks like you failed 1 test of 4.
>  > t/forward....... Dubious, test returned 1 (wstat 256, 0x100)
>  > Failed 1/4 subtests
>
>  I mentioned this to Mark and he said it was harmless.
>
>  --

Jaldhar

Thanks for this info.
I used the force command in cpan, simply because I started the install
of CGI::Application plus dependencies  that way.
I started using cpan because the CGI module seemed to be a little out
of date via the apt-get lib*perl method and have now updated those
modules that I can update this way.

Now at least  I can debug the rest of my problems with the test
application - having spent the afternoon with Test::Tutorial. :)

Regards

Lesley

#####  CGI::Application community mailing list  ################
##                                                            ##
##  To unsubscribe, or change your message delivery options,  ##
##  visit:  http://www.erlbaum.net/mailman/listinfo/cgiapp    ##
##                                                            ##
##  Web archive:   http://www.erlbaum.net/pipermail/cgiapp/   ##
##  Wiki:          http://cgiapp.erlbaum.net/                 ##
##                                                            ##
################################################################


Re: CAP::ValidateRM install failure

by Richard Jones-18 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Lesley Binks wrote:

> I searched through the archives on erlbaum.net and found that someone
> else has experienced this same problem in Oct 2007.
> ( http://www.erlbaum.net/pipermail/cgiapp/2007q4/000062.html )

> Anyone know what's up here or know of a fix?  Did the previous poster
> get a fix to this problem?

Hi,

I just noticed this as I mainly do dev with Catalyst these days, though
still maintain my CGI::App apps. I was the original poster in Oct 2007,
and I never did get a resolution, and it still happens when I set up a
new server (always Debian/Ubuntu these days), and I still have to force
install - still the *only* module I have to do that to. Wish I knew the
answer. Sorry I can't be more help.
--
Richard Jones

#####  CGI::Application community mailing list  ################
##                                                            ##
##  To unsubscribe, or change your message delivery options,  ##
##  visit:  http://www.erlbaum.net/mailman/listinfo/cgiapp    ##
##                                                            ##
##  Web archive:   http://www.erlbaum.net/pipermail/cgiapp/   ##
##  Wiki:          http://cgiapp.erlbaum.net/                 ##
##                                                            ##
################################################################


Re: Re: CAP::ValidateRM install failure

by Alexandr Ciornii :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello.

It seems that HTML::FillInFrom fixed a bug in 1.07 and tests relied on
incorrect behaviour. So skipping this test should be ok.
I have provided more information here:
http://rt.cpan.org/Ticket/Display.html?id=35056

2008/4/26 Richard Jones <ra.jones@...>:
> Lesley Binks wrote:

> > I searched through the archives on erlbaum.net and found that someone
> > else has experienced this same problem in Oct 2007.
> > ( http://www.erlbaum.net/pipermail/cgiapp/2007q4/000062.html )

>  I just noticed this as I mainly do dev with Catalyst these days, though
> still maintain my CGI::App apps. I was the original poster in Oct 2007, and
> I never did get a resolution, and it still happens when I set up a new
> server (always Debian/Ubuntu these days), and I still have to force install
> - still the *only* module I have to do that to. Wish I knew the answer.


--
Alexandr Ciornii, http://chorny.net

#####  CGI::Application community mailing list  ################
##                                                            ##
##  To unsubscribe, or change your message delivery options,  ##
##  visit:  http://www.erlbaum.net/mailman/listinfo/cgiapp    ##
##                                                            ##
##  Web archive:   http://www.erlbaum.net/pipermail/cgiapp/   ##
##  Wiki:          http://cgiapp.erlbaum.net/                 ##
##                                                            ##
################################################################


Re: CAP::ValidateRM install failure

by R. Hicks :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Alexandr Ciornii wrote:
> Hello.
>
> It seems that HTML::FillInFrom fixed a bug in 1.07 and tests relied on
> incorrect behaviour. So skipping this test should be ok.
> I have provided more information here:
> http://rt.cpan.org/Ticket/Display.html?id=35056

I "forced" it and it still won't work for me (I am on OSX Leopard).

Robert


#####  CGI::Application community mailing list  ################
##                                                            ##
##  To unsubscribe, or change your message delivery options,  ##
##  visit:  http://www.erlbaum.net/mailman/listinfo/cgiapp    ##
##                                                            ##
##  Web archive:   http://www.erlbaum.net/pipermail/cgiapp/   ##
##  Wiki:          http://cgiapp.erlbaum.net/                 ##
##                                                            ##
################################################################


Re: CAP::ValidateRM install failure

by Mark Stosberg :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, 07 May 2008 07:59:24 -0400
Robert Hicks <sigzero@...> wrote:

> Alexandr Ciornii wrote:
> > Hello.
> >
> > It seems that HTML::FillInFrom fixed a bug in 1.07 and tests relied on
> > incorrect behaviour. So skipping this test should be ok.
> > I have provided more information here:
> > http://rt.cpan.org/Ticket/Display.html?id=35056
>
> I "forced" it and it still won't work for me (I am on OSX Leopard).

I took the advice about FillInForm and released a 2.2 version that requires
a newer version. In the new version, the tests are failing on every platform.

I suspect the behavior of a different dependency changed (because ValidateRM
didn't change, and the tests started failing). Perhaps CGI.pm?

It's a matter of tracking down the changed dependency and then updating the
tests or requiring a newer version as appropriate.

Perhaps all the CPAN testers are using the default CGI.pm that's provided
instead of a newer one, since we don't explicitly require a newer one.

    Mark

--
 . . . . . . . . . . . . . . . . . . . . . . . . . . .
   Mark Stosberg            Principal Developer  
   mark@...     Summersault, LLC    
   765-939-9301 ext 202     database driven websites
 . . . . . http://www.summersault.com/ . . . . . . . .



#####  CGI::Application community mailing list  ################
##                                                            ##
##  To unsubscribe, or change your message delivery options,  ##
##  visit:  http://www.erlbaum.net/mailman/listinfo/cgiapp    ##
##                                                            ##
##  Web archive:   http://www.erlbaum.net/pipermail/cgiapp/   ##
##  Wiki:          http://cgiapp.erlbaum.net/                 ##
##                                                            ##
################################################################


Re: CAP::ValidateRM install failure

by R. Hicks :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Would this affect Data::FormValidator itself? I can probably do it all
"manually" as well.

Robert


#####  CGI::Application community mailing list  ################
##                                                            ##
##  To unsubscribe, or change your message delivery options,  ##
##  visit:  http://www.erlbaum.net/mailman/listinfo/cgiapp    ##
##                                                            ##
##  Web archive:   http://www.erlbaum.net/pipermail/cgiapp/   ##
##  Wiki:          http://cgiapp.erlbaum.net/                 ##
##                                                            ##
################################################################

LightInTheBox - Buy quality products at wholesale price