- Posts: 1943
- Thank you received: 0
( Solved ) Issues with python plugin for remap
I have seen it before but cant seem to figure it out.
All files are exact as they are with rack toolchange in sim.
Please Log in to join the conversation.
Please Log in to join the conversation.
rodw wrote: At a guess from the error, the code you are using is referring to the home folder for a user by another name. So edit that code to point to /home/bevins/.... for example.
That's the customers name I am doing this for.
Please Log in to join the conversation.
Please Log in to join the conversation.
rodw wrote: Is it an error? I can't really see what looks like one.
Thats the first issue......
Tries to import sys three times and it cannot for some unknown reason, hence the init calls false
Please Log in to join the conversation.
/home/etienne/linuxcnc/python
I think the python folder is under your rack tool changer config. Try copying that folder to the top level ~/linuxcnc folder.
I'm using a RIP config here and I found I had to add these dependencies as well before the sim would even open!
Please Log in to join the conversation.
rodw wrote: From what I can see, its trying to add a folder to the path which does not exist
/home/etienne/linuxcnc/python
I think the python folder is under your rack tool changer config. Try copying that folder to the top level ~/linuxcnc folder.
I'm using a RIP config here and I found I had to add these dependencies as well before the sim would even open!Code:sudo apt-get install -y python-gtkglext1 sudo apt-get install -y python-gtksourceview2
That path exists. I tried it all different ways. It finds it because if I change the file so it has errors it shows different errors. So it can find the files. I'll try that
Please Log in to join the conversation.
rodw wrote: From what I can see, its trying to add a folder to the path which does not exist
/home/etienne/linuxcnc/python
I think the python folder is under your rack tool changer config. Try copying that folder to the top level ~/linuxcnc folder.
I'm using a RIP config here and I found I had to add these dependencies as well before the sim would even open!Code:sudo apt-get install -y python-gtkglext1 sudo apt-get install -y python-gtksourceview2
]They are already installed.
No one knows what these issues are?
Please Log in to join the conversation.
But I still have the issue of the oword functions not working.
It is exactly like the rack_change in the sim.The sim doesn't need to load init but what is missing to
make the oword functions work? Why are they not callable? If I put scrap characters in the functions linuxcnc complains and wont load so it knows where they are.
Please Log in to join the conversation.
