Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Net-SSH2 CPAN distribution.

Report information
The Basics
Id:
124217
Status:
rejected
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
sali.sujit [...] gmail.com
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
(no value)
Fixed in:
(no value)



Subject: $chan->exec - showing error
Date: Thu, 25 Jan 2018 19:37:49 +0530
To: bug-Net-SSH2@rt.cpan.org
From: Sujit Sali <sali.sujit@gmail.com>
Hello,

Is this a bug when I call "$chan->exec" as given in the example on http://search.cpan.org/~salva/Net-SSH2-0.68/lib/Net/SSH2.pm, I am getting following error.
Can't call method "exec" on an undefined value.

I looked in to the source code but don't see such function available.

Please let me know what to do.

Regards,
Sujit
Subject: Re: [rt.cpan.org #124217] $chan->exec - showing error
Date: Fri, 26 Jan 2018 08:57:55 +0000 (UTC)
To: Sujit Sali via RT <bug-Net-SSH2@rt.cpan.org>
From: Salvador Fandino <sfandino@yahoo.com>
On Thursday, January 25, 2018, 3:08:14 PM GMT+1, Sujit Sali via RT <bug-Net-SSH2@rt.cpan.org> wrote:
Show quoted text
> Please let me know what to do.
check for failing methods in the code above where you call "exec"
BTW, RT is a bug tracker, not a place to ask for help. You can use PerlMonks or Stackoverflow for that.
Subject: Re: [rt.cpan.org #124217] $chan->exec - showing error
Date: Fri, 26 Jan 2018 15:14:05 +0530
To: bug-Net-SSH2@rt.cpan.org
From: Sujit Sali <sali.sujit@gmail.com>
Do you find exec method in the code? I don't find it.  

On Fri, Jan 26, 2018 at 2:28 PM, Salvador \"Fandiño\" via RT <bug-Net-SSH2@rt.cpan.org> wrote:
Show quoted text
<URL: https://rt.cpan.org/Ticket/Display.html?id=124217 >








On Thursday, January 25, 2018, 3:08:14 PM GMT+1, Sujit Sali via RT <bug-Net-SSH2@rt.cpan.org> wrote:


> Please let me know what to do.

check for failing methods in the code above where you call "exec"


On Fri Jan 26 04:44:18 2018, sali.sujit@gmail.com wrote:
Show quoted text
> Do you find exec method in the code? I don't find it.
https://metacpan.org/source/SALVA/Net-SSH2-0.68/lib/Net/SSH2/Channel.pm#L13 But as I told you before, the error is not there. Look at the code before and check that previous method calls are not failing.


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

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