Skip Menu |

This queue is for tickets about the CPAN CPAN distribution.

Report information
The Basics
Id: 50312
Status: open
Priority: 0/
Queue: CPAN

People
Owner: Nobody in particular
Requestors: dekimsey [...] gmail.com
Cc:
AdminCc:

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



Subject: CPAN clucks when unable to find a file in a mirror
When installing a distribution, if CPAN is unable to find the files in a given mirror it will generate a cluck output of the error. This is massive overkill. Previously, a simple error message stating it was unable to find the given file on said mirror. CPAN would then continue on to check other mirrors. This debugging output is being generated for every remote file request to the mirror. This has become an issue for us at $work as we are using CPAN::Mini to maintain our internal packages. Any attempts at building now generate massive error output with little reason. Attached I have included a sample of what the current behavior looks like.
Subject: cpan-carp.log
Download cpan-carp.log
application/octet-stream 11.1k

Message body not shown because it is not plain text.

From: dekimsey [...] gmail.com
On a side note, the 5s forced sleep when the aforementioned 404 error occurs could be considered unnecessary as it is really only an issue if none of the mirrors function correctly.
Thanks, th cluck has been fixed in the repository in commit dfa3519, the sleep now also removed in commit f2f3971.
Subject: Re: [rt.cpan.org #50312] CPAN clucks when unable to find a file in a mirror
Date: Wed, 7 Oct 2009 21:40:52 -0400
To: bug-CPAN [...] rt.cpan.org
From: David Golden <dagolden [...] cpan.org>
On Wed, Oct 7, 2009 at 7:15 PM, http://dekimsey.myopenid.com/ via RT > When installing a distribution, if CPAN is unable to find the files in Show quoted text
> a given mirror it will generate a cluck output of the error. This is > massive overkill. Previously, a simple error message stating it was > unable to find the given file on said mirror. CPAN would then continue > on to check other mirrors.
This is a known issue and has already been patched in the CPAN.pm source repository. Regards, David
On Wed Oct 07 21:41:30 2009, DAGOLDEN wrote: Show quoted text
> This is a known issue and has already been patched in the CPAN.pm > source repository.
Awesome, many thanks.
Le 2009-10-07 23:17:52, http://dekimsey.myopenid.com/ a écrit : Show quoted text
> On Wed Oct 07 21:41:30 2009, DAGOLDEN wrote:
> > This is a known issue and has already been patched in the CPAN.pm > > source repository.
The problem is that almost nobody uses this fix as no public CPAN.pm release occured for nearly 2 years. -- Olivier Mengué - http://search.cpan.org/~dolmen/ http://github.com/dolmen/
On Tue Feb 22 12:19:15 2011, DOLMEN wrote: Show quoted text
> Le 2009-10-07 23:17:52, http://dekimsey.myopenid.com/ a écrit :
> > On Wed Oct 07 21:41:30 2009, DAGOLDEN wrote:
> > > This is a known issue and has already been patched in the CPAN.pm > > > source repository.
> > The problem is that almost nobody uses this fix as no public CPAN.pm > release occured for nearly 2 years.
We expect to have a stable release in the next few weeks before Perl 5.14 is finalized.