Skip to content

"failed to delete scroller" error #1

@pjcj

Description

@pjcj

With a newly installed perl5.24.1 (and also with newly installed 5.22.3), and trying to run the example code from the docs:

#!/usr/bin/env perl

use 5.18.2;
use warnings;

use CPAN::Releases::Latest;

# my $latest   = CPAN::Releases::Latest->new(max_age => '1 day');
my $latest   = CPAN::Releases::Latest->new(max_age => 0);
my $iterator = $latest->release_iterator();

while (my $release = $iterator->next_release) {
    printf "%s path=%s  time=%d  size=%d\n",
       $release->distname,
       $release->path,
       $release->timestamp,
       $release->size;
}

I get the following message: failed to delete scroller at /usr/local/lib/perl5/site_perl/5.24.1/MetaCPAN/Client/Scroll.pm line 163.

I also get no output.

I see the same behaviour using the commented line (max_age => '1 day') instead, but sometimes I do not get the scroller message in this case. However, I never see the expected output.

I wonder whether it might be related to metacpan/MetaCPAN-Client#70 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions