Skip Menu |

This queue is for tickets about the App-cpanminus-reporter CPAN distribution.

Report information
The Basics
Id: 98781
Status: resolved
Priority: 0/
Queue: App-cpanminus-reporter

People
Owner: Nobody in particular
Requestors: gabor [...] szabgab.com
Cc:
AdminCc:

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



Subject: Parsing error. after cpanm --installdeps . failed
Date: Thu, 11 Sep 2014 13:07:40 +0300
To: bug-App-cpanminus-reporter [...] rt.cpan.org
From: Gabor Szabo <gabor [...] szabgab.com>
$ cpanm --installdeps . --> Working on . Configuring /Users/gabor/work/Perl-Maven ... OK ==> Found dependencies: Geo::IP --> Working on Geo::IP Fetching http://www.cpan.org/authors/id/B/BO/BORISZ/Geo-IP-1.43.tar.gz ... OK Configuring Geo-IP-1.43 ... OK Building and testing Geo-IP-1.43 ... FAIL ! Installing Geo::IP failed. See /Users/gabor/.cpanm/work/1410429912.32408/build.log for details. Retry with --force to force install it. ! Installing the dependencies failed: Module 'Geo::IP' is not installed ! Bailing out the installation for Perl-Maven-0.1. air:Perl-Maven gabor$ cpanm-reporter Parsing error. Found '/Users/gabor/work/Perl-Maven' without fetching first. at /Users/gabor/perl5/perlbrew/perls/perl-5.20.0_WITH_THREADS/bin/cpanm-reporter line 29.
On 2014-09-11 03:07:50, gabor@szabgab.com wrote: Show quoted text
> air:Perl-Maven gabor$ cpanm-reporter > > Parsing error. Found '/Users/gabor/work/Perl-Maven' without fetching > first. > at > /Users/gabor/perl5/perlbrew/perls/perl-5.20.0_WITH_THREADS/bin/cpanm- > reporter > line 29.
This is not a bug as I understand it, but simply that cpanm-reporter cannot generate reports for local distributions, because it doesn't know the full author+distribution name to submit the report under. (The fact that the installation failed is not relevant here - you'd get the same message even if everything passed.) The error message could probably make that a bit more clear, though.
Subject: Re: [rt.cpan.org #98781] Parsing error. after cpanm --installdeps . failed
Date: Thu, 11 Sep 2014 20:19:12 +0300
To: bug-App-cpanminus-reporter [...] rt.cpan.org
From: Gabor Szabo <gabor [...] szabgab.com>
On Thu, Sep 11, 2014 at 6:56 PM, Karen Etheridge via RT < bug-App-cpanminus-reporter@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=98781 > > > On 2014-09-11 03:07:50, gabor@szabgab.com wrote: >
> > air:Perl-Maven gabor$ cpanm-reporter > > > > Parsing error. Found '/Users/gabor/work/Perl-Maven' without fetching > > first. > > at > > /Users/gabor/perl5/perlbrew/perls/perl-5.20.0_WITH_THREADS/bin/cpanm- > > reporter > > line 29.
> > > This is not a bug as I understand it, but simply that cpanm-reporter > cannot generate reports for local distributions, because it doesn't know > the full author+distribution name to submit the report under. (The fact > that the installation failed is not relevant here - you'd get the same > message even if everything passed.) > > The error message could probably make that a bit more clear, though. >
I was installing the dependencies of a module. All from CPAN.
Karen is right: cpanm-reporter can only report distributions coming from a remote CPAN mirror. Even when doing a simple "installdeps", the build.log file has messages regarding the local dist that cpanm-reporter simply does not (or rather, did not) know how to handle. Karen is also right in that the error message sucked, so I changed it and now instead of: "Parsing error. Found '/Users/gabor/work/Perl-Maven' without fetching first. at /Users/gabor/perl5/perlbrew/perls/perl-5.20.0_WITH_THREADS/bin/cpanm-reporter line 29." you'll get: "Skipping report for local installation of '/Users/gabor/work/Perl-Maven'." I hope this is clearer. THAT SAID, gabor is right to expect "installdeps" to work, so now instead of croaking with that message I'll just show a warning and skip that particular distribution, so any other test results from (remote) dependencies found on the build.log file will still be sent. Now that cpanm-reporter 0.14 is on its way to cpan I'm going to close the ticket. If you see this issue again please don't hesitate to reopen the discussion. Thanks!