Skip Menu |

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

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

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

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



Subject: Chomped final character when sending transport
When configuring, I get the following error: transport? [Mail::Send] error loading Test::Reporter::Transport::Mail::Sen. Please install the missing module or choose a different transport mechanism. when trying to send reports, I get the same error: $ cpanm-reporter error loading Test::Reporter::Transport::Mail::Sen. Please install the missing module or choose a different transport mechanism. sending: (http://www.cpan.org/authors/id/P/PE/PETDANCE/File-Next-1.12.tar.gz, PETDANCE, File-Next-1.12, PASS) Test::Reporter: could not load 'Test::Reporter::Transport::Mail::Sen' Can't locate Test/Reporter/Transport/Mail/Sen.pm in @INC (you may need to install the Test::Reporter::Transport::Mail::Sen module) (@INC contains: /home/rr/perl5/perlbrew/perls/perl-5.20.0/lib/site_perl/5.20.1/x86_64-linux /home/rr/perl5/perlbrew/perls/perl-5.20.0/lib/site_perl/5.20.1 /home/rr/perl5/perlbrew/perls/perl-5.20.0/lib/5.20.1/x86_64-linux /home/rr/perl5/perlbrew/perls/perl-5.20.0/lib/5.20.1 /home/rr/perl5/perlbrew/perls/perl-5.20.0/lib/site_perl/5.20.0/x86_64-linux /home/rr/perl5/perlbrew/perls/perl-5.20.0/lib/site_perl/5.20.0 /home/rr/perl5/perlbrew/perls/perl-5.20.0/lib/site_perl .) at (eval 30) line 1. at /home/rr/perl5/perlbrew/perls/perl-5.20.0/lib/site_perl/5.20.1/App/cpanminus/reporter.pm line 359. In the configuration file, transport is set to "Mail::Send". So I suspect something is chomping the final character. I am using Perl 5.20.1.
Whatever the problem is, it may be in some other module. cpanm-reporter does very little by itself in this area, it simply calls CPAN::Testers::Common and Test::Reporter. Here is the relevant part of the code: https://github.com/garu/App-cpanminus-reporter/blob/master/lib/App/cpanminus/reporter.pm#L368
This is very strange indeed. The configuration is fetched using CPAN::Testers::Common::Client and IO::Prompt::Tiny (if you change anything from the CLI). Since this is a rather old ticket (thank you for the patience! And sorry it took so long) I'm going to mark it as resolved. If you are able to reproduce it with the latest version of App::cpanminus::reporter, please reopen this ticket. If you can, it would be really helpful to also include the output of: perl -V perl -MApp::cpanminus::reporter -E 'say $App::cpanminus::reporter::VERSION' perl -MCPAN::Testers::Common::Client -E 'say $CPAN::Testers::Common::Client::VERSION' perl -MIO::Prompt::Tiny -E 'say $IO::Prompt::Tiny::VERSION' It would also be *extremely helpful* if you could also paste your .cpanreporter/config.ini file. Thanks!