Skip Menu |
 

This queue is for tickets about the Test-Harness CPAN distribution.

Report information
The Basics
Id: 77632
Status: resolved
Priority: 0/
Queue: Test-Harness

People
Owner: Nobody in particular
Requestors: ftl [...] dnv.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 3.24
Fixed in: (no value)



Subject: Wrong ovid-name (incl ')
Download (untitled) / with headers
text/plain 1.7k
Installing Cairo (and many other modules, e.g. GD) to Strawberry, worked fine in May, but not in June. I'm not sure about this, but: The main cause seems to be that Test-harness has changed owner. Even if 3.24 is marked with UNAUTHORIZED, some modules depending on Test-harness seems to prefer the latest. 3.24 is also reported by cpan as the prefered one. when checking info for 3.24 it reports Show quoted text
cpan> i OVID/Test-Harness-3.24.tar.gz
Fetching with LWP: http://cpan.strawberryperl.com/authors/id/O/OV/OVID/CHECKSUMS Distribution id = O/OV/OVID/Test-Harness-3.24.tar.gz CPAN_USERID OVID (Curtis 'Ovid' Poe <ovid@cpan.org>) CPAN_VERSION 3.24 The root cause seems to be on line 3157 of CPAN::Distribution, a call is made to CPAN::Shell- Show quoted text
>expand("Module","Test::Harness") (to get the version), which again
calls CPAN::Shell->expand_by_method In CPAN::Shell there is a comment # FIXME: there seem to be some ='s in the author data, which trigger # a failure here. This needs to be contemplated. # } elsif ($arg =~ m/=/) { # $command = 1; } I know this is a bug/limitation to CPAN::Shell, but since Test::Harness was working when issued by Armstrong, I thought it would be worth mentioning it to your guys as well. Work-around is cpan install ANDYA/Test-Harness-3.23.tar.gz before anything else, and comment out row 3156-3170, kill, exit cpan, kill all perl processes running, and start all over. Optionally to let Curtis 'Ovid' Poe change name to e.g. Curtis -Ovid- Poe, may help? (even if requesting people to change their name may be considered crossing some private borders... sorry for that), or make sure 3.24 is not listed when searching for test-harness i cpan. Anyway, thanks a lot for a great product, and keep up the good work! Best regards Frode
CC: Andy Armstrong <andy [...] hexten.net>
Subject: Re: [rt.cpan.org #77632] Wrong ovid-name (incl ')
Date: Tue, 5 Jun 2012 06:56:42 -0700 (PDT)
To: "bug-Test-Harness [...] rt.cpan.org" <bug-Test-Harness [...] rt.cpan.org>
From: Ovid <curtis_ovid_poe [...] yahoo.com>
Download (untitled) / with headers
text/plain 3.2k
Hmm, I had added Andy as a co-maintainer of Test::Harness, but PAUSE reports that I have *no* permissions to the module I wrote. I'm a bit surprised about that. Did I accidentally give him maintainership rather than add him? Whoops. Andy, can you re-add me as co-maintainer and then cut a new release to help this person? Frode, can you track down how to get a fix for the "'" problem, or who might do this? I have to confess that I've had the name "Curtis 'Ovid' Poe" on the CPAN for many years and I'm not overly excited about changing my name because someone else has buggy software :) Cheers, Curtis -Ovid- Poe  -- Live and work overseas - http://www.overseas-exile.com/ Buy the book - http://www.oreilly.com/catalog/perlhks/ Tech blog - http://blogs.perl.org/users/ovid/ Twitter - http://twitter.com/OvidPerl/ Show quoted text
>________________________________ > From: Frode T. via RT <bug-Test-Harness@rt.cpan.org> >To: >Sent: Tuesday, 5 June 2012, 14:32 >Subject: [rt.cpan.org #77632] Wrong ovid-name (incl ') > >Tue Jun 05 08:32:26 2012: Request 77632 was acted upon. >Transaction: Ticket created by ftl >      Queue: Test-Harness >    Subject: Wrong ovid-name (incl ') >  Broken in: 3.24 >    Severity: Important >      Owner: Nobody >  Requestors: ftl@dnv.com >      Status: new >Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=77632 > > > >Installing Cairo (and many other modules, e.g. GD) to Strawberry, >worked fine in May, but not in June. > >I'm not sure about this, but: >The main cause seems to be that Test-harness has changed owner. > >Even if 3.24 is marked with UNAUTHORIZED, some modules depending on >Test-harness seems to prefer the latest. 3.24 is also reported by cpan >as the prefered one. > >when checking info for 3.24 it reports
>cpan> i OVID/Test-Harness-3.24.tar.gz
>Fetching with LWP: >http://cpan.strawberryperl.com/authors/id/O/OV/OVID/CHECKSUMS >Distribution id = O/OV/OVID/Test-Harness-3.24.tar.gz >    CPAN_USERID  OVID (Curtis 'Ovid' Poe <ovid@cpan.org>) >    CPAN_VERSION 3.24 > > >The root cause seems to be >on line 3157 of CPAN::Distribution, a call is made to CPAN::Shell-
>>expand("Module","Test::Harness") (to get the version), which again
>calls CPAN::Shell->expand_by_method > >In CPAN::Shell there is a comment > ># FIXME:  there seem to be some ='s in the author data, which trigger >#        a failure here.  This needs to be contemplated. >#            } elsif ($arg =~ m/=/) { >#                $command = 1; >        } > >I know this is a bug/limitation to CPAN::Shell, but since Test::Harness >was working when issued by Armstrong, I thought it would be worth >mentioning it to your guys as well. > > >Work-around is cpan install ANDYA/Test-Harness-3.23.tar.gz before >anything else, and comment out row 3156-3170, kill, exit cpan, kill all >perl processes running, and start all over. > >Optionally to let Curtis 'Ovid' Poe change name to e.g. Curtis -Ovid- >Poe,  may help? (even if requesting people to change their name may be >considered crossing some private borders... sorry for that), or make >sure 3.24 is not listed when searching for test-harness i cpan. > >Anyway, thanks a lot for a great product, and keep up the good work! > >Best regards >Frode > > >
Download (untitled) / with headers
text/plain 254b
Ah, I think I've found out part of the problem. I had given Andy co- maintainership of TAP::Harness which is now bundled with Test::Harness. He added the compatibility layer and released. That was about 5 years ago. My how time flies :) Cheers, Curvid
Subject: RE: [rt.cpan.org #77632] Wrong ovid-name (incl ')
Date: Tue, 5 Jun 2012 16:03:17 +0200
To: <bug-Test-Harness [...] rt.cpan.org>
From: <Frode.Thue.Lie [...] dnvkema.com>
Download (untitled) / with headers
text/plain 4.2k
Hi Looks like 'ovid' is not the problem. When I first looked at the code, and saw this strange FIXIT message, looked up the name of the author, saw author was changed between build working and build not-working, I was quite sure. Have been looking more into the code, and it looks like 'ovid' would only be a problem if searching with a regexp, which is not the case here. So please keep your name :-) I think it is more something more like 3.24 is somehow marked as the preferred version. But not in all contexts so CPAN::Index gets confused about verison numbering. cpan install ANDYA/Test-Harness-3.23.tar.gz does actually not fix very much, still looking Frode Show quoted text
-----Original Message----- From: Ovid via RT [mailto:bug-Test-Harness@rt.cpan.org] Sent: 5. juni 2012 15:57 To: Lie, Frode T. Subject: Re: [rt.cpan.org #77632] Wrong ovid-name (incl ') <URL: https://rt.cpan.org/Ticket/Display.html?id=77632 > Hmm, I had added Andy as a co-maintainer of Test::Harness, but PAUSE reports that I have *no* permissions to the module I wrote. I'm a bit surprised about that. Did I accidentally give him maintainership rather than add him? Whoops. Andy, can you re-add me as co-maintainer and then cut a new release to help this person? Frode, can you track down how to get a fix for the "'" problem, or who might do this? I have to confess that I've had the name "Curtis 'Ovid' Poe" on the CPAN for many years and I'm not overly excited about changing my name because someone else has buggy software :) Cheers, Curtis -Ovid- Poe  -- Live and work overseas - http://www.overseas-exile.com/ Buy the book - http://www.oreilly.com/catalog/perlhks/ Tech blog - http://blogs.perl.org/users/ovid/ Twitter - http://twitter.com/OvidPerl/
>________________________________ > From: Frode T. via RT <bug-Test-Harness@rt.cpan.org> >To: >Sent: Tuesday, 5 June 2012, 14:32 >Subject: [rt.cpan.org #77632] Wrong ovid-name (incl ') > >Tue Jun 05 08:32:26 2012: Request 77632 was acted upon. >Transaction: Ticket created by ftl >      Queue: Test-Harness >    Subject: Wrong ovid-name (incl ') >  Broken in: 3.24 >    Severity: Important >      Owner: Nobody >  Requestors: ftl@dnv.com >      Status: new >Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=77632 > > > >Installing Cairo (and many other modules, e.g. GD) to Strawberry, >worked fine in May, but not in June. > >I'm not sure about this, but: >The main cause seems to be that Test-harness has changed owner. > >Even if 3.24 is marked with UNAUTHORIZED, some modules depending on >Test-harness seems to prefer the latest. 3.24 is also reported by cpan >as the prefered one. > >when checking info for 3.24 it reports
>cpan> i OVID/Test-Harness-3.24.tar.gz
>Fetching with LWP: >http://cpan.strawberryperl.com/authors/id/O/OV/OVID/CHECKSUMS >Distribution id = O/OV/OVID/Test-Harness-3.24.tar.gz >    CPAN_USERID  OVID (Curtis 'Ovid' Poe <ovid@cpan.org>) >    CPAN_VERSION 3.24 > > >The root cause seems to be >on line 3157 of CPAN::Distribution, a call is made to CPAN::Shell-
>>expand("Module","Test::Harness") (to get the version), which again
>calls CPAN::Shell->expand_by_method > >In CPAN::Shell there is a comment > ># FIXME:  there seem to be some ='s in the author data, which trigger >#        a failure here.  This needs to be contemplated. >#            } elsif ($arg =~ m/=/) { >#                $command = 1; >        } > >I know this is a bug/limitation to CPAN::Shell, but since Test::Harness >was working when issued by Armstrong, I thought it would be worth >mentioning it to your guys as well. > > >Work-around is cpan install ANDYA/Test-Harness-3.23.tar.gz before >anything else, and comment out row 3156-3170, kill, exit cpan, kill all >perl processes running, and start all over. > >Optionally to let Curtis 'Ovid' Poe change name to e.g. Curtis -Ovid- >Poe,  may help? (even if requesting people to change their name may be >considered crossing some private borders... sorry for that), or make >sure 3.24 is not listed when searching for test-harness i cpan. > >Anyway, thanks a lot for a great product, and keep up the good work! > >Best regards >Frode > > >
Download (untitled) / with headers
text/plain 261b
It looks like this is partially an indexing bug. Andy and I have co-maint on TAP::Harness and that's now included in Test::Harness, which I do not have co-maint on. I've already gotten another report of an issue caused by this. Working on it. Cheers, Curtis
Subject: RE: [rt.cpan.org #77632] Wrong ovid-name (incl ')
Date: Tue, 5 Jun 2012 17:25:27 +0200
To: <bug-Test-Harness [...] rt.cpan.org>
From: <Frode.Thue.Lie [...] dnvkema.com>
Download (untitled) / with headers
text/plain 2.1k
Not sure if any of this would be on any help, but, I'm running Strawberry Perl 5.16.0.1 32bit on Win 7, It looks to me like test-harness registers somehow wrong in cpan sqlite C:\strawberry\cpan\sources\modules 02packages.details.txt.gz Contains the following: perl -nle "print if /harness.*23/i" 02packages.details.txt App::Prove 3.23 A/AN/ANDYA/Test-Harness-3.23.tar.gz App::Prove::State 3.23 A/AN/ANDYA/Test-Harness-3.23.tar.gz .... TAP::Formatter::Base 3.23 A/AN/ANDYA/Test-Harness-3.23.tar.gz TAP::Formatter::Color 3.23 A/AN/ANDYA/Test-Harness-3.23.tar.gz Test::Harness 3.23 A/AN/ANDYA/Test-Harness-3.23.tar.gz perl -nle "print if /harness.*24/i" 02packages.details.txt TAP::Base 3.24 O/OV/OVID/Test-Harness-3.24.tar.gz TAP::Harness 3.24 O/OV/OVID/Test-Harness-3.24.tar.gz ..... When searching cpan I get Show quoted text
cpan> i /Test::Harness/
(just some low level modules) Show quoted text
cpan> i /Test-Harness/
Distribution CLAESJAC/Test-Harness-FileFilter-0.01.tar.gz Distribution MSCHWERN/Test-Harness-Straps-0.30.tar.gz Distribution OVID/Test-Harness-3.24.tar.gz 3 items found Ie the 3.24 version, and not mentioning the 3.23 version at all. The trouble seems to occur around: $CPAN::META->instance($class,$arg);# where $arg is 'Test::Harness' in CPAN::Shell, line 1360 Which returns undef But now we are getting faar beyond my perl-details of CPAN knowledge.... Good luck, and best wishes for a fine result. I'll keep looking further tomorrow. (I have to make some paid work now...) Frode Show quoted text
-----Original Message----- From: Curtis 'Ovid' Poe via RT [mailto:bug-Test-Harness@rt.cpan.org] Sent: 5. juni 2012 16:08 To: Lie, Frode T. Subject: [rt.cpan.org #77632] Wrong ovid-name (incl ') <URL: https://rt.cpan.org/Ticket/Display.html?id=77632 > It looks like this is partially an indexing bug. Andy and I have co-maint on TAP::Harness and that's now included in Test::Harness, which I do not have co-maint on. I've already gotten another report of an issue caused by this. Working on it. Cheers, Curtis
Subject: RE: [rt.cpan.org #77632] Wrong ovid-name (incl ')
Date: Tue, 5 Jun 2012 22:11:26 +0200
To: <bug-Test-Harness [...] rt.cpan.org>
From: <Frode.Thue.Lie [...] dnvkema.com>
Download (untitled) / with headers
text/plain 749b
Hi again, I see you are out with 3.25 already, trying it out now. Just saw that after uninstalling Strawberry, the following files where left behind. (not a big issue, easy to del the folder, and maybe due to my forced downgrade to 2.23, but just thought I should let you know) Files and folders left after uninstalling Strawberry completely: C:\strawberry\perl>dir /s /b C:\strawberry\perl\bin C:\strawberry\perl\lib C:\strawberry\perl\bin\prove C:\strawberry\perl\lib\auto C:\strawberry\perl\lib\Test C:\strawberry\perl\lib\auto\Test C:\strawberry\perl\lib\auto\Test\Harness C:\strawberry\perl\lib\auto\Test\Harness\.packlist C:\strawberry\perl\lib\Test\HACKING.pod Again: thanks for all the great work! Frode
Subject: Re: [rt.cpan.org #77632] Wrong ovid-name (incl ')
Date: Tue, 5 Jun 2012 14:09:40 -0700 (PDT)
To: "bug-Test-Harness [...] rt.cpan.org" <bug-Test-Harness [...] rt.cpan.org>
From: Ovid <curtis_ovid_poe [...] yahoo.com>
Download (untitled) / with headers
text/plain 1.9k
I think you might have to contact the Strawberry Perl owners about that. I don't have a Windows box. Also, it could be because of the following weird issue in Test::Harness: Test::Harness was a compatibility wrapper around TAP::Harness. However, the latter was bundled in the former, but there's still an old TAP::Harness distribution that I (theoretically) maintain. Thus, it looks like CPAN may have been confused when you tried to upgrade Test::Harness and it saw that I had permissions to modules in the TAP::Harness namespace, but not in the Test::Harness namespace. That's been fixed, but I would not be surprised if those were your actual issues. Sorry for all of the trouble for you! Cheers, Ovid  -- Live and work overseas - http://www.overseas-exile.com/ Buy the book - http://www.oreilly.com/catalog/perlhks/ Tech blog - http://blogs.perl.org/users/ovid/ Twitter - http://twitter.com/OvidPerl/ Show quoted text
>________________________________ > From: Frode.Thue.Lie via RT <bug-Test-Harness@rt.cpan.org> >To: >Sent: Tuesday, 5 June 2012, 22:11 >Subject: RE: [rt.cpan.org #77632] Wrong ovid-name (incl ') > >      Queue: Test-Harness >Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=77632 > > >Hi again, >I see you are out with 3.25 already, trying it out now. > >Just saw that after uninstalling Strawberry, the following files where left behind. >(not a big issue, easy to del the folder, and maybe due to my forced downgrade to 2.23, but just thought I should let you know) > >Files and folders left after uninstalling Strawberry completely: > >C:\strawberry\perl>dir /s /b >C:\strawberry\perl\bin >C:\strawberry\perl\lib >C:\strawberry\perl\bin\prove >C:\strawberry\perl\lib\auto >C:\strawberry\perl\lib\Test >C:\strawberry\perl\lib\auto\Test >C:\strawberry\perl\lib\auto\Test\Harness >C:\strawberry\perl\lib\auto\Test\Harness\.packlist >C:\strawberry\perl\lib\Test\HACKING.pod > > >Again: thanks for all the great work! > >Frode > > > > > > >
Subject: RE: [rt.cpan.org #77632] Wrong ovid-name (incl ')
Date: Thu, 7 Jun 2012 10:44:43 +0200
To: <bug-Test-Harness [...] rt.cpan.org>
From: <Frode.Thue.Lie [...] dnvkema.com>
Download (untitled) / with headers
text/plain 2.7k
Hi again, Just to revert back, Looks like all is working as in the good old days! Chart::Clicker, gd and odbc are building great! Thanks a lot for a very quick response, and great help. Sorry for misleadingly indicating your name was wrong.... The best part is that I now have a much better understanding of Test::Harness, and can probably scrap a whole bunch of similar homemade buggy code. Thanks again for the great effort! Frode Show quoted text
-----Original Message----- From: Ovid via RT [mailto:bug-Test-Harness@rt.cpan.org] Sent: 5. juni 2012 23:10 To: Lie, Frode T. Subject: Re: [rt.cpan.org #77632] Wrong ovid-name (incl ') <URL: https://rt.cpan.org/Ticket/Display.html?id=77632 > I think you might have to contact the Strawberry Perl owners about that. I don't have a Windows box. Also, it could be because of the following weird issue in Test::Harness: Test::Harness was a compatibility wrapper around TAP::Harness. However, the latter was bundled in the former, but there's still an old TAP::Harness distribution that I (theoretically) maintain. Thus, it looks like CPAN may have been confused when you tried to upgrade Test::Harness and it saw that I had permissions to modules in the TAP::Harness namespace, but not in the Test::Harness namespace. That's been fixed, but I would not be surprised if those were your actual issues. Sorry for all of the trouble for you! Cheers, Ovid  -- Live and work overseas - http://www.overseas-exile.com/ Buy the book - http://www.oreilly.com/catalog/perlhks/ Tech blog - http://blogs.perl.org/users/ovid/ Twitter - http://twitter.com/OvidPerl/
>________________________________ > From: Frode.Thue.Lie via RT <bug-Test-Harness@rt.cpan.org> >To: >Sent: Tuesday, 5 June 2012, 22:11 >Subject: RE: [rt.cpan.org #77632] Wrong ovid-name (incl ') > >      Queue: Test-Harness >Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=77632 > > >Hi again, >I see you are out with 3.25 already, trying it out now. > >Just saw that after uninstalling Strawberry, the following files where left behind. >(not a big issue, easy to del the folder, and maybe due to my forced downgrade to 2.23, but just thought I should let you know) > >Files and folders left after uninstalling Strawberry completely: > >C:\strawberry\perl>dir /s /b >C:\strawberry\perl\bin >C:\strawberry\perl\lib >C:\strawberry\perl\bin\prove >C:\strawberry\perl\lib\auto >C:\strawberry\perl\lib\Test >C:\strawberry\perl\lib\auto\Test >C:\strawberry\perl\lib\auto\Test\Harness >C:\strawberry\perl\lib\auto\Test\Harness\.packlist >C:\strawberry\perl\lib\Test\HACKING.pod > > >Again: thanks for all the great work! > >Frode > > > > > > >


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.