duncs / clusterssh

Cluster SSH - Cluster Admin Via SSH
https://github.com/duncs/clusterssh/wiki
909 stars 78 forks source link

problem in 4.04 #47

Closed Mikki-black closed 8 years ago

Mikki-black commented 8 years ago

When I upgraded from 4.02 to 4.04(on arch) I got the following error: Can't locate object method "options" via package "App::ClusterSSH::Getopt" at /usr/share/perl5/vendor_perl/App/ClusterSSH.pm line 1988.

    else {
        $self->config->{ssh_args} = $self->options->options
            if ( $self->options->options );

Commenting these 2 lines at 1988/1989 makes it work again but I'm not sure what it does. My perl skills are not good enough :(.

svetlemodry commented 8 years ago

What if you try to install this package perl-getopt-argvfile, still the same error? Might be that it's required as dependency.

duncs commented 8 years ago

I am investigating this. Something isn't quite right

Duncs

On 16 Nov 2015, at 15:54, Mikki-black notifications@github.com wrote:

When I upgraded from 4.02 to 4.04(on arch) I got the following error: Can't locate object method "options" via package "App::ClusterSSH::Getopt" at /usr/share/perl5/vendor_perl/App/ClusterSSH.pm line 1988.

else {
    $self->config->{ssh_args} = $self->options->options
        if ( $self->options->options );

Commenting these 2 lines at 1988/1989 makes it work again but I'm not sure what it does. My perl skills are not good enough :(.

— Reply to this email directly or view it on GitHub.

duncs commented 8 years ago

"Can't locate object method "options" via package "App::ClusterSSH::Getopt" at /usr/share/perl5/vendor_perl/App/ClusterSSH.pm line 1988."

Is this the only error you get or are there more? 'options' is a generated method that gets created without issue on my system

duncs commented 8 years ago

No response so closing ticket

carlo4002 commented 7 years ago

Hi, I have the same error.

user@localhost:~$ cssh Can't locate object method "options" via package "App::ClusterSSH::Getopt" at /usr/local/share/perl/5.14.2/App/ClusterSSH.pm line 2061.

user@localhost:~$ cssh -v Version: 4.09