Subject: | could not create filehandle |
Hello Andreas,
I just upgraded CPAN.pm from v1.7602 to v1.9205 and a number of
additional modules were also installed during the upgrade. But now using
v1.9205 I am running into a filehandle problem. When I try for example:
"cpan[3]> install BIRNEY/bioperl-1.4.tar.gz"
it doesn't work because "y/authors/id//B/BI/" is appended before the
name of the distribution. Therefore I get:
"Could not create filehandle for "y/authors/id/B/BI/BIRNEY/"
So gzopen cannot find the file and the installation fails. I got similar
behavior with other modules, e.g.: "cpan[1]> install Statistics::Lite".
Using the traditional method (without CPAN.pm) these modules install
without a problem. They also install perfectly with CPAN.pm v1.7602.
Does the problem look trivial to you? What would you suggest? Should I
switch back to an earlier CPAN version and if yes how can I do it?
best regards
Attila
Subject: | CPAN_filehandle_error.txt |
cpan[3]> install BIRNEY/bioperl-1.4.tar.gz
Running make for B/BI/BIRNEY/bioperl-1.4.tar.gz
CPAN: LWP::UserAgent loaded ok (v2.033)
CPAN: Time::HiRes loaded ok (v1.86)
Fetching with LWP:
/authors/id/B/BI/BIRNEY/bioperl-1.4.tar.gz
LWP failed with code[400] message[URL must be absolute]
Fetching with LWP:
ftp://bc1.hpc.lsu.edu/pub/mirrors/CPAN/authors/id/B/BI/BIRNEY/bioperl-1.4.tar.gz
LWP failed with code[404] message[Can't chdir to mirrors]
Fetching with Net::FTP:
ftp://bc1.hpc.lsu.edu/pub/mirrors/CPAN/authors/id/B/BI/BIRNEY/bioperl-1.4.tar.gz
Couldn't cwd pub/mirrors/CPAN/authors/id/B/BI/BIRNEY: pub/mirrors/CPAN/authors/id/B/BI/BIRNEY: No such file or directory.
Fetching with Net::FTP
ftp://bc1.hpc.lsu.edu/pub/mirrors/CPAN/authors/id/B/BI/BIRNEY/bioperl-1.4.tar.gz.gz
Couldn't cwd pub/mirrors/CPAN/authors/id/B/BI/BIRNEY: pub/mirrors/CPAN/authors/id/B/BI/BIRNEY: No such file or directory.
Fetching with LWP:
ftp://carroll.cac.psu.edu/pub/CPAN/authors/id/B/BI/BIRNEY/bioperl-1.4.tar.gz
CPAN: YAML loaded ok (v0.66)
CPAN: Digest::SHA loaded ok (v5.47)
Fetching with LWP:
ftp://carroll.cac.psu.edu/pub/CPAN/authors/id/B/BI/BIRNEY/CHECKSUMS
CPAN: Compress::Zlib loaded ok (v2.011)
Checksum for y/authors/id/B/BI/BIRNEY/bioperl-1.4.tar.gz ok
Scanning cache y for sizes
............................................................................DONE
DEL(1/1): y/tmp-28949
Cannot gzopen y/authors/id/B/BI/BIRNEY/bioperl-1.4.tar.gz: input file 'y/authors/id/B/BI/BIRNEY/bioperl-1.4.tar.gz' does not exist
CPAN: Archive::Tar loaded ok (v1.38)
Could not create filehandle for 'y/authors/id/B/BI/BIRNEY/bioperl-1.4.tar.gz': No such file or directory! at /System/Library/Perl/5.8.8/CPAN/Tarzip.pm line 268
No data could be read from file at /System/Library/Perl/5.8.8/CPAN/Tarzip.pm line 268
Catching error: 'Can\'t call method "list_files" on an undefined value at /System/Library/Perl/5.8.8/CPAN/Tarzip.pm line 288.
' at /System/Library/Perl/5.8.8/CPAN.pm line 281
CPAN::shell() called at /usr/bin/cpan line 198