Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

cpanplus - Test::Reporter could not resolve ....

by gctaylor1 (Hermit)
on Jan 01, 2009 at 06:19 UTC ( #733602=perlquestion: print w/ replies, xml ) Need Help??
gctaylor1 has asked for the wisdom of the Perl Monks concerning the following question:

I'm trying to install a module from cpan and it's failing. Being the newbie that I am I'd normally forget it and just wait a few months as there are plenty of other things to learn. But I'm trying to be helpful and get involved so after doing some research decided to install cpanplus in order to send a test report.
After the install failure I'm getting this error message when it attempts to send the email.

Would you like to edit the test report? [Y/n]: n [ERROR] Could not send 'fail' report for 'Parse-ErrorString-Perl-0.09' +: Test::Reporter: error from 'Test::Reporter::Transport::Net::SMTP:' Net::SMTP: Could not resolve speedy17.private.network

The address it can't resolve is the local machine name, which does resolve via ping only on my local network. Is Net::SMTP expecting a real DNS resolvable mail address? Any suggestions for how to fix this?

Thank-you.

Comment on cpanplus - Test::Reporter could not resolve ....
Download Code
Re: cpanplus - Test::Reporter could not resolve ....
by tilly (Archbishop) on Jan 01, 2009 at 11:55 UTC
    I generally don't bother trying to figure out why my personal computer has not been set up to allow remote mail delivery. Instead I just save the bug report to a file, then cut and paste it into a working email client (in my case usually gmail).
Re: cpanplus - Test::Reporter could not resolve ....
by CountZero (Bishop) on Jan 01, 2009 at 22:17 UTC
    cpan can send test reports also; but I have yet to send a report successfully. Perhaps it does not authenticate with the mailserver of my provider ...

    Anyhow, there seems to be a possibility to send the test reports through HTTP, but it is largely undocumented and nowhere I could find the URL to link to and deliver the report. A real pity, as I think we would see a lot more testers if there was a real simple way of delivering the reports.

    CountZero

    A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

      nowhere I could find the URL to link to and deliver the report

      The HTTP gateway code is proof of concept still. People would have to run their own server to receive reports and send on via SMTP. There have been discussions of getting someone to volunteer a server and maintenance to run a public gateway.

      In the meantime, work creeps forward in support of "CPAN Testers 2.0" which will be entirely HTTP based. It's one of the projects planned for the QA Hackathon this March. We hope we can get it released before Christmas. ;-)

      -xdg

      Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.

        We hope we can get it released before Christmas
        Nice, it will be published together with Perl 6 then! ;-)

        CountZero

        A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

Re: cpanplus - Test::Reporter could not resolve ....
by barbie (Deacon) on Jan 14, 2009 at 17:47 UTC

    Is your local machine set up to receive SMTP requests on the external interface, and secondly is it setup to relay? The reason it cannot resolve your domain address is probably because your box is not responding to an SMTP request. You might want to try sending via the 127.0.0.1 address if your testing on the same box that the mail server is on.

    Regarding Count Zero's mention of the HTTP submission method, that has been planned for some time, but it hasn't yet been implemented. However, it is coming very soon. Ask thinks he is very nearly ready to make the switch, which will then mean that the SMTP method will be depreciated as testers software gets upgraded to use the new submission method.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://733602]
Approved by bingos
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2014-10-02 00:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (41 votes), past polls