Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: lars [...] eggert.org
Cc:
AdminCc:

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



Subject: Can't locate object method "normalize_id_file"
Date: Tue, 7 May 2013 15:37:29 +0200
To: bug-App-cpanminus-reporter [...] rt.cpan.org
From: Lars Eggert <lars [...] eggert.org>
cpanm-reporter dies: [lars@lars: ~] cpanm-reporter Can't locate object method "normalize_id_file" via package "CPAN::Testers::Common::Client::Config" at /usr/local/perlbrew/perls/perl-5.16.2/lib/site_perl/5.16.2/App/cpanminus/reporter.pm line 61. Reporting via CPAN works fine. Lars
Hi Lars, thanks for the report! I'm sorry about that, it happened because I accidentally pushed a wrong version to CPAN. It should be fixed now on 0.07. Thanks again! And thank you for using cpanm-reporter! On Tue May 07 09:37:49 2013, lars@eggert.org wrote: Show quoted text
> cpanm-reporter dies: > > [lars@lars: ~] cpanm-reporter > Can't locate object method "normalize_id_file" via package > "CPAN::Testers::Common::Client::Config" at > /usr/local/perlbrew/perls/perl- > 5.16.2/lib/site_perl/5.16.2/App/cpanminus/reporter.pm line 61. > > Reporting via CPAN works fine. > > Lars
Subject: Re: [rt.cpan.org #85112] Can't locate object method "normalize_id_file"
Date: Wed, 8 May 2013 07:22:11 +0100
To: bug-App-cpanminus-reporter [...] rt.cpan.org
From: Lars Eggert <lars [...] eggert.org>
Hi, On May 8, 2013, at 7:01, Breno G. de Oliveira via RT <bug-App-cpanminus-reporter@rt.cpan.org> wrote: Show quoted text
> Hi Lars, thanks for the report! > I'm sorry about that, it happened because I accidentally pushed a wrong version to CPAN. It should be fixed now on 0.07. > Thanks again! And thank you for using cpanm-reporter!
it does work now, but only when I'm in the ~/.cpanreporter directory when I call it. Otherwise I see this error: Parsing /Users/lars/.cpanm/latest-build/build.log... sending: (http://search.cpan.org/CPAN/authors/id/G/GA/GARU/CPAN-Testers-Common-Client-0.05.tar.gz, GARU, CPAN-Testers-Common-Client-0.05, PASS) Test::Reporter: error from 'Test::Reporter::Transport::Metabase:' Test::Reporter::Transport::Metabase: could not read ID file 'metabase_id.json' No such file or directory at /usr/local/perlbrew/perls/perl-5.16.2/lib/site_perl/5.16.2/Test/Reporter/Transport/Metabase.pm line 138. Test::Reporter::Transport::Metabase::_load_id_file('Test::Reporter::Transport::Metabase=HASH(0x7ffb21d274d8)') called at /usr/local/perlbrew/perls/perl-5.16.2/lib/site_perl/5.16.2/Test/Reporter/Transport/Metabase.pm line 77 Test::Reporter::Transport::Metabase::send('Test::Reporter::Transport::Metabase=HASH(0x7ffb21d274d8)', 'Test::Reporter=HASH(0x7ffb21dfb7e0)') called at /usr/local/perlbrew/perls/perl-5.16.2/lib/site_perl/5.16.2/Test/Reporter.pm line 271 eval {...} called at /usr/local/perlbrew/perls/perl-5.16.2/lib/site_perl/5.16.2/Test/Reporter.pm line 271 Test::Reporter::send('Test::Reporter=HASH(0x7ffb21dfb7e0)') called at /usr/local/perlbrew/perls/perl-5.16.2/lib/site_perl/5.16.2/App/cpanminus/reporter.pm line 260 App::cpanminus::reporter::make_report('App::cpanminus::reporter=HASH(0x7ffb2182cfd0)', 'http://search.cpan.org/CPAN/authors/id/G/GA/GARU/CPAN-Testers...', 'CPAN-Testers-Common-Client-0.05', 'PASS', 'Building and testing CPAN-Testers-Common-Client-0.05\x{a}', 'cp lib/CPAN/Testers/Common/Client/Config.pm blib/lib/CPAN/Tes...', 'cp lib/CPAN/Testers/Common/Client/PrereqCheck.pm blib/lib/CPA...', 'cp lib/CPAN/Testers/Common/Client.pm blib/lib/CPAN/Testers/Co...', 'Manifying blib/man3/CPAN::Testers::Common::Client::PrereqChec...', ...) called at /usr/local/perlbrew/perls/perl-5.16.2/lib/site_perl/5.16.2/App/cpanminus/reporter.pm line 183 App::cpanminus::reporter::__ANON__('CPAN-Testers-Common-Client-0.05', 'http://search.cpan.org/CPAN/authors/id/G/GA/GARU/CPAN-Testers...') called at /usr/local/perlbrew/perls/perl-5.16.2/lib/site_perl/5.16.2/App/cpanminus/reporter.pm line 164 App::cpanminus::reporter::__ANON__('App-cpanminus-reporter-0.07', 'http://search.cpan.org/CPAN/authors/id/G/GA/GARU/App-cpanminu...') called at /usr/local/perlbrew/perls/perl-5.16.2/lib/site_perl/5.16.2/App/cpanminus/reporter.pm line 164 App::cpanminus::reporter::__ANON__() called at /usr/local/perlbrew/perls/perl-5.16.2/lib/site_perl/5.16.2/App/cpanminus/reporter.pm line 191 App::cpanminus::reporter::run('App::cpanminus::reporter=HASH(0x7ffb2182cfd0)') called at /usr/local/perlbrew/perls/perl-5.16.2/bin/cpanm-reporter line 25 It seems that it looks for metabase_id.json only in the current directory? Lars
On Wed May 08 02:22:29 2013, lars@eggert.org wrote: Show quoted text
> it does work now, but only when I'm in the ~/.cpanreporter directory > when I call it. Otherwise I see this error: >
Wow, how did I miss that?! Sorry, mate. Could you please try and update CPAN::Testers::Common::Client to 0.06 which I just pushed to CPAN and let me know if it works for you? If it does, I'll push a new cpanm-reporter that forces it on new users. Thanks again!
Subject: Re: [rt.cpan.org #85112] Can't locate object method "normalize_id_file"
Date: Thu, 9 May 2013 07:40:18 +0100
To: bug-App-cpanminus-reporter [...] rt.cpan.org
From: Lars Eggert <lars [...] eggert.org>
On May 9, 2013, at 7:31, Breno G. de Oliveira via RT <bug-App-cpanminus-reporter@rt.cpan.org> wrote: Show quoted text
> Could you please try and update CPAN::Testers::Common::Client to 0.06 which I just pushed to CPAN and let me know if it works for you?
It does work. Lars
On Thu May 09 02:40:35 2013, lars@eggert.org wrote: Show quoted text
> On May 9, 2013, at 7:31, Breno G. de Oliveira via RT <bug-App- > cpanminus-reporter@rt.cpan.org> wrote:
> > Could you please try and update CPAN::Testers::Common::Client to
> 0.06 which I just pushed to CPAN and let me know if it works for you? > > It does work. > > Lars
Brilliant. Thanks!