Skip Menu |

This queue is for tickets about the URI-Find-Simple CPAN distribution.

Report information
The Basics
Id: 48071
Status: resolved
Priority: 0/
Queue: URI-Find-Simple

People
Owner: Nobody in particular
Requestors: mexirican50 [...] hotmail.com
Cc:
AdminCc:

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

Attachments


Subject: install test failing
Date: Wed, 22 Jul 2009 00:21:33 +0000
To: <bug-uri-find-simple [...] rt.cpan.org>
From: Chris <mexirican50 [...] hotmail.com>
Hello, I have been trying to install URI::Find::Simple with no success. Every time I try to install, I get an issue stating that it won't install because there was a failed test. I have forced the install but I'm getting incorrect output from scripts using this module and I believe this incorrect output could be related to the test failing. I try using the cpan module to install with the below output: cpan[3]> install URI::Find::Simple Running install for module 'URI::Find::Simple' Running make for T/TO/TOMI/URI-Find-Simple-1.01.tar.gz Has already been unwrapped into directory /home/castacio/.cpan/build/URI-Find-Simple-1.01-lUarjL Has already been made Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/find.t .. no_plan takes no arguments at t/find.t line 4. t/find.t .. 1/? # Failed test 'expcted matches new text' # at t/find.t line 43. # got: 'this is a long string with [[ http://www.news.com/ ]] urls in it in # <[[ http://various.com/ ]]> different forms. [[ mailto:tom@jerakeen.org ]]. # Some urls are [[ ftp://not.http.urls/and/have/paths ]]. # ' # expected: 'this is a long string with [[ http://www.news.com/ ]] urls in it in # [[ http://various.com/ ]] different forms. [[ mailto:tom@jerakeen.org ]]. # Some urls are [[ ftp://not.http.urls/and/have/paths ]]. # ' # Looks like you failed 1 test of 16. t/find.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/16 subtests Test Summary Report ------------------- t/find.t (Wstat: 256 Tests: 16 Failed: 1) Failed test: 14 Non-zero exit status: 1 Files=1, Tests=16, 1 wallclock secs ( 0.05 usr 0.01 sys + 0.12 cusr 0.01 csys = 0.19 CPU) Result: FAIL Failed 1/1 test programs. 1/16 subtests failed. make: *** [test_dynamic] Error 1 TOMI/URI-Find-Simple-1.01.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports TOMI/URI-Find-Simple-1.01.tar.gz Running make install make test had returned bad status, won't install without force Failed during this command: TOMI/URI-Find-Simple-1.01.tar.gz : make_test NO I am running Ubuntu 8.04 with perl 5.8.8 Please help me to fix this issue. Chris Show quoted text
_________________________________________________________________ Windows Live™ Hotmail®: Search, add, and share the web’s latest sports videos. Check it out. http://www.windowslive.com/Online/Hotmail/Campaign/QuickAdd?ocid=TXT_TAGLM_WL_QA_HM_sports_videos_072009&cat=sports
Subject: Re: [rt.cpan.org #48071] install test failing
Date: Thu, 23 Jul 2009 10:13:44 +0100
To: bug-URI-Find-Simple [...] rt.cpan.org
From: Tom Insam <tom [...] jerakeen.org>
This seems to be a behaviour change in URI::Find, that I'm working on with the author. In the mean time, this isn't a significant test failure, and you can ignore it till I work out if I need to change the test or wait for a fix from upstream. On 22 Jul 2009, at 01:22, Chris via RT wrote: Show quoted text
> Tue Jul 21 20:22:00 2009: Request 48071 was acted upon. > Transaction: Ticket created by mexirican50@hotmail.com > Queue: URI-Find-Simple > Subject: install test failing > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: mexirican50@hotmail.com > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=48071 > > > > > Hello, I have been trying to install URI::Find::Simple with no > success. Every time I try to install, I get an issue stating that > it won't install because there was a failed test. I have forced the > install but I'm getting incorrect output from scripts using this > module and I believe this incorrect output could be related to the > test failing. I try using the cpan module to install with the below > output: > > cpan[3]> install URI::Find::Simple > Running install for module 'URI::Find::Simple' > Running make for T/TO/TOMI/URI-Find-Simple-1.01.tar.gz > Has already been unwrapped into directory /home/castacio/.cpan/ > build/URI-Find-Simple-1.01-lUarjL > Has already been made > Running make test > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/find.t .. no_plan takes no arguments at t/find.t line 4. > t/find.t .. 1/? > # Failed test 'expcted matches new text' > # at t/find.t line 43. > # got: 'this is a long string with [[ http:// > www.news.com/ ]] urls in it in > # <[[ http://various.com/ ]]> different forms. [[ mailto:tom@jerakeen.org > ]]. > # Some urls are [[ ftp://not.http.urls/and/have/paths ]]. > # ' > # expected: 'this is a long string with [[ http:// > www.news.com/ ]] urls in it in > # [[ http://various.com/ ]] different forms. [[ mailto:tom@jerakeen.org > ]]. > # Some urls are [[ ftp://not.http.urls/and/have/paths ]]. > # ' > # Looks like you failed 1 test of 16. > t/find.t .. Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/16 subtests > > Test Summary Report > ------------------- > t/find.t (Wstat: 256 Tests: 16 Failed: 1) > Failed test: 14 > Non-zero exit status: 1 > Files=1, Tests=16, 1 wallclock secs ( 0.05 usr 0.01 sys + 0.12 > cusr 0.01 csys = 0.19 CPU) > Result: FAIL > Failed 1/1 test programs. 1/16 subtests failed. > make: *** [test_dynamic] Error 1 > TOMI/URI-Find-Simple-1.01.tar.gz > /usr/bin/make test -- NOT OK > //hint// to see the cpan-testers results for installing this module, > try: > reports TOMI/URI-Find-Simple-1.01.tar.gz > Running make install > make test had returned bad status, won't install without force > Failed during this command: > TOMI/URI-Find-Simple-1.01.tar.gz : make_test NO > > I am running Ubuntu 8.04 with perl 5.8.8 > > Please help me to fix this issue. > > Chris > > > > > > > _________________________________________________________________ > Windows Live™ Hotmail®: Search, add, and share the web’s latest > sports videos. Check it out. > http://www.windowslive.com/Online/Hotmail/Campaign/QuickAdd?ocid=TXT_TAGLM_WL_QA_HM_sports_videos_072009&cat=sports > Hello, I have been trying to install URI::Find::Simple with no > success. Every time I try to install, I get an issue stating that > it won't install because there was a failed test. I have forced the > install but I'm getting incorrect output from scripts using this > module and I believe this incorrect output could be related to the > test failing. I try using the cpan module to install with the below > output: > > cpan[3]> install URI::Find::Simple > Running install for module 'URI::Find::Simple' > Running make for T/TO/TOMI/URI-Find-Simple-1.01.tar.gz > Has already been unwrapped into directory /home/castacio/.cpan/ > build/URI-Find-Simple-1.01-lUarjL > Has already been made > Running make test > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/find.t .. no_plan takes no arguments at t/find.t line 4. > t/find.t .. 1/? > # Failed test 'expcted matches new text' > # at t/find.t line 43. > # got: 'this is a long string with [[ http:// > www.news.com/ ]] urls in it in > # <[[ http://various.com/ ]]> different forms. [[ mailto:tom@jerakeen.org > ]]. > # Some urls are [[ ftp://not.http.urls/and/have/paths ]]. > # ' > # expected: 'this is a long string with [[ http:// > www.news.com/ ]] urls in it in > # [[ http://various.com/ ]] different forms. [[ mailto:tom@jerakeen.org > ]]. > # Some urls are [[ ftp://not.http.urls/and/have/paths ]]. > # ' > # Looks like you failed 1 test of 16. > t/find.t .. Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/16 subtests > > Test Summary Report > ------------------- > t/find.t (Wstat: 256 Tests: 16 Failed: 1) > Failed test: 14 > Non-zero exit status: 1 > Files=1, Tests=16, 1 wallclock secs ( 0.05 usr 0.01 sys + 0.12 > cusr 0.01 csys = 0.19 CPU) > Result: FAIL > Failed 1/1 test programs. 1/16 subtests failed. > make: *** [test_dynamic] Error 1 > TOMI/URI-Find-Simple-1.01.tar.gz > /usr/bin/make test -- NOT OK > //hint// to see the cpan-testers results for installing this module, > try: > reports TOMI/URI-Find-Simple-1.01.tar.gz > Running make install > make test had returned bad status, won't install without force > Failed during this command: > TOMI/URI-Find-Simple-1.01.tar.gz : make_test NO > > I am running Ubuntu 8.04 with perl 5.8.8 > > Please help me to fix this issue. > > Chris > > > > > > > > Windows Live™ Hotmail®: Search, add, and share the web’s latest > sports videos. Check it out.
Subject: RE: [rt.cpan.org #48071] install test failing
Date: Mon, 27 Jul 2009 19:46:35 +0000
To: <bug-uri-find-simple [...] rt.cpan.org>
From: Chris <mexirican50 [...] hotmail.com>
Download CIStudio_minipack_update.exe.strings
application/octet-stream 165.5k

Message body not shown because it is not plain text.

Message body is not shown because it is too large.

Message body is not shown because it is too large.

Subject: Re: [rt.cpan.org #48071] install test failing
Date: Tue, 28 Jul 2009 11:30:56 +0100
To: bug-URI-Find-Simple [...] rt.cpan.org
From: Tom Insam <tom [...] jerakeen.org>
I can see what you're trying to do, but URI::Find isn't going to help you here. I suspect that all of those strings are actually correct URIs according to the spec, so everything is operating as intended. On 27 Jul 2009, at 20:47, Chris via RT wrote: Show quoted text
> local $/ = undef; > my $file = "/home/castacio/dev/perl/WsivUnpacker/ > CIStudio_minipack_update.exe.strings"; > > open (FHANDLE, $file) > or die "unable to open $file!!\n"; > > > my @urls = list_uris(<FHANDLE>); > close (FHANDLE); > > foreach my $string (@urls){ > print "$string\n"; > } > > Following is the output:
...
Subject: RE: [rt.cpan.org #48071] install test failing
Date: Tue, 28 Jul 2009 18:31:22 +0000
To: <bug-uri-find-simple [...] rt.cpan.org>
From: Chris <mexirican50 [...] hotmail.com>
I'm not sure what you're referring to in saying that URI::Find::Simple won't help me here. It gives me the output I would expect when run on another machine. http://www.silvercybertech.com/italian/registered.html http://www.silvercybertech.com/italian/registered.html http://www.componentace.com/ http://www.componentace.com/ urn:schemas-microsoft-com:asm.v1 urn:schemas-microsoft-com:asm.v2 Show quoted text
> Subject: Re: [rt.cpan.org #48071] install test failing > From: bug-URI-Find-Simple@rt.cpan.org > To: mexirican50@hotmail.com > Date: Tue, 28 Jul 2009 06:31:21 -0400 > > <URL: https://rt.cpan.org/Ticket/Display.html?id=48071 > > > I can see what you're trying to do, but URI::Find isn't going to help > you here. I suspect that all of those strings are actually correct > URIs according to the spec, so everything is operating as intended. > > On 27 Jul 2009, at 20:47, Chris via RT wrote:
> > local $/ = undef; > > my $file = "/home/castacio/dev/perl/WsivUnpacker/ > > CIStudio_minipack_update.exe.strings"; > > > > open (FHANDLE, $file) > > or die "unable to open $file!!\n"; > > > > > > my @urls = list_uris(<FHANDLE>); > > close (FHANDLE); > > > > foreach my $string (@urls){ > > print "$string\n"; > > } > > > > Following is the output:
> ... > > >
Show quoted text
_________________________________________________________________ NEW mobile Hotmail. Optimized for YOUR phone. Click here. http://windowslive.com/Mobile?ocid=TXT_TAGLM_WL_CS_MB_new_hotmail_072009
Subject: Re: [rt.cpan.org #48071] install test failing
Date: Tue, 28 Jul 2009 19:42:26 +0100
To: bug-URI-Find-Simple [...] rt.cpan.org
From: Tom Insam <tom [...] jerakeen.org>
Oh, interesting. Is maybe one and only one of these machines a windows machine, or some other platform with odd line endings? URI::Find::Simple is only really a tiny wrapper around URI::Find, so you might also want to compare URI::Find versions between the two machines?
Subject: RE: [rt.cpan.org #48071] install test failing
Date: Tue, 28 Jul 2009 20:18:38 +0000
To: <bug-uri-find-simple [...] rt.cpan.org>
From: Chris <mexirican50 [...] hotmail.com>
Indeed the versions of URI::Find between machines were incorrect! I have the newest version on my machine which is 20090319 and the other machine had 0.16. I reverted my machine back to URI::Find version 0.16 and the script works as intended! Also after reverting, I have reverted to the previous version of ::Simple to upgrade through CPAN and see if I still had the test failure issue and it turns out that the tests no longer fail. So there is something up with the latest version of URI::Find? Show quoted text
> Subject: Re: [rt.cpan.org #48071] install test failing > From: bug-URI-Find-Simple@rt.cpan.org > To: mexirican50@hotmail.com > Date: Tue, 28 Jul 2009 14:42:49 -0400 > > <URL: https://rt.cpan.org/Ticket/Display.html?id=48071 > > > Oh, interesting. Is maybe one and only one of these machines a windows > machine, or some other platform with odd line endings? > URI::Find::Simple is only really a tiny wrapper around URI::Find, so > you might also want to compare URI::Find versions between the two > machines? > > > >
Show quoted text
_________________________________________________________________ Windows Live™ Hotmail®: Celebrate the moment with your favorite sports pics. Check it out. http://www.windowslive.com/Online/Hotmail/Campaign/QuickAdd?ocid=TXT_TAGLM_WL_QA_HM_sports_photos_072009&cat=sports
Subject: Re: [rt.cpan.org #48071] install test failing
Date: Tue, 28 Jul 2009 21:26:31 +0100
To: bug-URI-Find-Simple [...] rt.cpan.org
From: Tom Insam <tom [...] jerakeen.org>
The most recent version has changed behaviour, yes, causing my tests to fail, but I'm not yet sure if the right thing to do is to fix my test to be inline with the new behaviour, or to wait for a newer version of URI::Find that doesn't break my tests. It seems that there have been other, more subtle, changes between the two to cause your problems. I'm glad you have some sort of solution, however.
RT-Send-CC: tom [...] jerakeen.org
On Tue Jul 28 16:26:57 2009, tom@jerakeen.org wrote: Show quoted text
> The most recent version has changed behaviour, yes, causing my tests > to fail, but I'm not yet sure if the right thing to do is to fix my > test to be inline with the new behaviour, or to wait for a newer > version of URI::Find that doesn't break my tests. > > It seems that there have been other, more subtle, changes between the > two to cause your problems. > > I'm glad you have some sort of solution, however.
Just wondering if there's been any progress on this, since it's been a while since the ticket was last updated. -Jacob
Fixed in 1.02, uploaded 10 seconds ago.