Skip Menu |

This queue is for tickets about the CPANPLUS CPAN distribution.

Report information
The Basics
Id: 20799
Status: resolved
Priority: 0/
Queue: CPANPLUS

People
Owner: Nobody in particular
Requestors: MTHURN [...] cpan.org
Cc:
AdminCc:

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



Subject: Fetch resports errors but files are actually being downloaded
Fetch spews errors but files are actually being downloaded correctly. This is ActivePerl build 817 on Windows XP Home. Maybe the false errors have to do with the direction of the slashes??? CPAN Terminal> x [MSG] Checking if source files are up to date [MSG] Updating source file '01mailrc.txt.gz' [MSG] Trying to get 'ftp://cpan.pair.com/pub/CPAN/authors/01mailrc.txt.gz' Fetch failed! HTTP response: 404 Not Found [404 Can't chdir to pub] at C:/perl/site/lib/CPANPLUS/Internals/Source.pm line 307 Could not fetch '\pub\CPAN\authors\01mailrc.txt.gz' from 'cpan.pair.com' at C:/perl/site/lib/CPANPLUS/Internals/Source.pm line 307 [MSG] Updating source file '03modlist.data.gz' [MSG] Trying to get 'ftp://cpan.pair.com/pub/CPAN/modules/03modlist.data.gz' Fetch failed! HTTP response: 404 Not Found [404 Can't chdir to pub] at C:/perl/site/lib/CPANPLUS/Internals/Source.pm line 307 Could not fetch '\pub\CPAN\modules\03modlist.data.gz' from 'cpan.pair.com' at C:/perl/site/lib/CPANPLUS/Internals/Source.pm line 307 [MSG] Updating source file '02packages.details.txt.gz' [MSG] Trying to get 'ftp://cpan.pair.com/pub/CPAN/modules/02packages.details.txt.gz' Fetch failed! HTTP response: 404 Not Found [404 Can't chdir to pub] at C:/perl/site/lib/CPANPLUS/Internals/Source.pm line 307 Could not fetch '\pub\CPAN\modules\02packages.details.txt.gz' from 'cpan.pair.com' at C:/perl/site/lib/CPANPLUS/Internals/Source.pm line 307 [MSG] Rebuilding author tree, this might take a while [MSG] Rebuilding module tree, this might take a while [MSG] Writing compiled source information to disk. This might take a little while. -- - - Martin 'Kingpin' Thurn
On Tue Aug 01 18:29:25 2006, MTHURN wrote: Show quoted text
> Fetch spews errors but files are actually being downloaded correctly. > This is ActivePerl build 817 on Windows XP Home. Maybe the false > errors have to do with the direction of the slashes???
Indeed it does... and i even fixed it already... except, the release isn't on CPAN... may have been one of those 'need more coffee moments'. Anyway, if you upgrade to File::Fetch 0.08, this problem should be gone. Below is the change list: Changes for 0.08 Wed Jul 5 13:56:36 CEST 2006 ================================================ * address: #18942: unproper handling of http errors in external handlers: * the wget handler, on a failed attempt, now unlinks its outputfile * the curl handler is updated to follow '302 moved' and such like status messages * lynx use is further discouraged, as it doesn't communicate http status messages back to the caller at all. * address #11483: File::Fetch 0.07 cannot do an FTP fetch on Win32. FTP fetching using Net::FTP should now work properly on win32. * update test suite so it runs safely under PERL_CORE