Skip Menu |

This queue is for tickets about the CPANPLUS CPAN distribution.

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

People
Owner: Nobody in particular
Requestors: geoff [...] cdepot.net
geoff [...] direcway.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.051
Fixed in: (no value)



Subject: config "lost"
If I modify the config with 's reconfigure' but neglect to save with 's save' the next execution is crippled, in the sense that '?' or 'cpanp -h' yields no info. The new config appears to have been saved. perl v5.8.5 built for i386-linux-thread-multi CPANPLUS 0.51 linux 2.6.10 i686 athlon i386
From: geoff [...] direcway.com
[guest - Mon Feb 7 12:02:14 2005]: Show quoted text
> If I modify the config with 's reconfigure' but neglect to save with > 's save' the next execution is crippled, in the sense that '?' or > 'cpanp -h' yields no info. The new config appears to have been saved. > > perl v5.8.5 built for i386-linux-thread-multi > CPANPLUS 0.51 > linux 2.6.10 i686 athlon i386
oops, sorry. email is geoff@direcway.com
[guest - Mon Feb 7 12:02:14 2005]: Show quoted text
> If I modify the config with 's reconfigure' but neglect to save with > 's save' the next execution is crippled, in the sense that '?' or > 'cpanp -h' yields no info. The new config appears to have been saved. > > perl v5.8.5 built for i386-linux-thread-multi > CPANPLUS 0.51 > linux 2.6.10 i686 athl
[guest - Mon Feb 7 12:02:14 2005]: Show quoted text
> If I modify the config with 's reconfigure' but neglect to save with > 's save' the next execution is crippled, in the sense that '?' or > 'cpanp -h' yields no info. The new config appears to have been saved. > > perl v5.8.5 built for i386-linux-thread-multi > CPANPLUS 0.51 > linux 2.6.10 i686 athlon i386
This works just fine for me actually. And '?' and '-h' actually don't require a config to output anything, so perhaps you can show me a bit more elaborately what it you were doing, and what happened and what you mean by 'crippled'
From: geoff [...] direcway.com
[KANE - Wed Feb 9 06:16:30 2005]: Show quoted text
> [guest - Mon Feb 7 12:02:14 2005]: >
> > If I modify the config with 's reconfigure' but neglect to save with > > 's save' the next execution is crippled, in the sense that '?' or > > 'cpanp -h' yields no info. The new config appears to have been
> saved.
> > > > perl v5.8.5 built for i386-linux-thread-multi > > CPANPLUS 0.51 > > linux 2.6.10 i686 athlon i386
> > This works just fine for me actually. > And '?' and '-h' actually don't require a config to output anything, > so perhaps you can show > me a bit more elaborately what it you were doing, and what happened > and what you mean by > 'crippled'
#cpanpCPANPLUS::Shell::Default -- CPAN exploration and modules installation (v0.051) *** Please report bugs to <cpanplus-bugs@lists.sourceforge.net>. *** Using CPANPLUS::Backend v0.051. *** ReadLine support available (try 'i Term::ReadLine::Perl'). CPAN Terminal> s reconfigure ... CPAN Terminal> q # No save Exiting CPANPLUS shell #cpanp -h # # i.e., no output
From: "Jos I. Boumans" <kane [...] dwim.org>
Subject: Re: [cpan #11406] config "lost"
Date: Wed, 9 Feb 2005 17:50:37 +0100
To: bug-CPANPLUS [...] rt.cpan.org
RT-Send-Cc:

Message body is not shown because it is too large.

From: geoff [...] direcway.com

Message body is not shown because it is too large.

I'm afraid i have no idea what could cause this, and i'm unable to reproduce this with any of my boxes. My last guess is; try the 0.053 release on CPAN, and see if that fixes your troubles.
[KANE - Wed Feb 16 08:14:56 2005]: Show quoted text
> > I'm afraid i have no idea what could cause this, and i'm unable to > reproduce this with any of > my boxes. My last guess is; try the 0.053 release on CPAN, and see if > that fixes your > troubles.
No joy with 0.53. Does that mean that I have to solve my problem muself? Ohmygosh! :-) Preliminary result: Shell/Default.pm, line 499, $self->_term_rowcount is 25, but stty rows is 80. Reducing the latter to 25 removes the problem. So its probably a problem with my pager.
[guest - Wed Feb 16 16:25:19 2005]: Show quoted text
> No joy with 0.53. Does that mean that I have to solve my problem > muself? Ohmygosh! :-) > > Preliminary result: Shell/Default.pm, line 499, $self->_term_rowcount > is 25, but stty rows is 80. Reducing the latter to 25 removes the > problem. So its probably a problem with my pager.
Well, the relevant code that sets these numbers is in CPANPLUS::Shell around line 272: if ( can_load(modules => {'Term::Size' => '0.0'}) ) { my ($cols, $rows) = Term::Size::chars(); return $rows; } So you may have found a bug in Term::Size. I'll close this ticket now, good luck hunting it down.