GScreen limit switch issue
08 Feb 2022 06:49 #234329
by cmorley
Replied by cmorley on topic GScreen limit switch issue
Sorry:
/usr/lib/python2.7/dist-packages/lib/python/gscreen/
it might be:
/usr/lib/python2.7/dist-packages/gscreen/
/usr/lib/python2.7/dist-packages/lib/python/gscreen/
it might be:
/usr/lib/python2.7/dist-packages/gscreen/
Please Log in or Create an account to join the conversation.
- Ivan_The_Red
- Offline
- Premium Member
Less
More
- Posts: 92
- Thank you received: 2
08 Feb 2022 10:45 #234335
by Ivan_The_Red
Replied by Ivan_The_Red on topic GScreen limit switch issue
ill check there, ill replace it with the contents from your previous post and let you know the results, it may be a day or two before i can get back in the shop
Im grateful for your help, a lot of stuff like this wouldnt get fixed without people like you......cheers
Im grateful for your help, a lot of stuff like this wouldnt get fixed without people like you......cheers
Please Log in or Create an account to join the conversation.
- Ivan_The_Red
- Offline
- Premium Member
Less
More
- Posts: 92
- Thank you received: 2
09 Feb 2022 22:31 #234437
by Ivan_The_Red
Replied by Ivan_The_Red on topic GScreen limit switch issue
I tried to locate the EMC_Interface.py file in those directories and they dont exist on my machine......any suggestions? below is a picture of what i have in my /usr/lib/python2.7/dist-packages directory.
Please Log in or Create an account to join the conversation.
10 Feb 2022 02:16 #234447
by cmorley
Replied by cmorley on topic GScreen limit switch issue
can you try this; open a terminal and run:
locate emc_interface.py
locate emc_interface.py
Please Log in or Create an account to join the conversation.
- Ivan_The_Red
- Offline
- Premium Member
Less
More
- Posts: 92
- Thank you received: 2
10 Feb 2022 02:38 #234450
by Ivan_The_Red
Replied by Ivan_The_Red on topic GScreen limit switch issue
well, looks like i hit the jackpot.....which one should i replace?
Please Log in or Create an account to join the conversation.
10 Feb 2022 02:47 #234451
by cmorley
Replied by cmorley on topic GScreen limit switch issue
gscreen/emc_interface.py
please keep a copy of the original so you can go back if there is a problem.
You will need to be sudo to modify the files.
(There are other ways to do this but this is one way, use what is familiar to you)
in a terminal
sudo thunar
(depends on what system you are using, hopefully you have thunar)
should get you a sudo file manager
Using the sudo file manager, I would temporarily rename the original file then copy in the new file.
then kill the sudo file manager so you don't do any accidental damage.
Then try linuxcnc and see if i did any good
please keep a copy of the original so you can go back if there is a problem.
You will need to be sudo to modify the files.
(There are other ways to do this but this is one way, use what is familiar to you)
in a terminal
sudo thunar
(depends on what system you are using, hopefully you have thunar)
should get you a sudo file manager
Using the sudo file manager, I would temporarily rename the original file then copy in the new file.
then kill the sudo file manager so you don't do any accidental damage.
Then try linuxcnc and see if i did any good
Please Log in or Create an account to join the conversation.
- Ivan_The_Red
- Offline
- Premium Member
Less
More
- Posts: 92
- Thank you received: 2
10 Feb 2022 03:01 #234453
by Ivan_The_Red
Replied by Ivan_The_Red on topic GScreen limit switch issue
i did try using 'find' and 'grep' to try and locate that file and had no luck.....but i searched for EMC_Interface.py maybe the capitol letters balled that attempt up. im confident ill be able to get that accomplished and ill get back with you tomorrow after i get home from work.
Thanks again, i do appreciate it.
Thanks again, i do appreciate it.
Please Log in or Create an account to join the conversation.
10 Feb 2022 03:02 #234454
by cmorley
Replied by cmorley on topic GScreen limit switch issue
ya files are case sensitive in linux.
All good -thanks for trying to test the changes!
All good -thanks for trying to test the changes!
Please Log in or Create an account to join the conversation.
- Ivan_The_Red
- Offline
- Premium Member
Less
More
- Posts: 92
- Thank you received: 2
10 Feb 2022 21:33 #234529
by Ivan_The_Red
Replied by Ivan_The_Red on topic GScreen limit switch issue
all went well with getting the file where it needed to go, got this interesting error message....image attached
Please Log in or Create an account to join the conversation.
- Ivan_The_Red
- Offline
- Premium Member
Less
More
- Posts: 92
- Thank you received: 2
11 Feb 2022 00:04 #234541
by Ivan_The_Red
Replied by Ivan_The_Red on topic GScreen limit switch issue
i compared the contents of my original file and that modified version and it seems that my current configuration has problems with the teleop stuff as well as some other commands concerning the mode and even a few other commands. if your interested in pursuing this i could post my file and maybe something would come to light..... let me know
Please Log in or Create an account to join the conversation.
Time to create page: 0.106 seconds