Can not get Webcontrol to open after reinstalling

Disclaimer: I’m a complete novice with linux and raspberry pi stuff. I appreciate and welcome help but please…PLEASE talk down to me on a lower level or it will go right over my head. Thank you for understanding. That said, here is my problem.

I had not used my Maslow for a year and a half and when I powered up my Rpi I discovered the mini SD card had somehow failed and could not even be reformatted. I installed the Rpi OS on a new card and then proceeded to follow some instructions I had printed out 18 months ago and began to reinstall webcontrol. Here are the steps I took and what I am getting as an error. I have done this 4 times and the result has been exactly the same each time…Yes, I know what that means. I’m probably insane.

$ cd~
$ mkdir webcontrol
$ cd webcontrol
$ wget https://github.com/webcontrolcnc/webcontrol/releases/download/v0.94/webcontrol-0.94-rpi-singledirectory.tar.gz (Is this the correct file or is it corrupt??)
$ ls -l (it shows the contents in a long list-I would have no clue as to what would be missing if it were)
$ tar -zxvf webcontrol-0.94-rpi-singledirectory.tar.gz (appeared to decompress and expand the files as evidenced by many many lines of files displayed)
$ ./webcontrol (This is where I get the error message saying "Cannot execute: Required file not found)

Edit: I just tried something else. I powered it down and then retried. I then get “webcontrol is a directory” as a message.

I’m not sure what the webcontrol directory should look like when you open it but along with the multitude of decompressed files there is a webcontrol 0.94 rpi singledirectory zip folder which if you double click on it, there are a ton of files in it. I’m not sure if the decompressed ones are no longer in that folder or if a copy is made when it decompresses but since the error says “required file not found”, I’m like, gee maybe they didn’t unzip? Enjoy a good laugh at my expense but if anyone has an idea as to where I go next, I would greatly appreciate it. Thank you.



Jerry Vikla wrote:

Disclaimer: I’m a complete novice with linux and raspberry pi stuff. I appreciate and welcome help but please…PLEASE talk down to me on a lower level or it will go right over my head. Thank you for understanding. That said, here is my problem.

I had not used my Maslow for a year and a half and when I powered up my Rpi I discovered the mini SD card had somehow failed and could not even be reformatted. I installed the Rpi OS on a new card and then proceeded to follow some instructions I had printed out 18 months ago and began to reinstall webcontrol. Here are the steps I took and what I am getting as an error. I have done this 4 times and the result has been exactly the same each time…Yes, I know what that means. I’m probably insane.

$ cd~
$ mkdir webcontrol
$ cd webcontrol
$ wget https://github.com/webcontrolcnc/webcontrol/releases/download/v0.94/webcontrol-0.94-rpi-singledirectory.tar.gz (Is this the correct file or is it corrupt??)
$ ls -l (it shows the contents in a long list-I would have no clue as to what would be missing if it were)
$ tar -zxvf webcontrol-0.94-rpi-singledirectory.tar.gz (appeared to decompress and expand the files as evidenced by many many lines of files displayed)
$ ./webcontrol (This is where I get the error message saying "Cannot execute: Required file not found)

Edit: I just tried something else. I powered it down and then retried. I then get “webcontrol is a directory” as a message.

I’m not sure what the webcontrol directory should look like when you open it but along with the multitude of decompressed files there is a webcontrol 0.94 rpi singledirectory zip folder which if you double click on it, there are a ton of files in it. I’m not sure if the decompressed ones are no longer in that folder or if a copy is made when it decompresses but since the error says “required file not found”, I’m like, gee maybe they didn’t unzip? Enjoy a good laugh at my expense but if anyone has an idea as to where I go next, I would greatly appreciate it. Thank you.



cd into the webcontrol directory and then try the ./webcontrol

cd webcontrol
./webcontrol

David Lang

If I understand what you meant, I did the following upon starting the Rpi:
I clicked on the >- button.
I then got: maslow@raspberrypi: ~$
I typed: cd webcontrol
the screen said: maslow@raspberrypi:~/webcontrol $
I typed: ./webcontrol
screed displayed the same line as above photo-"bash: ./webcontrol: cannot execute: required file not found

Do you think I should try reloading the operating system for the Rpi?

If I understand what you meant, I did the following upon starting the Rpi:
I clicked on the >- button.
I then got: maslow@raspberrypi: ~$
I typed: cd webcontrol
the screen said: maslow@raspberrypi:~/webcontrol $
I typed: ./webcontrol
screed displayed the same line as above photo-"bash: ./webcontrol: cannot execute: required file not found

at this point, do

ls -l webcontrol

to tell us what that file is and it’s permissions.

Do you think I should try reloading the operating system for the Rpi?

No, that is not likely to help

David Lang

I typed ls -l webcontrol as you instructed. I’m not sure what this means. Excuse the second try with missing space.

Thank you David for your patience. I greatly appreciate it.
Jerry

ls list files
-l list with lots of details (long format)

hmm, I wonder if python updated and isn’t the same

try
head -1 webcontrol

head show the top lines in a file
-1 show 1 line

I think this will be something like #!/parh/to/python possibly with a version
number.

If so, please do

ls -l /path/to/python
(copied from that top line of the file)
My guess is that it will return a file not found (or just return nothing)

If so, we will need to install an older python on the base OS to make it work.

I’ll leave this as is until we learn more.

David Lang

Well this doesn’t look good at all:

ok, I thought webcontrol was a python app.

ok, shifting gears, try

ldd webcontrol

ldd asks the systems to list what libraries webcontrol is trying to load and
gives a status/version on each one.

David Lang

That didn’t seem to work either…
Thanks for sticking with me though.
Jerry