newbynobi wrote: Please start LinuxCNC from a terminal and post the output.
I have four installation of Linux OS :
1. Xubuntu 18.04.4
2. Mint 19.3
3. Ubuntu 18.04 base system made by debootstrap
4. Ubuntu remaked from Linux Slax upgraded to Ubuntu 18.04
I have compilled Linuxcnc to deb packages on Xubuntu 18.04.4 with installed build dependiences.
I have installed Linuxcnc from those packages on fresh installed Xubuntu 18.04.4, and on fresh installed Mint 19.3, and all work, Gmoccapy too.
I have installed Linuxcnc from those packages on Ubuntu 18.04 made by debootstrap, and on Ubuntu remaked from Slax, and all work except Gmoccapy.
At this moment i have acces only to remaked Slax.
Terminal output is :
Code:
root@mini:~# linuxcnc
LINUXCNC - 2.9.0~pre0
Machine configuration directory is '/usr/share/doc/linuxcnc/examples/sample-configs/sim/gmoccapy'
Machine configuration file is 'gmoccapy.ini'
Starting LinuxCNC...
Found file(REL): ./core_sim.hal
Running with fallback_uid. getuid()=0 geteuid()=0
Note: Using POSIX realtime
Running with fallback_uid. getuid()=0 geteuid()=0
Running with fallback_uid. getuid()=0 geteuid()=0
Running with fallback_uid. getuid()=0 geteuid()=0
Found file(REL): ./spindle_sim.hal
Running with fallback_uid. getuid()=0 geteuid()=0
Running with fallback_uid. getuid()=0 geteuid()=0
Running with fallback_uid. getuid()=0 geteuid()=0
Running with fallback_uid. getuid()=0 geteuid()=0
Running with fallback_uid. getuid()=0 geteuid()=0
Running with fallback_uid. getuid()=0 geteuid()=0
Found file(REL): ./simulated_home.hal
Running with fallback_uid. getuid()=0 geteuid()=0
Running with fallback_uid. getuid()=0 geteuid()=0
(0, ' = ', '/usr/bin/gmoccapy')
(1, ' = ', '-ini')
(2, ' = ', '/usr/share/doc/linuxcnc/examples/sample-configs/sim/gmoccapy/gmoccapy.ini')
Entry = trivkins
Entry = coordinates=xyz
found the following coordinates xyz
**** GMOCCAPY GETINIINFO ****
Number of joints = 3
3 COORDINATES found = xyz
joint 0 = axis x
joint 1 = axis y
joint 2 = axis z
{0: 'x', 1: 'y', 2: 'z'}
('found kinematics module', ['trivkins', 'coordinates=xyz'])
**** GMOCCAPY GETINIINFO ****
[KINS] KINEMATICS is trivkins
Will use mode to switch between Joints and World mode
hopefully supported by the used <<trivkins>> module
**** GMOCCAPY GETINIINFO ****
No MAX_RAPID_OVERRIDE entry found in [DISPLAY] of INI file
Default settings 100 % applied!
**** GMOCCAPY GETINIINFO ****
Preference file path: /usr/share/doc/linuxcnc/examples/sample-configs/sim/gmoccapy/gmoccapy.pref
**** GMOCCAPY INFO ****
**** Brak poprawnej konfiguracji czujnika narzędzia w pliku INI ****
**** pomiar narzędzia wyłączony ****
**** GMOCCAPY INFO ****
**** Entering make_DRO
axis_list = ['x', 'y', 'z']
**** GMOCCAPY INFO ****
**** Entering make ref axis button
('Filepath = ', '/usr/share/gmoccapy/images/ref_all.png')
('Filepath = ', '/usr/share/gmoccapy/images/ref_x.png')
('Filepath = ', '/usr/share/gmoccapy/images/ref_y.png')
('Filepath = ', '/usr/share/gmoccapy/images/ref_z.png')
('Filepath = ', '/usr/share/gmoccapy/images/unhome.png')
**** GMOCCAPY INFO ****
**** Entering make touch button
**** GMOCCAPY INFO ****
**** Entering make jog increments
**** GMOCCAPY INFO ****
**** Entering make jog button
**** GMOCCAPY INFO ****
**** Entering make macro button
found 15 Macros
Macro go_to_position x-pos y-pos z-pos has image link
Image = /usr/share/doc/linuxcnc/examples/sample-configs/sim/gmoccapy/macros/images/goto_x_y_z.png
Macro i_am_lost has image link
Image = /usr/share/doc/linuxcnc/examples/sample-configs/sim/gmoccapy/macros/images/i_am_lost.png
Macro macro_8 has image link
Image = /usr/share/doc/linuxcnc/examples/sample-configs/sim/gmoccapy/macros/images/macro_8.png
**** GMOCCAPY INFO ****
**** arrange DRO
3
**** GMOCCAPY INFO ****
**** Place in table
**** GMOCCAPY INFO ****
**** get DRO order
**** GMOCCAPY INFO ****
**** arrange JOG button
less than 6 axis
/usr/bin/gmoccapy:325: GtkWarning: Invalid icon size 48
self.widgets.window1.show()
task: main loop took 0.101590 seconds
**** GMOCCAPY INFO ****
**** Invalid embedded tab configuration ****
**** Panele nie zostaną dodane ****
**** GMOCCAPY INFO ****
**** dźwięk jest niedostępny ****
**** czy PYGST nie jest zainstalowane ? ****
**** is python-gstX.XX installed? ****
**** GMOCCAPY INFO ****
**** Entering init gremlin ****
Kinematics type changed
Jog Pin Changed
x+
Jog Button released = x+
Jog Pin Changed
x-
Jog Button released = x-
Jog Pin Changed
y+
Jog Button released = y+
Jog Pin Changed
y-
Jog Button released = y-
Jog Pin Changed
z+
Jog Button released = z+
Jog Pin Changed
z-
Jog Button released = z-
Shutting down and cleaning up LinuxCNC...
task: 5419 cycles, min=0.000105, max=0.101590, avg=0.001109, 1 latency excursions (> 10x expected cycle time of 0.001000s)
Running with fallback_uid. getuid()=0 geteuid()=0
Running with fallback_uid. getuid()=0 geteuid()=0
Running with fallback_uid. getuid()=0 geteuid()=0
Running with fallback_uid. getuid()=0 geteuid()=0
Running with fallback_uid. getuid()=0 geteuid()=0
Running with fallback_uid. getuid()=0 geteuid()=0
Running with fallback_uid. getuid()=0 geteuid()=0
Running with fallback_uid. getuid()=0 geteuid()=0
Running with fallback_uid. getuid()=0 geteuid()=0
Running with fallback_uid. getuid()=0 geteuid()=0
Running with fallback_uid. getuid()=0 geteuid()=0
Running with fallback_uid. getuid()=0 geteuid()=0
Running with fallback_uid. getuid()=0 geteuid()=0
Note: Using POSIX realtime
LinuxCNC terminated with an error. You can find more information in the log:
/root/linuxcnc_debug.txt
and
/root/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
root@mini:~#
/root/mini/root/linuxcnc_debug.txt :
Code:
1677
1717
Stopping realtime threads
Unloading hal components
/root/mini/root/linuxcnc_print.txt :
Code:
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
INIFILE=/usr/share/doc/linuxcnc/examples/sample-configs/sim/gmoccapy/gmoccapy.in
i
VERSION=1.1
PARAMETER_FILE=sim.var
TASK=milltask
HALUI=halui
DISPLAY=gmoccapy
COORDINATES=X Y Z
KINEMATICS=trivkins coordinates=xyz
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Starting HAL User Interface program: halui
Starting TASK program: milltask
Starting DISPLAY program: gmoccapy
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Code:
root@mini:~# apt-get install python-gst-1.0
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
python-gst-1.0 is already the newest version (1.14.0-1).
0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 0 nieaktualizowanych.
root@mini:~#