Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

CPANP (CPAN Plus) stopped working - help

by HelenCr (Monk)
on Apr 27, 2013 at 21:07 UTC ( #1031013=perlquestion: print w/ replies, xml ) Need Help??
HelenCr has asked for the wisdom of the Perl Monks concerning the following question:

Dear esteemed PerlMonks

I have been using CPANPLUS for a while. I find it neat and cool.
Now today, it suddenly stopped working.

When I ask it to look for a module (for example, CPAN Terminal>m wx) it returns immediately, without doing anything, and without saying anything (no error message).

(When I go: CPAN Terminal>help, it still prints the entire help message).

What to do?

Many TIA - HELEN

cpanp version: 0.9112 on Windows 7. DWIM Perl 5.14.2

Comment on CPANP (CPAN Plus) stopped working - help
Select or Download Code
Re: CPANP (CPAN Plus) stopped working - help
by bingos (Vicar) on Apr 27, 2013 at 22:23 UTC

    I suspect it is a change in one of the CPAN index files that occurred today that is causing your problems.

    You could turn on verbosity, just to be sure

    CPAN Terminal> s conf verbose 1

    If it is as I suspect, then upgrading to the fixed version of CPANPLUS (0.9136) I released today should solve the problem

    C:\> lwp-mirror http://www.cpan.org/authors/id/B/BI/BINGOS/CPANPLUS-0. +9136.tar.gz CPANPLUS-0.9136.tar.gz C:\> ptar zxf CPANPLUS-0.9136.tar.gz C:\> cd CPANPLUS-0.9136 C:\> perl bin/cpanp-boxed CPAN Terminal> i CPANPLUS

      I released today should solve the problem

      might require a kick in the pants :)( cpanp -x --update_source )

        bingos/AM: please review this session: I tried to update (x) and it issued an error:

        CPAN Terminal> s conf verbose 1 Key 'verbose' was set to '1' CPAN Terminal> m Wx CPAN Terminal> x --update_source [MSG] Checking if source files are up to date [MSG] Updating source file '01mailrc.txt.gz' [MSG] Trying to get 'http://cpan.strawberryperl.com/authors/01mailrc.t +xt.gz' [MSG] Updating source file '03modlist.data.gz' [MSG] Trying to get 'http://cpan.strawberryperl.com/modules/03modlist. +data.gz' [MSG] Updating source file '02packages.details.txt.gz' [MSG] Trying to get 'http://cpan.strawberryperl.com/modules/02packages +.details.txt.gz' [MSG] Rebuilding author tree, this might take a while [MSG] Rebuilding module tree, this might take a while [ERROR] Can't use an undefined value as an ARRAY reference at F:/Win7p +rograms/Dwimperl/perl/lib/CPANPLUS/Internals/Source.pm line 849.

        Many TIA - Helen

      bingos, khen1950fx and AM: I have installed 0.9136 according to your instructions - here is the tail of the installation:

      Looks ok, I think.
      I then ran cpanp, and it seems to be working fine.

      That was pressurizing. (sigh of relief).

      Thank you for you investment of time and energy - Helen

      By the way: can cpanp install a module from a PPM repository?

        I'm glad everything worked out in the end.

        It can't do PPM installs sorry. You should have included with DWIM a ppm commandline utility that should be able to.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2014-07-29 04:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (211 votes), past polls