Skip Menu |
 

This queue is for tickets about the CPAN CPAN distribution.

Report information
The Basics
Id: 42933
Status: open
Priority: 0/
Queue: CPAN

People
Owner: Nobody in particular
Requestors: MLEHMANN [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.9301
Fixed in: (no value)



MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Type: text/plain
Charset: utf8
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 605
Download (untitled) / with headers
text/plain 605b
i use "cpan modulename" to automatically install modules for a long time. a wrapper script redirects output to a file. this stopped working: Unable to get Terminal Size. The TIOCGWINSZ ioctl didn't work. The COLUMNS and LINES environment variables didn't work. The resize program didn't work. at /opt/perl/lib/perl5/Term/ReadKey.pm line 362. Compilation failed in require at /opt/perl/lib/perl5/Term/ReadLine/Perl.pm line 63. [Exit 77] for some reason, cpan seems to require stdout to be a terminal when in batchmode now. I don't know whether this was caused by a new CPAN version, or something else.
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Charset: utf8
Content-Type: text/plain
Message-ID: <rt-3.6.HEAD-4331-1233401164-35.42933-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 403
Download (untitled) / with headers
text/plain 403b
Offhand I have no idea what's causing this. I have a workaround for you, make cpan an alias for perl -MCPAN -e '$CPAN::Suppress_readline++; install shift' or similar. It might have to do if there is Term::ReadLine::Perl or Term::ReadLine::Gnu installed and the environment variables wach of them use. The CPAN.pm code in the readline area has not been touched for a long time as far as I know.
MIME-Version: 1.0
X-Spam-Status: No, hits=0.0 required=8.0 tests=DK_SIGNED,HTML_MESSAGE,SPF_PASS
In-Reply-To: <rt-3.6.HEAD-4331-1233397624-1499.42933-4-0 [...] rt.cpan.org>
References: <RT-Ticket-42933 [...] rt.cpan.org> <rt-3.6.HEAD-4331-1233397624-1499.42933-4-0 [...] rt.cpan.org>
X-Virus-Checked: Checked by ClamAV on 16.mx.develooper.com
Message-ID: <5d4beb40901310429s321709afx2f07309d0b6b3280 [...] mail.gmail.com>
Content-Type: multipart/alternative; boundary=000e0cd348ac7a48ae0461c67828
Received: from la.mx.develooper.com (x1.develooper.com [63.251.223.170]) by diesel.bestpractical.com (Postfix) with SMTP id 48D1319B806A for <bug-CPAN [...] rt.cpan.org>; Sat, 31 Jan 2009 08:44:03 -0500 (EST)
Received: (qmail 23635 invoked by uid 103); 31 Jan 2009 13:44:02 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 31 Jan 2009 13:44:02 -0000
Received: from yw-out-2324.google.com (HELO yw-out-2324.google.com) (74.125.46.31) by 16.mx.develooper.com (qpsmtpd/0.43rc1) with ESMTP; Sat, 31 Jan 2009 05:43:50 -0800
Received: by yw-out-2324.google.com with SMTP id 5so326070ywb.3 for <bug-CPAN [...] rt.cpan.org>; Sat, 31 Jan 2009 05:43:32 -0800 (PST)
Received: by 10.150.200.16 with SMTP id x16mr2237142ybf.202.1233404959541; Sat, 31 Jan 2009 04:29:19 -0800 (PST)
Delivered-To: cpan-bug+CPAN [...] diesel.bestpractical.com
Subject: Re: [rt.cpan.org #42933]
Domainkey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=jxjczCfU2ECtxZW5WhHL1ysdb4sUIuIRHGmtrH9nQd/BPWDOu8G6rmOL0g43+Y86ud VVncLXqr9lIs+Ns3GwtwlRikABZLjX2HRgPlnlBRtoBV/dMCjNtEP4gpMRzaTg0jh4RC cJ6lDxm+ZktQE8lnQVyaC8F9vgTktR5DyNxd8=
Return-Path: <xdaveg [...] gmail.com>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type; bh=TwdL8Nd22baFM5jYnAYHYJHKUfwjiIVVJ01oHVQ1qO0=; b=Uq9rKFvJ7EeY29gAOfj4EIXo0+v8h474yFqbcIvf8gtAEjLWNYBZSHmpjQGmemowI4 /0uhS+LnzTBpYveNU2gg7ImaePdQyeztUi9CBxsWx/AyRhthtSzggb9NctfpuoM2q0JS hds7cLP8+4vgmTrlSvJ/3HdAog8wfdZkq6zOU=
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: bug-CPAN [...] rt.cpan.org
X-Google-Sender-Auth: b42f0df31b507e4c
Date: Sat, 31 Jan 2009 07:29:19 -0500
Sender: xdaveg [...] gmail.com
X-Spam-Level: *
To: bug-CPAN [...] rt.cpan.org
From: David Golden <dagolden [...] cpan.org>
RT-Message-ID: <rt-3.6.HEAD-4331-1233409448-1739.42933-0-0 [...] rt.cpan.org>
Content-Length: 0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-RT-Original-Encoding: utf-8
Content-Length: 37
Please attach your 'perl -V' output.
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-RT-Original-Encoding: utf-8
Content-Length: 53
MIME-Version: 1.0
X-Spam-Status: No, hits=-5.0 required=8.0 tests=PERLBUG_CONF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS
In-Reply-To: <rt-3.6.HEAD-4331-1233409448-1739.42933-6-0 [...] rt.cpan.org>
Content-Disposition: inline
References: <RT-Ticket-42933 [...] rt.cpan.org> <rt-3.6.HEAD-4331-1233397624-1499.42933-4-0 [...] rt.cpan.org> <5d4beb40901310429s321709afx2f07309d0b6b3280 [...] mail.gmail.com> <rt-3.6.HEAD-4331-1233409448-1739.42933-6-0 [...] rt.cpan.org>
X-Virus-Checked: Checked by ClamAV on 16.mx.develooper.com
X-PGP: "1024D/DA743396 1999-01-26 Marc Alexander Lehmann <schmorp [...] schmorp.de> Key fingerprint = 475A FE9B D1D4 039E 01AC C217 A1E8 0270 DA74 3396"
Message-ID: <20090131194534.GA22637 [...] schmorp.de>
Reply-To: y of my perl5 configuration:
Content-Type: multipart/mixed; boundary="T4sUOijqQbZv57TR"
Received: from la.mx.develooper.com (x1.develooper.com [63.251.223.170]) by diesel.bestpractical.com (Postfix) with SMTP id BF5C019B806A for <bug-CPAN [...] rt.cpan.org>; Sat, 31 Jan 2009 14:47:05 -0500 (EST)
Received: (qmail 6104 invoked by uid 103); 31 Jan 2009 19:47:04 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 31 Jan 2009 19:47:04 -0000
Received: from mail.nethype.de (HELO mail.nethype.de) (78.47.73.129) by 16.mx.develooper.com (qpsmtpd/0.43rc1) with ESMTP; Sat, 31 Jan 2009 11:46:52 -0800
Received: from [10.0.0.5] (helo=doom.schmorp.de) by mail.nethype.de with esmtp (Exim 4.69) (envelope-from <root [...] schmorp.de>) id 1LTLmY-00031B-LP for bug-CPAN [...] rt.cpan.org; Sat, 31 Jan 2009 19:45:34 +0000
Received: from [10.0.0.1] (helo=cerebro.laendle) by doom.schmorp.de with esmtp (Exim 4.69) (envelope-from <root [...] schmorp.de>) id 1LTLmY-0001Fj-HC for bug-CPAN [...] rt.cpan.org; Sat, 31 Jan 2009 19:45:34 +0000
Received: from root by cerebro.laendle with local (Exim 4.69) (envelope-from <root [...] schmorp.de>) id 1LTLmY-0005tU-BJ for bug-CPAN [...] rt.cpan.org; Sat, 31 Jan 2009 20:45:34 +0100
Delivered-To: cpan-bug+CPAN [...] diesel.bestpractical.com
Subject: Re: [rt.cpan.org #42933]
Return-Path: <root [...] schmorp.de>
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: bug-CPAN [...] rt.cpan.org
Date: Sat, 31 Jan 2009 20:45:34 +0100
X-Spam-Level: *
To: David Golden via RT <bug-CPAN [...] rt.cpan.org>
From: Marc Lehmann <schmorp [...] schmorp.de>
RT-Message-ID: <rt-3.6.HEAD-29719-1233431238-1520.42933-0-0 [...] rt.cpan.org>
Content-Length: 0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
X-RT-Original-Encoding: utf-8
Content-Length: 553
Download (untitled) / with headers
text/plain 553b
On Sat, Jan 31, 2009 at 08:44:09AM -0500, David Golden via RT <bug-CPAN@rt.cpan.org> wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=42933 > > > Please attach your 'perl -V' output. >
Show quoted text
> Please attach your 'perl -V' output.
-- The choice of a Deliantra, the free code+content MORPG -----==- _GNU_ http://www.deliantra.net ----==-- _ generation ---==---(_)__ __ ____ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / pcg@goof.com -=====/_/_//_/\_,_/ /_/\_\
Content-Type: text/plain; charset="utf-8"
content-disposition: attachment; filename="xx"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: utf-8
Content-Length: 3811
Download xx
text/plain 3.7k

Message body is not shown because sender requested not to inline it.

CC: MLEHMANN [...] cpan.org
MIME-Version: 1.0
X-Spam-Status: No, hits=-1.0 required=8.0 tests=RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS
In-Reply-To: <rt-3.6.HEAD-4331-1233401164-35.42933-6-0 [...] rt.cpan.org>
Content-Disposition: inline
References: <RT-Ticket-42933 [...] rt.cpan.org> <rt-3.6.HEAD-4331-1233401164-35.42933-6-0 [...] rt.cpan.org>
X-PGP: "1024D/DA743396 1999-01-26 Marc Alexander Lehmann <schmorp [...] schmorp.de> Key fingerprint = 475A FE9B D1D4 039E 01AC C217 A1E8 0270 DA74 3396"
Message-ID: <20090131194853.GB22637 [...] schmorp.de>
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
Received: from la.mx.develooper.com (x1.develooper.com [63.251.223.170]) by diesel.bestpractical.com (Postfix) with SMTP id DA84919B806A for <bug-CPAN [...] rt.cpan.org>; Sat, 31 Jan 2009 15:30:00 -0500 (EST)
Received: (qmail 17800 invoked by uid 103); 31 Jan 2009 20:29:57 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 31 Jan 2009 20:29:57 -0000
Received: from mail.nethype.de (HELO mail.nethype.de) (78.47.73.129) by 16.mx.develooper.com (qpsmtpd/0.43rc1) with ESMTP; Sat, 31 Jan 2009 12:29:34 -0800
Received: from [10.0.0.5] (helo=doom.schmorp.de) by mail.nethype.de with esmtp (Exim 4.69) (envelope-from <root [...] schmorp.de>) id 1LTLpl-00032j-CN; Sat, 31 Jan 2009 19:48:53 +0000
Received: from [10.0.0.1] (helo=cerebro.laendle) by doom.schmorp.de with esmtp (Exim 4.69) (envelope-from <root [...] schmorp.de>) id 1LTLpl-0001RP-7b; Sat, 31 Jan 2009 19:48:53 +0000
Received: from root by cerebro.laendle with local (Exim 4.69) (envelope-from <root [...] schmorp.de>) id 1LTLpl-0005tl-6n; Sat, 31 Jan 2009 20:48:53 +0100
Delivered-To: cpan-bug+CPAN [...] diesel.bestpractical.com
Subject: Re: [rt.cpan.org #42933]
Return-Path: <root [...] schmorp.de>
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: bug-CPAN [...] rt.cpan.org
Date: Sat, 31 Jan 2009 20:48:53 +0100
X-Spam-Level: *
To: Andreas Koenig via RT <bug-CPAN [...] rt.cpan.org>
From: Marc Lehmann <schmorp [...] schmorp.de>
RT-Message-ID: <rt-3.6.HEAD-4331-1233433814-1886.42933-0-0 [...] rt.cpan.org>
Content-Length: 1310
Download (untitled) / with headers
text/plain 1.2k
On Sat, Jan 31, 2009 at 06:26:07AM -0500, Andreas Koenig via RT <bug-CPAN@rt.cpan.org> wrote: Show quoted text
> Offhand I have no idea what's causing this. I have a workaround for you, > make cpan an alias for
Seems to work fine for me, thank you very much :) Show quoted text
> It might have to do if there is Term::ReadLine::Perl or > Term::ReadLine::Gnu installed and the environment variables wach of them > use. The CPAN.pm code in the readline area has not been touched for a > long time as far as I know.
Hmm, it is possible thta I use some env variables, but I also don't think that has changed. What did change was that I installed quite a number of modules between working and not-working, including CPAN::SQLite (which I uninstalled since then because cpan crashes often with it, or actually sqlite crashes often) and Term::ReadKey, but I don't quite see the connection (Term::ReadKey should fail with older versions as well). Anyways, the above workaround seems to work, I will try it in my script, many thanks! -- The choice of a Deliantra, the free code+content MORPG -----==- _GNU_ http://www.deliantra.net ----==-- _ generation ---==---(_)__ __ ____ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / pcg@goof.com -=====/_/_//_/\_,_/ /_/\_\


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.