issues with cio dio24h board
- patburden
- Offline
- New Member
-
- Posts: 11
- Thank you received: 0
mill-desktop:~$ sudo comp --install pcl720.comp
[sudo] password for mill:
Traceback (most recent call last):
File "/usr/bin/comp", line 1297, in <module>
main()
File "/usr/bin/comp", line 1266, in main
process(f, mode, outfile)
File "/usr/bin/comp", line 1140, in process
a, b = parse(filename)
File "/usr/bin/comp", line 386, in parse
f = open(filename).read()
IOError: [Errno 2] No such file or directory: 'pcl720.comp'
it kinda ran "home to momma" and read a file called comp
so I tried the .c and got what you see above
Please Log in or Create an account to join the conversation.
- btvpimill
- Offline
- Elite Member
-
- Posts: 213
- Thank you received: 3
Please Log in or Create an account to join the conversation.
- BigJohnT
-
- Offline
- Administrator
-
- Posts: 7000
- Thank you received: 1176
John
Please Log in or Create an account to join the conversation.
- patburden
- Offline
- New Member
-
- Posts: 11
- Thank you received: 0
I find it easiest to run the install command from the directory where the comp file is. Have you tried that? Or I guess include the entire path with the filename
ok tried this and got something different
mill-desktop:~$ sudo comp --install /usr/bin/pcl720.comp
Traceback (most recent call last):
File "/usr/bin/comp", line 1297, in <module>
main()
File "/usr/bin/comp", line 1266, in main
process(f, mode, outfile)
File "/usr/bin/comp", line 1140, in process
a, b = parse(filename)
File "/usr/bin/comp", line 387, in parse
a, b = f.split("\n;;\n", 1)
ValueError: need more than 1 value to unpack
I think it is still reading the same file
Please Log in or Create an account to join the conversation.
- btvpimill
- Offline
- Elite Member
-
- Posts: 213
- Thank you received: 3
@John, I think he is using the file Andy posted for him.
Please Log in or Create an account to join the conversation.
- BigJohnT
-
- Offline
- Administrator
-
- Posts: 7000
- Thank you received: 1176
John
Please Log in or Create an account to join the conversation.
- patburden
- Offline
- New Member
-
- Posts: 11
- Thank you received: 0
Sorry Pat, I now become an observer. my bag of knowledge is all used up
Thanks anyway this is a real learning experience for me.
THANKS
I think I better spend a few hours learning basic linux commands
Please Log in or Create an account to join the conversation.
- BigJohnT
-
- Offline
- Administrator
-
- Posts: 7000
- Thank you received: 1176
www.linuxcnc.org/docview/html/hal_comp.html
John
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
- Posts: 23383
- Thank you received: 4970
I have attached the current version of the driver (which I pushed to the main branch a few days ago, so I hope it works)
Please Log in or Create an account to join the conversation.
- patburden
- Offline
- New Member
-
- Posts: 11
- Thank you received: 0
Can you copy one of the example comps from the manual to a directory and get that to compile?
www.linuxcnc.org/docview/html/hal_comp.html
John
I will read thru all this and give it a try
I read in another thread that I should add it to my Hal file
I haven't quite figured that out yet but I am still reading and making progress
Thanks for the help.
Please Log in or Create an account to join the conversation.