- Configuring LinuxCNC
- Advanced Configuration
- execv(python): No such file or directory / python working directory
execv(python): No such file or directory / python working directory
29 Oct 2022 20:59 #255402
by chili023
I just freshly installed linuxcnc 2.9 pre on debina bullseye
The system works but now I want to include some python code.
at the line:
loadusr -Wn compensation python compensation.py filename.txt
it gives the errorĀ
execv(python): No such file or directory
The file is the configs/"configurationName" folder.
Where is python looking for the file?
Thanks
A.
The system works but now I want to include some python code.
at the line:
loadusr -Wn compensation python compensation.py filename.txt
it gives the errorĀ
execv(python): No such file or directory
The file is the configs/"configurationName" folder.
Where is python looking for the file?
Thanks
A.
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 16751
- Thank you received: 5576
29 Oct 2022 21:32 #255406
by tommylight
Replied by tommylight on topic execv(python): No such file or directory / python working directory
One thing to check is make sure the compensation.py file is executable.loadusr -Wn compensation python compensation.py filename.txt
it gives the errorĀ
execv(python): No such file or directory
Please Log in or Create an account to join the conversation.
29 Oct 2022 21:59 #255408
by chili023
Replied by chili023 on topic execv(python): No such file or directory / python working directory
Thanks I just set
chmod 777 compensation.py and filename.txt
no change.
the working directory of linuxcnc ist the directory of the config ?
so /home/user/linuxcnc/configs/maschine ?
chmod 777 compensation.py and filename.txt
no change.
the working directory of linuxcnc ist the directory of the config ?
so /home/user/linuxcnc/configs/maschine ?
Please Log in or Create an account to join the conversation.
29 Oct 2022 22:10 #255410
by chili023
Replied by chili023 on topic execv(python): No such file or directory / python working directory
even with loadusr -Wn compensation python /home/work/linuxcnc/configs/SilverGlider/compensation.py
it gives this error
it gives this error
Please Log in or Create an account to join the conversation.
29 Oct 2022 22:44 #255412
by cmorley
Replied by cmorley on topic execv(python): No such file or directory / python working directory
try:
loadusr -Wn compensation python3 compensation.py filename.txt
loadusr -Wn compensation python3 compensation.py filename.txt
The following user(s) said Thank You: SrLange61
Please Log in or Create an account to join the conversation.
29 Oct 2022 23:00 #255416
by cmorley
Replied by cmorley on topic execv(python): No such file or directory / python working directory
Wait, did you add the compensation component to linuxcnc?
If so where did you add it?
Also qtdragon_hd in 2.9 supports built in gcode ripper and z level compensation.
Are you instead trying 3rd party code?
Could you give more information.
If so where did you add it?
Also qtdragon_hd in 2.9 supports built in gcode ripper and z level compensation.
Are you instead trying 3rd party code?
Could you give more information.
Please Log in or Create an account to join the conversation.
08 Aug 2023 05:55 #277318
by SrLange61
Replied by SrLange61 on topic execv(python): No such file or directory / python working directory
I just did a Debian upgrade and adding the "3" to python fixed it for me.
Thanks
srl
Thanks
srl
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- Configuring LinuxCNC
- Advanced Configuration
- execv(python): No such file or directory / python working directory
Time to create page: 0.145 seconds