Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New noob user problem #21

Open
BIG-FAN opened this issue Nov 30, 2022 · 0 comments
Open

New noob user problem #21

BIG-FAN opened this issue Nov 30, 2022 · 0 comments

Comments

@BIG-FAN
Copy link

BIG-FAN commented Nov 30, 2022

im on raspbian on raspberry pi3
on first run i got few errors telling to install File::HomeDir File::Pid Digest::MD4 im a noob so googled and did it like this

sudo perl -MCPAN -e 'install "File::HomeDir"' and so on with the rest but then i got a error saying

Can’t kill a non-numeric process ID at /usr/local/share/perl/5.14.2/File/Pid.pm line 124

i googled and got this https://www.omniweb.com/wordpress/?p=977 and did it

sudo nano that file and add "or return undef"

sub running {
my $self = shift;
my $pid = $self->_get_pid_from_file or return undef;

return   kill(0, $pid)
       ? $pid
       : undef;

}

and now it works thanks :)

@BIG-FAN BIG-FAN changed the title New user problem New noob user problem Nov 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant