- Posts: 243
- Thank you received: 32
Another plasma component...
- JTknives
- Offline
- Elite Member
-
Less
More
7 years 6 months ago - 7 years 6 months ago #130813
by JTknives
Replied by JTknives on topic Another plasma component...
ok here is how im doing sofar
after that i did everything else and got this.
When it opens I see my previous saved configurations but no plasmac in the sample configurations. what do I need to do now? sorry i am such a bother, this is such a new environment for me.
edit:
i just selected somthing from the sim list, the qtvcp tab. and everything closed out with this error.
Code:
jtknives@plasma:~$ git clone https://github.com/phillc54/linuxcnc.git ~/plasmac
Cloning into '/home/jtknives/plasmac'...
remote: Enumerating objects: 378, done.
remote: Counting objects: 100% (378/378), done.
remote: Compressing objects: 100% (195/195), done.
remote: Total 212919 (delta 285), reused 260 (delta 183), pack-reused 212541
Receiving objects: 100% (212919/212919), 122.27 MiB | 232.00 KiB/s, done.
Resolving deltas: 100% (162399/162399), done.
jtknives@plasma:~$ cd plasmac
jtknives@plasma:~/plasmac$ git remote add upstream https://github.com/linuxcnc/linuxcnc.git
jtknives@plasma:~/plasmac$
after that i did everything else and got this.
Code:
jtknives@plasma:~$ . plasmac/scripts/rip-environment
jtknives@plasma:~$ linuxcnc
LINUXCNC - 2.8.0~pre1
When it opens I see my previous saved configurations but no plasmac in the sample configurations. what do I need to do now? sorry i am such a bother, this is such a new environment for me.
edit:
i just selected somthing from the sim list, the qtvcp tab. and everything closed out with this error.
Code:
jtknives@plasma:~$ linuxcnc
LINUXCNC - 2.8.0~pre1
Machine configuration directory is '/home/jtknives/plasmac/configs/sim/axis/qtvcp'
Machine configuration file is 'qtvcp_tab.ini'
Starting LinuxCNC...
Found file(LIB): /home/jtknives/plasmac/lib/hallib/basic_sim.tcl
setup_kins: cmd=loadrt trivkins
Note: Using POSIX realtime
link (updating variable file): No such file or directory
note: MAXV max: 1.200 units/sec 72.000 units/min
note: LJOG max: 1.200 units/sec 72.000 units/min
note: LJOG default: 0.250 units/sec 15.000 units/min
note: jog_order='XYZ'
note: jog_invert=set([])
Traceback (most recent call last):
File "/home/jtknives/plasmac/bin/qtvcp", line 9, in <module>
from PyQt5 import QtWidgets, QtCore
ImportError: No module named PyQt5
<commandline>:0: waitpid failed qtvcp qtvcp_embed
<commandline>:0: qtvcp exited without becoming ready
Embeded tab command "halcmd loadusr -Wn qtvcp_embed qtvcp -d -c qtvcp_embed -x 50332080 cam_align" exited with error: 1
Shutting down and cleaning up LinuxCNC...
task: 1279 cycles, min=0.000023, max=0.005109, avg=0.001070, 0 latency excursions (> 10x expected cycle time of 0.001000s)
Note: Using POSIX realtime
LinuxCNC terminated with an error. You can find more information in the log:
/home/jtknives/linuxcnc_debug.txt
and
/home/jtknives/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
jtknives@plasma:~$
Last edit: 7 years 6 months ago by JTknives.
Please Log in or Create an account to join the conversation.
- rodw
- Offline
- Platinum Member
-
Less
More
- Posts: 12170
- Thank you received: 4153
7 years 6 months ago #130814
by rodw
Yes, thats what I saw too. When I did this, I ended up deleting the complete linuxcnc-dev folder and starting downloading source from scratch. (but in this case its the plasmac folder you need to wipe out).I think you should be able to run su which will log you into the root account and then delete the files and folders so you have the permissions to allow this. YO might need to do some research to find out the command to delete a folder, all of its contents and the folder tree.
Replied by rodw on topic Another plasma component...
tommylight wrote: It looks like you ran the make with sudo the first time, you have twice in the log files "permission denied".
I do not know how to fix that, maybe someone else will chime in.
Yes, thats what I saw too. When I did this, I ended up deleting the complete linuxcnc-dev folder and starting downloading source from scratch. (but in this case its the plasmac folder you need to wipe out).I think you should be able to run su which will log you into the root account and then delete the files and folders so you have the permissions to allow this. YO might need to do some research to find out the command to delete a folder, all of its contents and the folder tree.
Please Log in or Create an account to join the conversation.
- phillc54
- Offline
- Platinum Member
-
Less
More
- Posts: 5711
- Thank you received: 2100
7 years 6 months ago #130815
by phillc54
Replied by phillc54 on topic Another plasma component...
If you see the qtvcp sim then everything should be ok, that normally won't run because pyqt5 is not installed. Don't worry about that at the moment.
You should see axis and gmoccapy at the same level as qtvcp, then select either then go down to find plasmac.
Cheers. Phill
You should see axis and gmoccapy at the same level as qtvcp, then select either then go down to find plasmac.
Cheers. Phill
Please Log in or Create an account to join the conversation.
- islander261
- Offline
- Platinum Member
-
Less
More
- Posts: 757
- Thank you received: 216
7 years 6 months ago #130816
by islander261
Replied by islander261 on topic Another plasma component...
Ok, in a terminal after setting your RIP environment ( . plasmac/scripts/rip-environment) run the env command and post the output. This is quickly heading towards a linux configuration/permissions problem which is out of my range of comfort. Hopefully one of the linux admins around will chime in. If every step I gave executed without an error then all should work. You are running everything as a user? If you setup your system and login as the root user I have no idea how the file permissions will turn out. The part about not being able to delete a directory in your home user space is troubling while being logged in as the user.
John
John
Please Log in or Create an account to join the conversation.
- phillc54
- Offline
- Platinum Member
-
Less
More
- Posts: 5711
- Thank you received: 2100
7 years 6 months ago - 7 years 6 months ago #130817
by phillc54
Replied by phillc54 on topic Another plasma component...
Last edit: 7 years 6 months ago by phillc54.
Please Log in or Create an account to join the conversation.
- islander261
- Offline
- Platinum Member
-
Less
More
- Posts: 757
- Thank you received: 216
7 years 6 months ago #130818
by islander261
Replied by islander261 on topic Another plasma component...
Phill
I am up to my backside in wading though getting a tax return finished. I will not get to any testing before Monday afternoon my time (Tuesday morning early for you) at the earliest.
John
I am up to my backside in wading though getting a tax return finished. I will not get to any testing before Monday afternoon my time (Tuesday morning early for you) at the earliest.
John
Please Log in or Create an account to join the conversation.
Moderators: snowgoer540
Time to create page: 0.370 seconds