Skip Menu |

This queue is for tickets about the CPANPLUS CPAN distribution.

Report information
The Basics
Id: 4078
Status: resolved
Priority: 0/
Queue: CPANPLUS

People
Owner: Nobody in particular
Requestors: schwern [...] pobox.com
Cc:
AdminCc:

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



Subject: CPANPLUS confused by first command
This is a clean installation of CPANPLUS 0.045 on OS X 10.2.8 with 5.6.0. The first command issued to the CPANPLUS shell results in an "Improper command '0'. Usage: ..." warning. It doesn't seem to matter what the command is with the exception of ?. If a ? is used the help will be displayed normally then the *next* command will cause the "Improper command" warning. After this, CPANPLUS operates normally. [~] cpanp CPANPLUS::Shell::Default -- CPAN exploration and modules installation (v0.03) *** Please report bugs to <cpanplus-bugs@lists.sourceforge.net>. *** Using CPANPLUS::Backend v0.045. ReadLine support enabled. CPAN Terminal> q CPANPLUS::Shell::Default at /Library/Perl/CPANPLUS/Shell.pm line 319 CPANPLUS::Shell::_Base::AUTOLOAD('CPANPLUS::Shell=HASH(0x8bab94)', 'CPANPLUS::Shell::Default') called at /System/Library/Perl/utf8_heavy.pl line 30 require 0 called at /System/Library/Perl/utf8_heavy.pl line 30 utf8::SWASHNEW('utf8', 'ToLower', undef, 4, 0) called at /Library/Perl/CPANPLUS/Shell/Default.pm line 145 require 0 called at /Library/Perl/CPANPLUS/Shell/Default.pm line 128 CPANPLUS::Shell::Default::_input_loop('CPANPLUS::Shell=HASH(0x8bab94)', 'CPANPLUS::Backend=HASH(0x8bab88)', 'CPAN Terminal> ') called at /Library/Perl/CPANPLUS/Shell/Default.pm line 110 CPANPLUS::Shell::Default::shell('CPANPLUS::Shell=HASH(0x8bab94)') called at /Library/Perl/CPANPLUS.pm line 118 CPANPLUS::shell(undef) called at /usr/bin/cpanp line 152 Improper command '0'. Usage: [General] h | ? # display help q # exit v # version information [Search] a AUTHOR ... # search by author(s) m MODULE ... # search by module(s) f AUTHOR ... # list all distributions by author(s) o [ MODULE ... ] # list installed module(s) that aren't up to date w # display the result of your last search again [Operations] i MODULE | NUMBER ... # install module(s), by name or by search number t MODULE | NUMBER ... # test module(s), by name or by search number u MODULE | NUMBER ... # uninstall module(s), by name or by search number d MODULE | NUMBER ... # download module(s) into current directory l MODULE | NUMBER ... # display detailed information about module(s) r MODULE | NUMBER ... # display README files of module(s) c MODULE | NUMBER ... # check for module report(s) from cpan-testers z MODULE | NUMBER ... # extract module(s) and open command prompt in it [Local Administration] e DIR ... # add directories to your @INC b # write a bundle file for your configuration s [OPTION VALUE] # set configuration options for this session s conf | save # reconfigure settings / save current settings CPAN Terminal>
Date: Sun, 12 Oct 2003 19:14:03 +0200
Subject: Re: [cpan #4078] CPANPLUS confused by first command
CC: cpanplus-bugs [...] lists.sourceforge.net
To: bug-CPANPLUS [...] rt.cpan.org
From: "Jos I. Boumans" <kane [...] dwim.org>
RT-Send-Cc:
On Sunday, October 12, 2003, at 01:25 PM, Guest via RT wrote: Show quoted text
> This is a clean installation of CPANPLUS 0.045 on OS X 10.2.8 with > 5.6.0. > > The first command issued to the CPANPLUS shell results in an "Improper > command '0'. Usage: ..." warning. It doesn't seem to matter what the > command is with the exception of ?. If a ? is used the help will be > displayed normally then the *next* command will cause the "Improper > command" warning. > > After this, CPANPLUS operates normally. > > [~] cpanp > CPANPLUS::Shell::Default -- CPAN exploration and modules installation > (v0.03) > *** Please report bugs to <cpanplus-bugs@lists.sourceforge.net>. > *** Using CPANPLUS::Backend v0.045. ReadLine support enabled. > > CPAN Terminal> q > CPANPLUS::Shell::Default at /Library/Perl/CPANPLUS/Shell.pm line 319 > > CPANPLUS::Shell::_Base::AUTOLOAD('CPANPLUS::Shell=HASH(0x8bab94)', > 'CPANPLUS::Shell::Default') called at > /System/Library/Perl/utf8_heavy.pl line 30 > require 0 called at /System/Library/Perl/utf8_heavy.pl line 30 > utf8::SWASHNEW('utf8', 'ToLower', undef, 4, 0) called at > /Library/Perl/CPANPLUS/Shell/Default.pm line 145 > require 0 called at /Library/Perl/CPANPLUS/Shell/Default.pm > line 128 > > CPANPLUS::Shell::Default::_input_loop('CPANPLUS::Shell=HASH(0x8bab94)', > 'CPANPLUS::Backend=HASH(0x8bab88)', 'CPAN Terminal> ') called at > /Library/Perl/CPANPLUS/Shell/Default.pm line 110 > > CPANPLUS::Shell::Default::shell('CPANPLUS::Shell=HASH(0x8bab94)') > called at /Library/Perl/CPANPLUS.pm line 118 > CPANPLUS::shell(undef) called at /usr/bin/cpanp line 152 > Improper command '0'. Usage:
i've seen this one before and iirc, this is a bug in 5.6.0 + utf8... scanning the bug archives [1] for this message might be a good idea, but it might just have something to do with your locale settings... -- Jos Boumans "You know the world is going crazy, when the best rapper is a white guy, the best golfer is a black guy, Switzerland wins the US Open sailing cup, Belfast is considered the safest city for a Bush/Blair top, France is accusing the US of arrogance and germany doesn't want to go to war." CPANPLUS http://cpanplus.sf.net 1: http://sourceforge.net/mailarchive/forum.php?forum_id=8396