Skip Menu |

This queue is for tickets about the CPANPLUS CPAN distribution.

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

People
Owner: Nobody in particular
Requestors:
Cc:
AdminCc:

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



Subject: CPANPLUS not refetching missing cached items
0 ~$ cpanp CPANPLUS::Shell::Default -- CPAN exploration and modules installation (v0.053) *** Please report bugs to <cpanplus-bugs@lists.sourceforge.net>. *** Using CPANPLUS::Backend v0.053. ReadLine support enabled. CPAN Terminal> install Test::Legacy [MSG] Checking if source files are up to date [MSG] Retrieving /var/local/cpanplus/sourcefiles.2.13.stored Installing Test::Legacy [ERROR] File '/Users/schwern/tmp/Foo-Bar/inc/BUNDLES/Test-Legacy-1.2501.tar.gz' has zero size: cannot extract Error installing 'Test::Legacy' Problem installing one or more modules CPAN Terminal> This is the result of a failed Module::Install bundle attempt. CPANPLUS now thinks Test-Legacy has been downloaded into ~/tmp/Foo-Bar/inc/BUNDLES/ which has long since been deleted. CPANPLUS now cannot install Test::Legacy until I go in and delete sourcefiles.stored. Caches have a habit of being deleted. Upon not being able to find cached data, CPANPLUS should simply refetch rather than throw an error.
From: "Jos I. Boumans" <kane [...] dwim.org>
Subject: Re: [cpan #11869] CPANPLUS not refetching missing cached items
Date: Mon, 14 Mar 2005 20:06:15 +0100
To: bug-CPANPLUS [...] rt.cpan.org
RT-Send-Cc:
On Mar 14, 2005, at 7:32 PM, Michael_G_Schwern via RT wrote: Show quoted text
> This is the result of a failed Module::Install bundle attempt. > CPANPLUS now thinks Test-Legacy has been downloaded into > ~/tmp/Foo-Bar/inc/BUNDLES/ which has long since been deleted. > CPANPLUS now cannot install Test::Legacy until I go in and delete > sourcefiles.stored.
try 'x' from the command line Show quoted text
> Caches have a habit of being deleted. > > Upon not being able to find cached data, CPANPLUS should simply > refetch rather than throw an error.
This is there to prevent loops and detect other things that have gone horribly wrong... if your cache is out of date, re-initializing the cache is the way to go, not ignoring it. -- Jos Boumans "Time is nature's way of making sure all the sh*t doesn't happen at once" CPANPLUS http://cpanplus.sf.net