Skip Menu |

This queue is for tickets about the CPANPLUS CPAN distribution.

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

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

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



Subject: invalid value for 'checksum_value'
I just installed 0.060 but I can't install any modules with it. This is on WinXP with ActivePerl 5.8.7 build 815. Trying to install ANY module gives the following error: CPAN Terminal> i 25 Installing Params::Check 'C:\SOURCE\PERL\.cpanplus\authors\id\K\KA\KANE\Params-Check- 0.24.tar.gz' is an invalid value for 'fetch' at C:/perl/site/lib/CPANPLUS/Module.pm line 441 [MSG] Trying to get 'http://cpan.pair.com/authors/id/K/KA/KANE/CHECKSUMS' '3d135f26327b78adc9deb56252ce2381' is an invalid value for 'checksum_value' at C:/perl/site/lib/CPANPLUS/Shell/Default.pm line 812 [ERROR] Checksum error for 'Params-Check-0.24.tar.gz' -- will not trust package -- - - Martin 'Kingpin' Thurn
Subject: can't use string as array ref
I just installed 0.060 on WinXP with ActivePerl 5.8.7 build 815. I can not install any modules, some give errors like this: CPAN Terminal> i IO Installing IO [ERROR] Can't use string ("C:\SOURCE\PERL\.cpanplus\authors") as an ARRAY ref while "strict refs" in use at /loader/0x186fc6c/Object/Accessor.pm line 396. -- - - Martin 'Kingpin' Thurn
Subject: Re: [rt.cpan.org #18121] invalid value for 'checksum_value'
Date: Sat, 11 Mar 2006 15:44:22 +0100
To: bug-CPANPLUS [...] rt.cpan.org
From: "Jos I. Boumans" <kane [...] xs4all.net>
On Mar 11, 2006, at 3:39 PM, Martin Thurn via RT wrote: Show quoted text
> > Sat Mar 11 09:39:42 2006: Request 18121 was acted upon. > Transaction: Ticket created by MTHURN > Queue: CPANPLUS > Subject: invalid value for 'checksum_value' > Owner: Nobody > Requestors: MTHURN@cpan.org > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=18121 > > > > I just installed 0.060 but I can't install any modules with it. This > is on WinXP with ActivePerl 5.8.7 build 815. Trying to install ANY > module gives the following error: > > CPAN Terminal> i 25 > > Installing Params::Check > 'C:\SOURCE\PERL\.cpanplus\authors\id\K\KA\KANE\Params-Check- > 0.24.tar.gz' is an invalid value for 'fetch' at > C:/perl/site/lib/CPANPLUS/Module.pm line 441 > [MSG] Trying to > get 'http://cpan.pair.com/authors/id/K/KA/KANE/CHECKSUMS' > '3d135f26327b78adc9deb56252ce2381' is an invalid value > for 'checksum_value' at C:/perl/site/lib/CPANPLUS/Shell/Default.pm > line 812 > [ERROR] Checksum error for 'Params-Check-0.24.tar.gz' -- will not > trust package
Thanks for the report.. i've been trying to track this down for a while; it's due to the fact that your mirror has some broken/conflicting checksums. If you switch your mirror to another one than pair, it *should* work... in the meantime, i now have an http url with a checksums file that causes problems, so i'll go see if i can improve the diagnostics on this error; they're quite bad right now ;) -- Jos Boumans "If superman is so smart, why does he wear underpants over his trousers?" CPANPLUS http://cpanplus.sf.net
Subject: Re: [rt.cpan.org #18122] can't use string as array ref
Date: Sat, 11 Mar 2006 15:45:48 +0100
To: bug-CPANPLUS [...] rt.cpan.org
From: "Jos I. Boumans" <kane [...] xs4all.net>
On Mar 11, 2006, at 3:42 PM, Martin Thurn via RT wrote: Show quoted text
> I just installed 0.060 on WinXP with ActivePerl 5.8.7 build 815. I > can not install any modules, some give errors like this: > > CPAN Terminal> i IO > Installing IO > [ERROR] Can't use string ("C:\SOURCE\PERL\.cpanplus\authors") as an > ARRAY ref while "strict refs" in use > at /loader/0x186fc6c/Object/Accessor.pm line 396.
Are you using the most recent version of Object::Accessor and have you tried cleaning out your source files? ('x' in teh default shell). If so, and the problem persists, you've found a real bug.. in that case, please send me the output with --verbose enabled, so i may track it down. cheers, -- Jos Boumans "Never ask a man what computer he uses. If it's a Mac, he'll tell you. If it's not, why embarrass him?" - Tom Clancy CPANPLUS http://cpanplus.sf.net
Actually, this problem also went away after I did `x -- update_source`. Maybe CPANPLUS should auto-delete the old "compiled source information" when installing itself?
On Sat Mar 11 09:52:36 2006, MTHURN wrote: Show quoted text
> Actually, this problem also went away after I did `x -- > update_source`. Maybe CPANPLUS should auto-delete the old "compiled > source information" when installing itself?
I've added that to the makefile.pl so that it now does: my $stored = $cb->__storable_file( $ConfigObj->get_conf('base') ); 1 while unlink $stored; that should fix the issues you've been encountering... thanks for reporting -- Jos