Hi @David_Scheidegger, my guess is that python3 is the issue here. GC is written for python2 and has not been ‘upgraded’. If you have the lower version installed it might run with python2 main.py.
Kind regards, Gero
Edit: Look up webcontrol, as this is browser based and currently more active software for the Maslow.
What is your operating system? Are you on linux or on a raspberry pi? It is very possible that the service files are not in the right permission state to be executed by all users so the service failed. A quick check would be to disable the services and manually start it and then restart. The error messages are not providing great detail as to why they didn’t work. I need to look into this one:
did you manually install the service or did it come with webcontrol? Mine are all manual, but I wrote the guides on how to set them up, but I did them for the raspberry pi…
to change the path and the user, use this command:
>sudo nano /etc/systemd/system/webcontrol.service
you are using the nano text editor to change the service file. for user, use your login name and for the other items, use whatever your user home folder is, usually /home/username
edit the items and then press control and X to exit and press enter twice and it will let you out.
WRT the repo you downloaded, when you download the webcontrol files, you need to get them from the webcontrolcnc repository since madgrizzle transferred it there and then he copied it back to his as a fork.
Looks good like it is running! that is great. To use it, it helps to understand that you are running a webserver and we interact with it by opening a web browser on the local machine, on a phone, on a tablet, or on a different machine that is connected on the same network. On the local linux system it will be localhost:5000. If you do an ifconfig, you an get the ip address and open it from your phone or other device at [ip_address]:5000. If you don’t include the colon 5000, it won’t find it. It must have the port number.
I must be missing something. I got webcontrol up, connected to the maslow machine, but I can’t get it to even move any of the motors in the slightest. Is there some sort of config file I’m missing? In the getting started section in the help category, it says import groundcontrol.ini. I don’t have that. Please help.
This is running on a linux machine? Can you stop the webcontrol service,
>sudo systemctl stop webcontrol
then start it manually in a terminal window? Look at the program messages when you get that error and tell us what the program messages say? You navigate to the webcontrol folder and run it with
>./webcontrol
then you will see the startup output. Should look something like this:
Now, web control won’t run gcode or move with the controls. I was able to move the motors to set chain length just fine with the controls within that configuration, and the test motors function works sometimes. That’s about it.