Configuring a Floating Head
- Aldenflorio
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 389
- Thank you received: 15
16 Sep 2020 07:42 #182404
by Aldenflorio
Replied by Aldenflorio on topic Configuring a Floating Head
Thank you
Please Log in or Create an account to join the conversation.
- Aldenflorio
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 389
- Thank you received: 15
20 Sep 2020 23:44 - 20 Sep 2020 23:48 #182990
by Aldenflorio
Replied by Aldenflorio on topic Configuring a Floating Head
Hello, I'm back again with some more issues. we got the configuration working and everything,last time. and i finally got the design program all worked out and the g-code worked out. So naturally its testing time. Today was going to be the firs cut but everything would go right until the torch had to fire. Which it wouldnt do, so i thought about it a bit and realized i put the torch fire on the wrong output when setting up plsamc. so i went back to reconfigure it, well i typed it wrong and now it wont let me reconfigure. im getting these error messages
When opening Linuxcnc:
(i was going to copy and paste it here but for some reason i cant copy or paste erro messages from linux so there are picture linked) imgur.com/a/gpia5al
When i try to edit the plasmac again:
When opening Linuxcnc:
(i was going to copy and paste it here but for some reason i cant copy or paste erro messages from linux so there are picture linked) imgur.com/a/gpia5al
When i try to edit the plasmac again:
Traceback (most recent call last):
File "linuxcnc/configs/plasma_cutter/configurator.py", line 517, in on_create_clicked
self.reconfigure()
File "linuxcnc/configs/plasma_cutter/configurator.py", line 1801, in reconfigure
shutil.copy(newConex, oldConex)
File "/usr/lib/python2.7/shutil.py", line 119, in copy
copyfile(src, dst)
File "/usr/lib/python2.7/shutil.py", line 83, in copyfile
with open(dst, 'wb') as fdst:
IOError: [Errno 13] Permission denied: '/home/user/linuxcnc/configs/plasma_cutter/plasma_cutter_connections.hal.bakr'
Last edit: 20 Sep 2020 23:48 by Aldenflorio.
Please Log in or Create an account to join the conversation.
21 Sep 2020 00:01 #182991
by phillc54
Replied by phillc54 on topic Configuring a Floating Head
That mentions a permissions issue, did you do something as sudo.
Please Log in or Create an account to join the conversation.
- Aldenflorio
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 389
- Thank you received: 15
21 Sep 2020 00:16 #182995
by Aldenflorio
Replied by Aldenflorio on topic Configuring a Floating Head
Yeah, it gives me that message when I press reconfigure on the plasmac config panel. i tried opening up the plasmac config panel with sudo before it like this, but get this message when i press reconfigure:
user@debian:~$ sudo python linuxcnc/configs/plasma_cutter/configurator.py
linuxcnc/configs/plasma_cutter/configurator.py:2442: GtkWarning: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.B4DJR0': No such file or directory
gtk.main()
linuxcnc/configs/plasma_cutter/configurator.py:2442: GtkWarning: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory
gtk.main()
Please Log in or Create an account to join the conversation.
21 Sep 2020 00:50 #183002
by phillc54
Replied by phillc54 on topic Configuring a Floating Head
That is because it is looking for the home directory for the root user and it does not exist.
You do NOT need to be the root user to create or modify any LinuxCNC configuration. Doing so WILL cause issues.
Run this as the normal user:
Then run the Configurator as a normal user:
You do NOT need to be the root user to create or modify any LinuxCNC configuration. Doing so WILL cause issues.
Run this as the normal user:
sudo chown -R user:user ~/linuxcnc/configs/
Then run the Configurator as a normal user:
python ~/linuxcnc/configs/plasma_cutter/configurator.py
Please Log in or Create an account to join the conversation.
- Aldenflorio
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 389
- Thank you received: 15
21 Sep 2020 01:02 #183007
by Aldenflorio
Replied by Aldenflorio on topic Configuring a Floating Head
Ok it seems to have let me reconfigure the plasmac then. But I get the same error message when opening linuxcnc. The only thing that’s different is the debugging information which is the following:
Note: Using POXIS realtime
Iptable: No chain/target/match by that name.
1468
Stopping realtime threads
Unloading Hal components
Note: Using POSIX realtime
Note: Using POXIS realtime
Iptable: No chain/target/match by that name.
1468
Stopping realtime threads
Unloading Hal components
Note: Using POSIX realtime
Please Log in or Create an account to join the conversation.
21 Sep 2020 01:34 #183014
by phillc54
Replied by phillc54 on topic Configuring a Floating Head
Can you post the complete terminal output from when you try to run linuxcnc
Please Log in or Create an account to join the conversation.
- Aldenflorio
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 389
- Thank you received: 15
21 Sep 2020 02:02 - 21 Sep 2020 02:02 #183019
by Aldenflorio
Replied by Aldenflorio on topic Configuring a Floating Head
It won’t let me copy and paste. So I have to do picture. Sorry I open it up through a desktop shortcut
imgur.com/a/vQktDeh
imgur.com/a/vQktDeh
Last edit: 21 Sep 2020 02:02 by Aldenflorio.
Please Log in or Create an account to join the conversation.
21 Sep 2020 02:11 - 21 Sep 2020 02:23 #183023
by phillc54
Replied by phillc54 on topic Configuring a Floating Head
In the first picture:
Try:
You can directly edit the_plasma_cutter_connection.hal file to fix it
Pin hm2_7i96.gpio.009.in does not exist
Try:
hm2_7i96.0.gpio.009.in
You can directly edit the_plasma_cutter_connection.hal file to fix it
Last edit: 21 Sep 2020 02:23 by phillc54. Reason: typo
Please Log in or Create an account to join the conversation.
- Aldenflorio
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 389
- Thank you received: 15
21 Sep 2020 02:28 #183027
by Aldenflorio
Replied by Aldenflorio on topic Configuring a Floating Head
I edited it to where the line reads this:
net plasmac:arc-ok-in hm2_7i96.0.gpio.009.in => db_arc-ok.in
I still get an error message. I’ll have to do pictures again. Could a problem be if I have more then one machine config?
imgur.com/a/n2ljnko
net plasmac:arc-ok-in hm2_7i96.0.gpio.009.in => db_arc-ok.in
I still get an error message. I’ll have to do pictures again. Could a problem be if I have more then one machine config?
imgur.com/a/n2ljnko
Please Log in or Create an account to join the conversation.
Time to create page: 0.102 seconds