Skip Menu |

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

Report information
The Basics
Id: 77906
Status: resolved
Priority: 0/
Queue: App-cpanoutdated

People
Owner: Nobody in particular
Requestors: ssb [...] umn.edu
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in:
  • 0.18
  • 0.20
Fixed in: (no value)



Subject: invocation of "getstore" doesn't report underlying error
Confused about version number...the tarball claims to be 0.20, but /usr/bin/cpan-outdated has 0.18 internally. On line 56 of cpan-outdated: getstore($index_url, $tmpfile->filename) or die "Cannot getstore file"; In my case, I happened to run this on a RFC1918-only machine and hadn't set up the proxy when I ran the script. The message: Cannot getstore file ... left me pretty clueless as to what was going wrong. Running it under the perl debugger, I discovered that the underlying routines are passing back information that would have helped me. I changed line 56 (and maybe 58 similarly for consistency) to: getstore($index_url, $tmpfile->filename) or die "Cannot getstore file: $!"; which got me: Cannot getstore file: Connection timed out ... Hope this seems reasonable to you.
Thanks for your report. I added better error handler, thanks. On Tue Jun 19 15:09:58 2012, https://openid.umn.edu/ssb wrote: Show quoted text
> Confused about version number...the tarball claims to be 0.20, but > /usr/bin/cpan-outdated has 0.18 internally. > > On line 56 of cpan-outdated: > getstore($index_url, $tmpfile->filename) or die "Cannot getstore file"; > > In my case, I happened to run this on a RFC1918-only machine and hadn't > set up the proxy when I ran the script. The message: > Cannot getstore file ... > left me pretty clueless as to what was going wrong. Running it under > the perl debugger, I discovered that the underlying routines are passing > back information that would have helped me. > > I changed line 56 (and maybe 58 similarly for consistency) to: > getstore($index_url, $tmpfile->filename) or die "Cannot getstore > file: $!"; > which got me: > Cannot getstore file: Connection timed out ... > > Hope this seems reasonable to you.
On Wed Jun 20 22:27:11 2012, TOKUHIROM wrote: Show quoted text
> Thanks for your report. > > I added better error handler, thanks. > > On Tue Jun 19 15:09:58 2012, https://openid.umn.edu/ssb wrote:
> > Confused about version number...the tarball claims to be 0.20, but > > /usr/bin/cpan-outdated has 0.18 internally. > > > > On line 56 of cpan-outdated: > > getstore($index_url, $tmpfile->filename) or die "Cannot getstore
> file";
> > > > In my case, I happened to run this on a RFC1918-only machine and
> hadn't
> > set up the proxy when I ran the script. The message: > > Cannot getstore file ... > > left me pretty clueless as to what was going wrong. Running it
> under
> > the perl debugger, I discovered that the underlying routines are
> passing
> > back information that would have helped me. > > > > I changed line 56 (and maybe 58 similarly for consistency) to: > > getstore($index_url, $tmpfile->filename) or die "Cannot getstore > > file: $!"; > > which got me: > > Cannot getstore file: Connection timed out ... > > > > Hope this seems reasonable to you.
>