Skip Menu |
 

This queue is for tickets about the Net-SFTP-Foreign-Backend-Net_SSH2 CPAN distribution.

Report information
The Basics
Id: 61544
Status: resolved
Worked: 2 hours (120 min)
Priority: 0/
Queue: Net-SFTP-Foreign-Backend-Net_SSH2

People
Owner: salva [...] cpan.org
Requestors: Philippe.Vouters [...] laposte.net
Cc:
AdminCc:

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



MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 819
Download (untitled) / with headers
text/plain 819b
Net::SFTP::Foreign when used with Net::SFTP::Foreign::Backend::Net::SSH2 1.0 fails with an unitialized value in method put (fileno($sftp->{ssh_in})). To overcome the situation, the line $sftp->{ssh_in} = $ssh2->sock; must be added at near the end of _init_transport. Also Net::SFTP::Foreign fails when the $self->_conn_failed method in Net::SFTP::Foreign::Backend::Net::SSH2 is called. Should it rather read there $sftp->_conn_lost instead of $sftp->conn_failed ??? Perl V5.10 on Linux Fedora 13 and Active State Perl V5.10 on Windows 7. Error message raised by Net::SFTP::Foreign when using a put method : Use of uninitialized value in ref-to-glob cast at /usr/local/share/perl5/Net/SFTP/Foreign.pm line 1913. Use of uninitialized value in ref-to-glob cast at /usr/local/share/perl5/Net/SFTP/Foreign.pm line 1913.
From sfandino [...] yahoo.com Wed Sep 22 06: 41:13 2010
X-Ymail-Osg: n.eKZYsVM1kVgVU3IQB_fYZH3upEQGDZ496nlEViI455YG4 cSETuyhL8Bu7fX2Mk.24Hiki9UIkiOeprmiFy4znmvc23sDxDCbTSmPLMe_Y VisUzEn.14O5KASFN8iVbqNrvJPHPRHx.l_LDsgY0qKURJi_0R_TNacXmMp3 fIJMXqx7yAF5ZbVLGog8wUJnB.3Rc8uEtjSs4MLwFud3Ilrl.pfrr8VqTXqc ZBrBvTVhL8.J4HBaiV8cRfvWgVfyXp3O49ar.RWJkMI.XPQOGjyui6NtLjzR qcBoaaX8oIEHA44GKFkbFkr1ijkJnREAwKOvyldtoZJNSBIOZyhvi5zO8
MIME-Version: 1.0
X-Spam-Status: No, score=-10.599 tagged_above=-99.9 required=10 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8] autolearn=ham
In-Reply-To: <rt-3.8.HEAD-24882-1285119673-1119.61544-4-0 [...] rt.cpan.org>
X-Mailer: YahooMailRC/497 YahooMailWebService/0.8.105.279950
X-Spam-Flag: NO
References: <RT-Ticket-61544 [...] rt.cpan.org> <rt-3.8.HEAD-24882-1285119673-1119.61544-4-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <96346.62346.qm [...] web52605.mail.re2.yahoo.com>
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
X-Spam-Score: -10.599
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] yahoo.com
Authentication-Results: hipster.bestpractical.com (amavisd-new); domainkeys=pass header.from=sfandino [...] yahoo.com
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id BF77E240268 for <cpan-bug+Net-SFTP-Foreign-Backend-Net_SSH2 [...] hipster.bestpractical.com>; Wed, 22 Sep 2010 06:41:13 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id A1rFeY6VSXXp for <cpan-bug+Net-SFTP-Foreign-Backend-Net_SSH2 [...] hipster.bestpractical.com>; Wed, 22 Sep 2010 06:41:06 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id B53E5240264 for <bug-Net-SFTP-Foreign-Backend-Net_SSH2 [...] rt.cpan.org>; Wed, 22 Sep 2010 06:41:05 -0400 (EDT)
Received: (qmail 13039 invoked by uid 103); 22 Sep 2010 10:44:11 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 22 Sep 2010 10:44:11 -0000
Received: from web52605.mail.re2.yahoo.com (HELO web52605.mail.re2.yahoo.com) (206.190.48.208) by 16.mx.develooper.com (qpsmtpd/0.80) with SMTP; Wed, 22 Sep 2010 03:44:11 -0700
Received: (qmail 62726 invoked by uid 60001); 22 Sep 2010 10:44:08 -0000
Received: from [62.97.67.18] by web52605.mail.re2.yahoo.com via HTTP; Wed, 22 Sep 2010 03:44:07 PDT
Delivered-To: cpan-bug+Net-SFTP-Foreign-Backend-Net_SSH2 [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #61544]
Domainkey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=q/3g9n4QPnXsUzf0G3/mqdQFXRPclMBsk3fwG844AZcvIGuyxCqvLwUjdGhsgm/dFdV7xRIj9Y4sTz5ICAcBTpSJ4fPk01LshbwiQwR1+4GtDoUz9DdSRzcRX42suCftCYlJW5PYif1weOu87oPqQqpcJTAp6pufoNDZqUU1oEw=;
Return-Path: <sfandino [...] yahoo.com>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1285152248; bh=zqg3qfYFosLyUZGxRBdKqE+HZ9U0RoCe0kJ6MM+dq+M=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=b3ULgBT9BBXfXAWXLqI9vfOkMd/6YMoig/b/MXfSdfOH1yin6c5rdekHXZLGKiI5XiD+pRqrVJSpu8u48F85vJRN3f4k7rgPkgamlkMP2qIFuNoI6ekl+gsni8EHq7gbd+F2ODdE2QpuJTpumdErGM0sUVmthq3uFVi3PG4Riy4=
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: cpan-bug+Net-SFTP-Foreign-Backend-Net_SSH2 [...] hipster.bestpractical.com
X-RT-Mail-Extension: net-sftp-foreign-backend-net_ssh2
Date: Wed, 22 Sep 2010 03:44:07 -0700 (PDT)
X-Spam-Level:
To: bug-Net-SFTP-Foreign-Backend-Net_SSH2 [...] rt.cpan.org
From: Salvador Fandino <sfandino [...] yahoo.com>
RT-Message-ID: <rt-3.8.HEAD-24885-1285152261-1929.61544-0-0 [...] rt.cpan.org>
Content-Length: 1507
Download (untitled) / with headers
text/plain 1.4k
Show quoted text
----- Original Message ----
> From: Philippe Vouters via RT ><bug-Net-SFTP-Foreign-Backend-Net_SSH2@rt.cpan.org> > Sent: Wed, September 22, 2010 3:41:14 AM > Subject: [rt.cpan.org #61544] > > Tue Sep 21 21:41:13 2010: Request 61544 was acted upon. > Transaction: Ticket created by Vouters > Queue: Net-SFTP-Foreign-Backend-Net_SSH2 > Subject: (No subject given) > Broken in: 0.01 > Severity: Important > Owner: Nobody > Requestors: Philippe.Vouters@laposte.net > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=61544 > > > > Net::SFTP::Foreign when used with Net::SFTP::Foreign::Backend::Net::SSH2 > 1.0 fails with an unitialized value in method put > (fileno($sftp->{ssh_in})). To overcome the situation, the line > $sftp->{ssh_in} = $ssh2->sock; must be added at near the end of > _init_transport.
Actually, the problem was caused by some dead code on Net::SFTP::Foreign left over from the backend refactoring. New version 1.61 is available from CPAN.
> Also Net::SFTP::Foreign fails when the $self->_conn_failed method in > Net::SFTP::Foreign::Backend::Net::SSH2 is called. Should it rather read > there $sftp->_conn_lost instead of $sftp->conn_failed ???
I have implemented the missing method, a new version of the module is also available from CPAN. Thank you for the bug report. BTW, on the other hand, posting bug reports to CPAN Ratings without letting the author solve them first is not very pollite! - Salva


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.