My custom designed GUI

More
10 years 5 months ago #75198 by BigJohnT
Replied by BigJohnT on topic My custom designed GUI
My SWAG is you have a permission problem with the craftsmancnc.hal file. My second SWAG is somehow it is "owned" by root and not you.
Code:
craftsmancnc.hal:146: execv(craftsman_toolchange): Permission denied

Right click on the file and look at the permissions tab to see who the owner is.

JT
The following user(s) said Thank You: aer73

Please Log in or Create an account to join the conversation.

More
10 years 5 months ago #75203 by aer73
Replied by aer73 on topic My custom designed GUI
Hi BigJohnT.

I check that you say, iḿ the administrator and have Read/Write permissions in all.
Dont know what more to do. :(
Many thanks otherwise.

Kindly regards.

Please Log in or Create an account to join the conversation.

More
10 years 5 months ago #75275 by cncbasher
Replied by cncbasher on topic My custom designed GUI
make sure the file have execuitable rights in properties i.e can run as a program

Please Log in or Create an account to join the conversation.

More
10 years 4 months ago #75638 by aer73
Replied by aer73 on topic My custom designed GUI
Many thanks Cncbasher.
I try that you say but no works. :(

Regards.

Please Log in or Create an account to join the conversation.

More
10 years 4 months ago #75640 by cncbasher
Replied by cncbasher on topic My custom designed GUI
the error is
Traceback (most recent call last):
File "/home/sarah/linuxcnc/configs/craftsmancnc/bin/craftsman_toolchange", line 10, in <module>
import globals
ImportError: No module named globals
./craftsmancnc.hal:146: waitpid failed craftsman_toolchange craftsman_toolchange
./craftsmancnc.hal:146: craftsman_toolchange exited without becoming ready

i'll take a look later today
The following user(s) said Thank You: aer73

Please Log in or Create an account to join the conversation.

More
10 years 4 months ago #75642 by andypugh
Replied by andypugh on topic My custom designed GUI
My first guess would be that the filename and the component name don't match.

A .comp file needs to have a component name in HAL that matches the file name.
The following user(s) said Thank You: aer73

Please Log in or Create an account to join the conversation.

Time to create page: 0.181 seconds
Powered by Kunena Forum