Error when trying to run LinuxCNC with Axis/Glade VCP
I downloaded linuxCNC from the Github repository . I followed the instructions in the install file located at /home/pi/linuxcnc-dev/docs.
From the top level directory, switch to the source directory:
cd src
In the source directory, build LinuxCNC:
./autogen.sh (this builds the configure script)
./configure
make clean
make
sudo make setuid
to run the software go back to the top level directory, and issue:
source scripts/rip-environment
linuxcnc
When I run: linuxcnc, it boots the configuration screen. Here, I select Axis, it begins to boot and then I get this error in my terminal:
(gladevcp:13743): libglade-WARNING **: could not find glade file 'example.glade'
**** GLADE VCP ERROR: With xml file: example.glade : could not create GladeXML object
<commandline>:0: gladevcp exited without becoming ready
Embeded tab command "halcmd loadusr -Wn gladevcp gladevcp -c gladevcp -x 35651726 -u handler.py example.glade" exited with error: 1
Shutting down and cleaning up LinuxCNC...
task: 3322 cycles, min=0.000031, max=0.033231, avg=0.001088, 1 latency excursions (> 10x expected cycle time of 0.001000s)
Note: Using POSIX non-realtime
LinuxCNC terminated with an error. You can find more information in the log:
/home/pi/linuxcnc_debug.txt
and
/home/pi/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
I ran linuxCNC yesterday on my Raspberry Pi and it worked fine with Axis, this morning when I ran the "linuxcnc" command to run LinuxCNC it said command not found so I recompiled with "make clean", "make", "sudo make setuid", and then ran ". ./scripts/rip-environment" in /home/pi/linuxcnc-dev/.
Could someone help me fix my error please? as I have not been able to find a solution anywhere else. Thank you.
Please Log in or Create an account to join the conversation.
(There are ways round this, for example making a launcher linked to the linuxcnc-dev/scripts/linuxcnc script, or creating and installing debs, but for the moment it is probably better to stick to the problem at hand).
One thing that I do see is that you are not running with a realtime kernel
Note: Using POSIX non-realtime
The error you see is due to a file that seems to be referenced by the config you are running but which isn't in your path. Which config did you choose?
It is a bit of a concern that one of the demo configs appears to not work, but I don't see that file referenced in sim/axis/axis or sim/axis/axis_mm.
Please Log in or Create an account to join the conversation.
I have ran the script in the same shell as the linuxcnc command.If you have complied from source then you will need to always run the . ./scripts/rip-environment script in the same shell as you run the "linuxcnc" command from.
I'm not running a real-time kernel at the moment as I do not need to run hardware, I am just experimenting with changing the GUI.One thing that I do see is that you are not running with a realtime kernel
I choose to run Axis (/linuxcnc-dev/configs/sim/axis)The error you see is due to a file that seems to be referenced by the config you are running but which isn't in your path. Which config did you choose?
Please Log in or Create an account to join the conversation.
The sim/axis/ folder contains a number of possible configs, and I am curious which one you chose that caused the error.
Though you do say that you are experimenting with GUIs, so perhaps the missing glade file is one of your own?
Please Log in or Create an account to join the conversation.
I have not yet created any glade files for use with LinuxCNC as I am having trouble running it on my Raspberry Pi, as you can see.Though you do say that you are experimenting with GUIs, so perhaps the missing glade file is one of your own?
Please Log in or Create an account to join the conversation.
The error report says:
"Embeded tab command "halcmd loadusr -Wn gladevcp gladevcp -c gladevcp -x 35651726 -u handler.py example.glade" exited with error: 1"
But I don't see such a command in:
github.com/LinuxCNC/linuxcnc/blob/master...gs/sim/axis/axis.ini
Please Log in or Create an account to join the conversation.
Sorry for the hassle, thank you.
Please Log in or Create an account to join the conversation.